

def save_filter_results(name, data, result):
    results = read_filter_results()
    if (name not in results):
        results[name] = []
    result[name].append({
        'data': data,
        'result': result,
    })
    open(filter_results, 'w').write(json.dumps(results))

dataset/ETHPy150Open marshall/logcat-color/test/common.py save_filter_results/VarMisuse@39/45 `results`->`result`