

def processAnswer(self, resource, targets, index_winner=0):
    q = targets
    q.remove(index_winner)
    q.insert(0, index_winner)
    resource.append_list('S', q)
    daemon_args_dict = {
        'task': '__update_sufficient_statistics',
        'args': {
            
        },
    }
    resource.daemonProcess(daemon_args_dict, time_limit=1)
    return True

dataset/ETHPy150Open nextml/NEXT/next/apps/TupleBanditsPureExploration/algs/RandomSampling/RandomSampling.py RandomSampling.processAnswer/original