

def initExp(self, resource, n, k, failure_probability, params):
    running_wins_vec = numpy.zeros(n).tolist()
    num_pulls_vec = numpy.zeros(n).tolist()
    resource.set('n', n)
    resource.set('k', k)
    resource.set('failure_probability', k)
    resource.set('running_wins_vec', running_wins_vec)
    resource.set('num_pulls_vec', num_pulls_vec)
    resource.set('total_pulls', 0)
    return True

dataset/ETHPy150Open nextml/NEXT/next/apps/TupleBanditsPureExploration/algs/RandomSampling/RandomSampling.py RandomSampling.initExp/VarMisuse@70/93 `failure_probability`->`k`