def METHOD_NAME(event):
    if test_id not in repo:
        print(f"REJECTED:  {result_path.name}")
    else:
        msg = f"DUPLICATE: {result_path.name} -> {expected_path.name} (ignored)"
        print(msg)
    result_path.unlink()
    diff_fname.unlink()
    plt.close()