def METHOD_NAME(reset_test_data, controls_open_data_columns):
    controls = extract_controls_open_data.run()
    assert list(controls) == controls_open_data_columns
    assert controls["infraction_rate"].min() >= -0.0001
    assert controls["infraction_rate"].max() <= 1.0001
    expected_controls_by_type = pd.Series(
        {"LAND_CONTROL": 15, "SEA_CONTROL": 12}, name="number_controls"
    )
    expected_controls_by_type.index.name = "control_type"
    controls_by_type = controls.groupby("control_type")["number_controls"].sum()
    pd.testing.assert_series_equal(controls_by_type, expected_controls_by_type)
    controls_by_segment = controls.groupby("segment")["number_controls"].sum()
    expected_controls_by_segment = pd.Series(
        {
            "FR_SCE": 2,
            "Hors segment": 17,
            "MED05": 1,
            "MED07": 1,
            "NS13": 1,
            "NWW01/02": 1,
            "NWW08": 1,
            "PEL05": 1,
            "SWW01/02/03": 2,
        },
        name="number_controls",
    )
    expected_controls_by_segment.index.name = "segment"
    pd.testing.assert_series_equal(controls_by_segment, expected_controls_by_segment)
    controls_by_facade = controls.groupby("facade")["number_controls"].sum()
    expected_controls_by_facade = pd.Series(
        {"Hors façade": 7, "MED": 2, "MEMN": 6, "NAMO": 4, "SA": 8},
        name="number_controls",
    )
    expected_controls_by_facade.index.name = "facade"
    pd.testing.assert_series_equal(controls_by_facade, expected_controls_by_facade)