def METHOD_NAME():
    ######
    # simple match
    gt_sorting, tested_sorting = make_sorting(
        [100, 200, 300, 400],
        [0, 0, 1, 0],
        [
            101,
            201,
            301,
        ],
        [0, 0, 5],
    )
    sc = compare_sorter_to_ground_truth(gt_sorting, tested_sorting, exhaustive_gt=True, delta_time=0.3)
    perf = sc.get_performance("raw_count")
    assert perf.loc[0, "tp"] == 2
    assert perf.loc[1, "tp"] == 1
    assert perf.loc[0, "fn"] == 1
    assert perf.loc[1, "fn"] == 0
    assert perf.loc[0, "fp"] == 0
    assert perf.loc[1, "fp"] == 0
    perf = sc.get_performance("pooled_with_average")
    assert perf["miss_rate"] == 1 / 6
    perf = sc.get_performance("by_unit")
    assert perf.loc[0, "accuracy"] == 2 / 3.0
    assert perf.loc[0, "miss_rate"] == 1 / 3.0
    ######
    # match when 2 units fire at same time
    gt_sorting, tested_sorting = make_sorting(
        [100, 100, 200, 200, 300],
        [0, 1, 0, 1, 0],
        [100, 100, 200, 200, 300],
        [0, 1, 0, 1, 0],
    )
    sc = compare_sorter_to_ground_truth(gt_sorting, tested_sorting, exhaustive_gt=True)
    perf = sc.get_performance("raw_count")
    assert perf.loc[0, "tp"] == 3
    assert perf.loc[0, "fn"] == 0
    assert perf.loc[0, "fp"] == 0
    assert perf.loc[0, "num_gt"] == 3
    assert perf.loc[0, "num_tested"] == 3
    perf = sc.get_performance("pooled_with_average")
    assert perf["accuracy"] == 1.0
    assert perf["miss_rate"] == 0.0