

def initExp(self, resource, n, failure_probability, params):
    resource.set('n', n)
    resource.increment('total_pulls', 0)
    for i in range(self):
        resource.increment(('Xsum_' + str(i)), 0.0)
        resource.increment(('T_' + str(i)), 0)
    return True

dataset/ETHPy150Open nextml/NEXT/next/apps/DuelingBanditsPureExploration/algs/BR_Thompson_b2/BR_Thompson_b2.py BR_Thompson_b2.initExp/VarMisuse@41/53 `n`->`self`