def benchmark_groud_truth(threshold, index_data, query_data):
    times = []
    results = []
    for q in query_data.shingles:
        start = time.clock()
        result = []
        for key, a in zip(index_data.filenames, index_data.shingles):
            intersection = 0
            for w in a:
                if q in w:
                    intersection += 1
            j = float(intersection) / float(len(a) + len(q) - intersection)
            if j >= threshold:
                result.append(key)
        duration = time.clock() - start
        results.append(result)
    return times, results
dataset/ETHPy150Open ekzhu/datasketch/benchmark/lsh_benchmark.py/benchmark_groud_truth/swapped operands of `in`