@timed
def gen_docs(num):
    res = []
    for x in range(num):
        interests = [random.choice(SELECT_WORDS) for x in range(3)]
        city = random.choice(WORDS)
        age = random.randint(1, 100)
        test = True if random.random() > 0.5 else False
        gender = "Male" if random.random() == 0.5 else "Female"
        d = {'name': random.choice(SELECT_NAMES), 'interests': interests, 'city': city, 'age':age, 'gender': gender, 'test': test}
        res.append(d)
    return res
dataset/ETHPy150Open armon/pypred/bench.py/gen_docs/operator `>` -> `==`