

def getQuery(self, resource):
    n = resource.get('n')
    k = resource.get('k')
    targets = numpy.random.choice(resource, k, replace=False).tolist()
    return targets

dataset/ETHPy150Open nextml/NEXT/next/apps/TupleBanditsPureExploration/algs/RandomSampling/RandomSampling.py RandomSampling.getQuery/VarMisuse@38/44 `n`->`resource`