Datasets:
example_id stringlengths 17 36 | source_record_id stringlengths 12 12 | is_canonical bool 2
classes | has_integrity_error bool 2
classes | quality_status stringclasses 4
values | error_type stringclasses 7
values | affected_field stringclasses 4
values | difficulty stringclasses 4
values | clean_commune_code stringlengths 5 5 | clean_name stringlengths 2 45 | clean_name_with_article stringlengths 2 45 | clean_department_code stringclasses 101
values | clean_region_code stringclasses 18
values | corrupted_commune_code stringlengths 5 5 | corrupted_name stringlengths 2 45 | corrupted_name_with_article stringlengths 2 45 | corrupted_department_code stringclasses 101
values | corrupted_region_code stringclasses 18
values | expected_value stringlengths 2 45 ⌀ | corrupted_value stringlengths 2 45 ⌀ | source_year int16 2.03k 2.03k | generation_seed int32 42 42 | generator_version stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FR-COM-01001-character_swap | FR-COM-01001 | false | true | inconsistent | character_swap | name | medium | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | Abergemnet-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | Abergement-Clémenciat | Abergemnet-Clémenciat | 2,026 | 42 | 2.0.0 |
FR-COM-01001-mismatched_commune_code | FR-COM-01001 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01338 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | 01338 | 2,026 | 42 | 2.0.0 |
FR-COM-01001-mismatched_department | FR-COM-01001 | false | true | inconsistent | mismatched_department | department_code | medium | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 74 | 84 | 01 | 74 | 2,026 | 42 | 2.0.0 |
FR-COM-01001-none | FR-COM-01001 | true | false | canonical | none | none | none | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01001-remove_accents | FR-COM-01001 | false | false | non_canonical | remove_accents | name | easy | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | Abergement-Clemenciat | L'Abergement-Clémenciat | 01 | 84 | Abergement-Clémenciat | Abergement-Clemenciat | 2,026 | 42 | 2.0.0 |
FR-COM-01001-remove_hyphens | FR-COM-01001 | false | false | non_canonical | remove_hyphens | name | easy | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | Abergement Clémenciat | L'Abergement-Clémenciat | 01 | 84 | Abergement-Clémenciat | Abergement Clémenciat | 2,026 | 42 | 2.0.0 |
FR-COM-01001-unknown_commune_code | FR-COM-01001 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01001 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01201 | Abergement-Clémenciat | L'Abergement-Clémenciat | 01 | 84 | 01001 | 01201 | 2,026 | 42 | 2.0.0 |
FR-COM-01002-character_swap | FR-COM-01002 | false | true | inconsistent | character_swap | name | medium | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01002 | Abergemetn-de-Varey | L'Abergement-de-Varey | 01 | 84 | Abergement-de-Varey | Abergemetn-de-Varey | 2,026 | 42 | 2.0.0 |
FR-COM-01002-mismatched_commune_code | FR-COM-01002 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01021 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01002 | 01021 | 2,026 | 42 | 2.0.0 |
FR-COM-01002-mismatched_department | FR-COM-01002 | false | true | inconsistent | mismatched_department | department_code | medium | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 74 | 84 | 01 | 74 | 2,026 | 42 | 2.0.0 |
FR-COM-01002-none | FR-COM-01002 | true | false | canonical | none | none | none | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01002-remove_hyphens | FR-COM-01002 | false | false | non_canonical | remove_hyphens | name | easy | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01002 | Abergement de Varey | L'Abergement-de-Varey | 01 | 84 | Abergement-de-Varey | Abergement de Varey | 2,026 | 42 | 2.0.0 |
FR-COM-01002-unknown_commune_code | FR-COM-01002 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 00002 | Abergement-de-Varey | L'Abergement-de-Varey | 01 | 84 | 01002 | 00002 | 2,026 | 42 | 2.0.0 |
FR-COM-01004-character_swap | FR-COM-01004 | false | true | inconsistent | character_swap | name | medium | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | Amébrieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | Ambérieu-en-Bugey | Amébrieu-en-Bugey | 2,026 | 42 | 2.0.0 |
FR-COM-01004-mismatched_commune_code | FR-COM-01004 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01148 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | 01148 | 2,026 | 42 | 2.0.0 |
FR-COM-01004-mismatched_department | FR-COM-01004 | false | true | inconsistent | mismatched_department | department_code | easy | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 75 | 84 | 01 | 75 | 2,026 | 42 | 2.0.0 |
FR-COM-01004-none | FR-COM-01004 | true | false | canonical | none | none | none | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01004-remove_accents | FR-COM-01004 | false | false | non_canonical | remove_accents | name | easy | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | Amberieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | Ambérieu-en-Bugey | Amberieu-en-Bugey | 2,026 | 42 | 2.0.0 |
FR-COM-01004-remove_hyphens | FR-COM-01004 | false | false | non_canonical | remove_hyphens | name | easy | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | Ambérieu en Bugey | Ambérieu-en-Bugey | 01 | 84 | Ambérieu-en-Bugey | Ambérieu en Bugey | 2,026 | 42 | 2.0.0 |
FR-COM-01004-unknown_commune_code | FR-COM-01004 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01004 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01904 | Ambérieu-en-Bugey | Ambérieu-en-Bugey | 01 | 84 | 01004 | 01904 | 2,026 | 42 | 2.0.0 |
FR-COM-01005-character_swap | FR-COM-01005 | false | true | inconsistent | character_swap | name | medium | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | Ambériuex-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | Ambérieux-en-Dombes | Ambériuex-en-Dombes | 2,026 | 42 | 2.0.0 |
FR-COM-01005-mismatched_commune_code | FR-COM-01005 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01007 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | 01007 | 2,026 | 42 | 2.0.0 |
FR-COM-01005-mismatched_department | FR-COM-01005 | false | true | inconsistent | mismatched_department | department_code | easy | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 84 | 84 | 01 | 84 | 2,026 | 42 | 2.0.0 |
FR-COM-01005-none | FR-COM-01005 | true | false | canonical | none | none | none | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01005-remove_accents | FR-COM-01005 | false | false | non_canonical | remove_accents | name | easy | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | Amberieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | Ambérieux-en-Dombes | Amberieux-en-Dombes | 2,026 | 42 | 2.0.0 |
FR-COM-01005-remove_hyphens | FR-COM-01005 | false | false | non_canonical | remove_hyphens | name | easy | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | Ambérieux en Dombes | Ambérieux-en-Dombes | 01 | 84 | Ambérieux-en-Dombes | Ambérieux en Dombes | 2,026 | 42 | 2.0.0 |
FR-COM-01005-unknown_commune_code | FR-COM-01005 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01005 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01805 | Ambérieux-en-Dombes | Ambérieux-en-Dombes | 01 | 84 | 01005 | 01805 | 2,026 | 42 | 2.0.0 |
FR-COM-01007-character_swap | FR-COM-01007 | false | true | inconsistent | character_swap | name | medium | 01007 | Ambronay | Ambronay | 01 | 84 | 01007 | Abmronay | Ambronay | 01 | 84 | Ambronay | Abmronay | 2,026 | 42 | 2.0.0 |
FR-COM-01007-mismatched_commune_code | FR-COM-01007 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01007 | Ambronay | Ambronay | 01 | 84 | 01159 | Ambronay | Ambronay | 01 | 84 | 01007 | 01159 | 2,026 | 42 | 2.0.0 |
FR-COM-01007-mismatched_department | FR-COM-01007 | false | true | inconsistent | mismatched_department | department_code | medium | 01007 | Ambronay | Ambronay | 01 | 84 | 01007 | Ambronay | Ambronay | 73 | 84 | 01 | 73 | 2,026 | 42 | 2.0.0 |
FR-COM-01007-none | FR-COM-01007 | true | false | canonical | none | none | none | 01007 | Ambronay | Ambronay | 01 | 84 | 01007 | Ambronay | Ambronay | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01007-unknown_commune_code | FR-COM-01007 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01007 | Ambronay | Ambronay | 01 | 84 | 91007 | Ambronay | Ambronay | 01 | 84 | 01007 | 91007 | 2,026 | 42 | 2.0.0 |
FR-COM-01008-character_swap | FR-COM-01008 | false | true | inconsistent | character_swap | name | medium | 01008 | Ambutrix | Ambutrix | 01 | 84 | 01008 | Abmutrix | Ambutrix | 01 | 84 | Ambutrix | Abmutrix | 2,026 | 42 | 2.0.0 |
FR-COM-01008-mismatched_commune_code | FR-COM-01008 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01008 | Ambutrix | Ambutrix | 01 | 84 | 01343 | Ambutrix | Ambutrix | 01 | 84 | 01008 | 01343 | 2,026 | 42 | 2.0.0 |
FR-COM-01008-mismatched_department | FR-COM-01008 | false | true | inconsistent | mismatched_department | department_code | easy | 01008 | Ambutrix | Ambutrix | 01 | 84 | 01008 | Ambutrix | Ambutrix | 87 | 84 | 01 | 87 | 2,026 | 42 | 2.0.0 |
FR-COM-01008-none | FR-COM-01008 | true | false | canonical | none | none | none | 01008 | Ambutrix | Ambutrix | 01 | 84 | 01008 | Ambutrix | Ambutrix | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01008-unknown_commune_code | FR-COM-01008 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01008 | Ambutrix | Ambutrix | 01 | 84 | 01048 | Ambutrix | Ambutrix | 01 | 84 | 01008 | 01048 | 2,026 | 42 | 2.0.0 |
FR-COM-01009-character_swap | FR-COM-01009 | false | true | inconsistent | character_swap | name | medium | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01009 | Andert-te-Condon | Andert-et-Condon | 01 | 84 | Andert-et-Condon | Andert-te-Condon | 2,026 | 42 | 2.0.0 |
FR-COM-01009-mismatched_commune_code | FR-COM-01009 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01260 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01009 | 01260 | 2,026 | 42 | 2.0.0 |
FR-COM-01009-mismatched_department | FR-COM-01009 | false | true | inconsistent | mismatched_department | department_code | medium | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01009 | Andert-et-Condon | Andert-et-Condon | 42 | 84 | 01 | 42 | 2,026 | 42 | 2.0.0 |
FR-COM-01009-none | FR-COM-01009 | true | false | canonical | none | none | none | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01009-remove_hyphens | FR-COM-01009 | false | false | non_canonical | remove_hyphens | name | easy | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01009 | Andert et Condon | Andert-et-Condon | 01 | 84 | Andert-et-Condon | Andert et Condon | 2,026 | 42 | 2.0.0 |
FR-COM-01009-unknown_commune_code | FR-COM-01009 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01009 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01609 | Andert-et-Condon | Andert-et-Condon | 01 | 84 | 01009 | 01609 | 2,026 | 42 | 2.0.0 |
FR-COM-01012-character_swap | FR-COM-01012 | false | true | inconsistent | character_swap | name | medium | 01012 | Aranc | Aranc | 01 | 84 | 01012 | Aracn | Aranc | 01 | 84 | Aranc | Aracn | 2,026 | 42 | 2.0.0 |
FR-COM-01012-mismatched_commune_code | FR-COM-01012 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01012 | Aranc | Aranc | 01 | 84 | 01138 | Aranc | Aranc | 01 | 84 | 01012 | 01138 | 2,026 | 42 | 2.0.0 |
FR-COM-01012-mismatched_department | FR-COM-01012 | false | true | inconsistent | mismatched_department | department_code | medium | 01012 | Aranc | Aranc | 01 | 84 | 01012 | Aranc | Aranc | 73 | 84 | 01 | 73 | 2,026 | 42 | 2.0.0 |
FR-COM-01012-none | FR-COM-01012 | true | false | canonical | none | none | none | 01012 | Aranc | Aranc | 01 | 84 | 01012 | Aranc | Aranc | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01012-unknown_commune_code | FR-COM-01012 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01012 | Aranc | Aranc | 01 | 84 | 01018 | Aranc | Aranc | 01 | 84 | 01012 | 01018 | 2,026 | 42 | 2.0.0 |
FR-COM-01013-character_swap | FR-COM-01013 | false | true | inconsistent | character_swap | name | medium | 01013 | Arandas | Arandas | 01 | 84 | 01013 | Arnadas | Arandas | 01 | 84 | Arandas | Arnadas | 2,026 | 42 | 2.0.0 |
FR-COM-01013-mismatched_commune_code | FR-COM-01013 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01013 | Arandas | Arandas | 01 | 84 | 01074 | Arandas | Arandas | 01 | 84 | 01013 | 01074 | 2,026 | 42 | 2.0.0 |
FR-COM-01013-mismatched_department | FR-COM-01013 | false | true | inconsistent | mismatched_department | department_code | easy | 01013 | Arandas | Arandas | 01 | 84 | 01013 | Arandas | Arandas | 06 | 84 | 01 | 06 | 2,026 | 42 | 2.0.0 |
FR-COM-01013-none | FR-COM-01013 | true | false | canonical | none | none | none | 01013 | Arandas | Arandas | 01 | 84 | 01013 | Arandas | Arandas | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01013-unknown_commune_code | FR-COM-01013 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01013 | Arandas | Arandas | 01 | 84 | 01713 | Arandas | Arandas | 01 | 84 | 01013 | 01713 | 2,026 | 42 | 2.0.0 |
FR-COM-01014-character_swap | FR-COM-01014 | false | true | inconsistent | character_swap | name | medium | 01014 | Arbent | Arbent | 01 | 84 | 01014 | rAbent | Arbent | 01 | 84 | Arbent | rAbent | 2,026 | 42 | 2.0.0 |
FR-COM-01014-mismatched_commune_code | FR-COM-01014 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01014 | Arbent | Arbent | 01 | 84 | 01356 | Arbent | Arbent | 01 | 84 | 01014 | 01356 | 2,026 | 42 | 2.0.0 |
FR-COM-01014-mismatched_department | FR-COM-01014 | false | true | inconsistent | mismatched_department | department_code | medium | 01014 | Arbent | Arbent | 01 | 84 | 01014 | Arbent | Arbent | 38 | 84 | 01 | 38 | 2,026 | 42 | 2.0.0 |
FR-COM-01014-none | FR-COM-01014 | true | false | canonical | none | none | none | 01014 | Arbent | Arbent | 01 | 84 | 01014 | Arbent | Arbent | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01014-unknown_commune_code | FR-COM-01014 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01014 | Arbent | Arbent | 01 | 84 | 01414 | Arbent | Arbent | 01 | 84 | 01014 | 01414 | 2,026 | 42 | 2.0.0 |
FR-COM-01015-character_swap | FR-COM-01015 | false | true | inconsistent | character_swap | name | medium | 01015 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01015 | Arboys en Bugye | Arboys en Bugey | 01 | 84 | Arboys en Bugey | Arboys en Bugye | 2,026 | 42 | 2.0.0 |
FR-COM-01015-mismatched_commune_code | FR-COM-01015 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01015 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01005 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01015 | 01005 | 2,026 | 42 | 2.0.0 |
FR-COM-01015-mismatched_department | FR-COM-01015 | false | true | inconsistent | mismatched_department | department_code | medium | 01015 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01015 | Arboys en Bugey | Arboys en Bugey | 63 | 84 | 01 | 63 | 2,026 | 42 | 2.0.0 |
FR-COM-01015-none | FR-COM-01015 | true | false | canonical | none | none | none | 01015 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01015 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01015-unknown_commune_code | FR-COM-01015 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01015 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01615 | Arboys en Bugey | Arboys en Bugey | 01 | 84 | 01015 | 01615 | 2,026 | 42 | 2.0.0 |
FR-COM-01016-character_swap | FR-COM-01016 | false | true | inconsistent | character_swap | name | medium | 01016 | Arbigny | Arbigny | 01 | 84 | 01016 | Abrigny | Arbigny | 01 | 84 | Arbigny | Abrigny | 2,026 | 42 | 2.0.0 |
FR-COM-01016-mismatched_commune_code | FR-COM-01016 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01016 | Arbigny | Arbigny | 01 | 84 | 01310 | Arbigny | Arbigny | 01 | 84 | 01016 | 01310 | 2,026 | 42 | 2.0.0 |
FR-COM-01016-mismatched_department | FR-COM-01016 | false | true | inconsistent | mismatched_department | department_code | medium | 01016 | Arbigny | Arbigny | 01 | 84 | 01016 | Arbigny | Arbigny | 73 | 84 | 01 | 73 | 2,026 | 42 | 2.0.0 |
FR-COM-01016-none | FR-COM-01016 | true | false | canonical | none | none | none | 01016 | Arbigny | Arbigny | 01 | 84 | 01016 | Arbigny | Arbigny | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01016-unknown_commune_code | FR-COM-01016 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01016 | Arbigny | Arbigny | 01 | 84 | 01516 | Arbigny | Arbigny | 01 | 84 | 01016 | 01516 | 2,026 | 42 | 2.0.0 |
FR-COM-01017-character_swap | FR-COM-01017 | false | true | inconsistent | character_swap | name | medium | 01017 | Argis | Argis | 01 | 84 | 01017 | Agris | Argis | 01 | 84 | Argis | Agris | 2,026 | 42 | 2.0.0 |
FR-COM-01017-mismatched_commune_code | FR-COM-01017 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01017 | Argis | Argis | 01 | 84 | 01309 | Argis | Argis | 01 | 84 | 01017 | 01309 | 2,026 | 42 | 2.0.0 |
FR-COM-01017-mismatched_department | FR-COM-01017 | false | true | inconsistent | mismatched_department | department_code | easy | 01017 | Argis | Argis | 01 | 84 | 01017 | Argis | Argis | 53 | 84 | 01 | 53 | 2,026 | 42 | 2.0.0 |
FR-COM-01017-none | FR-COM-01017 | true | false | canonical | none | none | none | 01017 | Argis | Argis | 01 | 84 | 01017 | Argis | Argis | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01017-unknown_commune_code | FR-COM-01017 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01017 | Argis | Argis | 01 | 84 | 01917 | Argis | Argis | 01 | 84 | 01017 | 01917 | 2,026 | 42 | 2.0.0 |
FR-COM-01021-character_swap | FR-COM-01021 | false | true | inconsistent | character_swap | name | medium | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01021 | Ars-sru-Formans | Ars-sur-Formans | 01 | 84 | Ars-sur-Formans | Ars-sru-Formans | 2,026 | 42 | 2.0.0 |
FR-COM-01021-mismatched_commune_code | FR-COM-01021 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01335 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01021 | 01335 | 2,026 | 42 | 2.0.0 |
FR-COM-01021-mismatched_department | FR-COM-01021 | false | true | inconsistent | mismatched_department | department_code | medium | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01021 | Ars-sur-Formans | Ars-sur-Formans | 63 | 84 | 01 | 63 | 2,026 | 42 | 2.0.0 |
FR-COM-01021-none | FR-COM-01021 | true | false | canonical | none | none | none | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01021-remove_hyphens | FR-COM-01021 | false | false | non_canonical | remove_hyphens | name | easy | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01021 | Ars sur Formans | Ars-sur-Formans | 01 | 84 | Ars-sur-Formans | Ars sur Formans | 2,026 | 42 | 2.0.0 |
FR-COM-01021-unknown_commune_code | FR-COM-01021 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01021 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01621 | Ars-sur-Formans | Ars-sur-Formans | 01 | 84 | 01021 | 01621 | 2,026 | 42 | 2.0.0 |
FR-COM-01022-character_swap | FR-COM-01022 | false | true | inconsistent | character_swap | name | medium | 01022 | Artemare | Artemare | 01 | 84 | 01022 | Atremare | Artemare | 01 | 84 | Artemare | Atremare | 2,026 | 42 | 2.0.0 |
FR-COM-01022-mismatched_commune_code | FR-COM-01022 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01022 | Artemare | Artemare | 01 | 84 | 01095 | Artemare | Artemare | 01 | 84 | 01022 | 01095 | 2,026 | 42 | 2.0.0 |
FR-COM-01022-mismatched_department | FR-COM-01022 | false | true | inconsistent | mismatched_department | department_code | medium | 01022 | Artemare | Artemare | 01 | 84 | 01022 | Artemare | Artemare | 26 | 84 | 01 | 26 | 2,026 | 42 | 2.0.0 |
FR-COM-01022-none | FR-COM-01022 | true | false | canonical | none | none | none | 01022 | Artemare | Artemare | 01 | 84 | 01022 | Artemare | Artemare | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01022-unknown_commune_code | FR-COM-01022 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01022 | Artemare | Artemare | 01 | 84 | 01922 | Artemare | Artemare | 01 | 84 | 01022 | 01922 | 2,026 | 42 | 2.0.0 |
FR-COM-01023-character_swap | FR-COM-01023 | false | true | inconsistent | character_swap | name | medium | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | Asnières-sru-Saône | Asnières-sur-Saône | 01 | 84 | Asnières-sur-Saône | Asnières-sru-Saône | 2,026 | 42 | 2.0.0 |
FR-COM-01023-mismatched_commune_code | FR-COM-01023 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01192 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | 01192 | 2,026 | 42 | 2.0.0 |
FR-COM-01023-mismatched_department | FR-COM-01023 | false | true | inconsistent | mismatched_department | department_code | easy | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 52 | 84 | 01 | 52 | 2,026 | 42 | 2.0.0 |
FR-COM-01023-none | FR-COM-01023 | true | false | canonical | none | none | none | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01023-remove_accents | FR-COM-01023 | false | false | non_canonical | remove_accents | name | easy | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | Asnieres-sur-Saone | Asnières-sur-Saône | 01 | 84 | Asnières-sur-Saône | Asnieres-sur-Saone | 2,026 | 42 | 2.0.0 |
FR-COM-01023-remove_hyphens | FR-COM-01023 | false | false | non_canonical | remove_hyphens | name | easy | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | Asnières sur Saône | Asnières-sur-Saône | 01 | 84 | Asnières-sur-Saône | Asnières sur Saône | 2,026 | 42 | 2.0.0 |
FR-COM-01023-unknown_commune_code | FR-COM-01023 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01023 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01723 | Asnières-sur-Saône | Asnières-sur-Saône | 01 | 84 | 01023 | 01723 | 2,026 | 42 | 2.0.0 |
FR-COM-01024-character_swap | FR-COM-01024 | false | true | inconsistent | character_swap | name | medium | 01024 | Attignat | Attignat | 01 | 84 | 01024 | Attignta | Attignat | 01 | 84 | Attignat | Attignta | 2,026 | 42 | 2.0.0 |
FR-COM-01024-mismatched_commune_code | FR-COM-01024 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01024 | Attignat | Attignat | 01 | 84 | 01016 | Attignat | Attignat | 01 | 84 | 01024 | 01016 | 2,026 | 42 | 2.0.0 |
FR-COM-01024-mismatched_department | FR-COM-01024 | false | true | inconsistent | mismatched_department | department_code | medium | 01024 | Attignat | Attignat | 01 | 84 | 01024 | Attignat | Attignat | 03 | 84 | 01 | 03 | 2,026 | 42 | 2.0.0 |
FR-COM-01024-none | FR-COM-01024 | true | false | canonical | none | none | none | 01024 | Attignat | Attignat | 01 | 84 | 01024 | Attignat | Attignat | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
FR-COM-01024-unknown_commune_code | FR-COM-01024 | false | true | invalid_identifier | unknown_commune_code | commune_code | medium | 01024 | Attignat | Attignat | 01 | 84 | 01324 | Attignat | Attignat | 01 | 84 | 01024 | 01324 | 2,026 | 42 | 2.0.0 |
FR-COM-01025-character_swap | FR-COM-01025 | false | true | inconsistent | character_swap | name | medium | 01025 | Bâgé-Dommartin | Bâgé-Dommartin | 01 | 84 | 01025 | Bâgé-Dmomartin | Bâgé-Dommartin | 01 | 84 | Bâgé-Dommartin | Bâgé-Dmomartin | 2,026 | 42 | 2.0.0 |
FR-COM-01025-mismatched_commune_code | FR-COM-01025 | false | true | inconsistent | mismatched_commune_code | commune_code | hard | 01025 | Bâgé-Dommartin | Bâgé-Dommartin | 01 | 84 | 01390 | Bâgé-Dommartin | Bâgé-Dommartin | 01 | 84 | 01025 | 01390 | 2,026 | 42 | 2.0.0 |
FR-COM-01025-mismatched_department | FR-COM-01025 | false | true | inconsistent | mismatched_department | department_code | medium | 01025 | Bâgé-Dommartin | Bâgé-Dommartin | 01 | 84 | 01025 | Bâgé-Dommartin | Bâgé-Dommartin | 63 | 84 | 01 | 63 | 2,026 | 42 | 2.0.0 |
FR-COM-01025-none | FR-COM-01025 | true | false | canonical | none | none | none | 01025 | Bâgé-Dommartin | Bâgé-Dommartin | 01 | 84 | 01025 | Bâgé-Dommartin | Bâgé-Dommartin | 01 | 84 | null | null | 2,026 | 42 | 2.0.0 |
French Administrative Hierarchy Data Quality Benchmark
A reproducible benchmark for evaluating the validation, classification, and repair of French administrative geographic records.
The dataset is derived from the INSEE Code officiel géographique (COG) 2026 and focuses on the hierarchical relationship:
Region → Department → Commune
Important:
commune_codeis an INSEE/COG administrative identifier, not a postal code.
This dataset is not intended for postal-address validation or postal-code prediction.
1. What the dataset models
Each source record represents a canonical French administrative path:
Region → Department → Commune
Example:
Auvergne-Rhône-Alpes (84)
└── Rhône (69)
└── Lyon (69123)
The benchmark evaluates whether the codes and labels in a record form a valid and internally consistent administrative hierarchy.
A record may contain values that are individually valid but incorrectly combined. For example:
Region: Auvergne-Rhône-Alpes (84)
Department: Isère (38)
Commune: Lyon (69123)
Department 38 and commune code 69123 both exist, but Lyon does not belong to Isère. The anomaly is therefore hierarchical, rather than purely syntactic.
The word hierarchy refers here to administrative and geographic membership. It does not imply organizational ownership or historical lineage.
2. Record structure
The input-oriented fields are the corrupted_* columns. The clean_* columns and evaluation labels describe the expected canonical record.
Core fields include:
| Field | Description |
|---|---|
source_record_id |
Stable identifier of the source commune |
clean_region_code |
Canonical COG region code |
clean_department_code |
Canonical COG department code |
clean_commune_code |
Canonical COG commune code |
clean_name |
Official commune name |
corrupted_region_code |
Region code presented to the model |
corrupted_department_code |
Department code presented to the model |
corrupted_commune_code |
Commune code presented to the model |
corrupted_name |
Commune name presented to the model |
is_canonical |
Whether the presented record exactly matches the canonical form |
has_integrity_error |
Whether the record contains an identifier or cross-field integrity error |
quality_status |
Semantic quality category |
error_type |
Synthetic alteration applied |
affected_field |
Field expected to be repaired |
expected_value |
Canonical value for the affected field |
corrupted_value |
Altered value |
difficulty |
Heuristic difficulty level |
split |
Available in local generation metadata; omitted from exported split files |
Example
Canonical record:
{
"region_code": "84",
"department_code": "69",
"commune_code": "69123",
"commune_name": "Lyon"
}
Altered record:
{
"region_code": "84",
"department_code": "38",
"commune_code": "69123",
"commune_name": "Lyon",
"quality_status": "inconsistent",
"error_type": "mismatched_department",
"affected_field": "department_code",
"expected_value": "69",
"corrupted_value": "38"
}
3. Quality statuses
The benchmark distinguishes exact canonical form from actual integrity failures.
| Status | Meaning |
|---|---|
canonical |
Exact official COG form |
non_canonical |
Simplified spelling, such as removed accents or hyphens |
inconsistent |
Existing values combined in a way that conflicts with the canonical record or hierarchy |
invalid_identifier |
Identifier absent from the COG 2026 reference |
This distinction matters because a spelling such as Saint-Etienne may be non-canonical without being unusable in every information system.
has_integrity_error is therefore stricter than is_canonical.
4. Main error types
| Error type | Error family | Description |
|---|---|---|
none |
Canonical | Unaltered official record |
remove_accents |
Canonicalization | Removes diacritics from the commune name |
remove_hyphens |
Canonicalization | Replaces hyphens with spaces |
character_swap |
Text quality | Swaps adjacent characters in the commune name |
mismatched_department |
Hierarchical consistency | Associates the commune with another valid department |
unknown_commune_code |
Referential integrity | Generates a commune code absent from the reference |
mismatched_commune_code |
Entity consistency | Uses an existing code belonging to another commune |
Why the distinction between unknown and mismatched codes matters
unknown_commune_code: the identifier does not exist in COG 2026.mismatched_commune_code: the identifier exists, but it does not identify the commune named in the record.
The second task requires entity-level consistency checking rather than a simple lookup.
5. What the benchmark evaluates
The dataset supports several evaluation tasks:
Canonical-form detection
Determine whether the presented record exactly matches the official form.Integrity-error detection
Identify records containing invalid identifiers or cross-field inconsistencies.Error-type classification
Classify the synthetic anomaly.Affected-field identification
Determine which field should be repaired.Hierarchical consistency checking
Verify the administrative pathRegion → Department → Commune.Referential-integrity validation
Check whether identifiers exist in the official reference.Value repair
Recover the expected canonical value.
Suggested metrics
For binary detection:
- Precision
- Recall
- F1
- Matthews correlation coefficient
For error classification:
- Macro-F1
- Per-class precision and recall
- Confusion matrix
For repair:
- Exact repair accuracy
- Field-level accuracy
- Character error rate for commune names
Results should be reported by both error_type and difficulty.
6. Dataset configurations
full
Contains the complete generated distribution, including canonical records, spelling variants, and integrity errors.
Recommended for:
- exploratory analysis;
- multi-task learning;
- studying the natural distribution produced by the generator.
integrity_only
Excludes simple non_canonical spelling variants.
Recommended for:
- strict administrative consistency checking;
- referential-integrity validation;
- hierarchical anomaly detection.
binary_balanced
Contains one canonical and one altered record per source commune.
Recommended for:
- balanced canonical-versus-altered classification;
- baseline binary models;
- controlled model comparison.
error_type_balanced
Balances each error type independently inside each split.
Recommended for:
- multiclass benchmarking;
- macro-F1 comparison;
- reducing majority-class effects.
7. Typical use cases
Potential applications include:
- data-quality pipelines;
- ETL and ELT validation;
- master-data management;
- entity resolution;
- record linkage;
- referential-integrity testing;
- anomaly detection;
- tabular machine-learning benchmarks;
- LLM and agent evaluation on structured records;
- automated repair suggestions.
This benchmark is particularly relevant when a system must reason over the combination of several valid fields rather than validate each field independently.
Loading the dataset
Default configuration
from datasets import load_dataset
dataset = load_dataset(
"Jaymerry/french-administrative-hierarchy-data-quality"
)
print(dataset)
print(dataset["train"][0])
Select a configuration
from datasets import load_dataset
dataset = load_dataset(
"Jaymerry/french-administrative-hierarchy-data-quality",
"integrity_only",
)
Available configurations:
full
integrity_only
binary_balanced
error_type_balanced
Load the auxiliary JSONL files
Parquet files under data/ are the files configured for the Hugging Face Dataset Viewer.
Equivalent human-readable JSONL files may be provided under jsonl/:
from datasets import load_dataset
dataset_jsonl = load_dataset(
"json",
data_files={
"train": (
"hf://datasets/"
"Jaymerry/french-administrative-hierarchy-data-quality/"
"jsonl/full/train.jsonl"
),
"validation": (
"hf://datasets/"
"Jaymerry/french-administrative-hierarchy-data-quality/"
"jsonl/full/validation.jsonl"
),
"test": (
"hf://datasets/"
"Jaymerry/french-administrative-hierarchy-data-quality/"
"jsonl/full/test.jsonl"
),
},
)
Splits and leakage prevention
Splits are assigned at the source-record level using a deterministic hash.
All variants generated from the same commune remain in the same split. This prevents a model from seeing one altered version of a commune during training and another version of the same commune during evaluation.
The available splits are:
train
validation
test
Source and provenance
- Producer: Institut national de la statistique et des études économiques (INSEE)
- Source: Code officiel géographique au 1 January 2026
- Source file:
v_commune_2026.csv - Original license: Licence Ouverte / Open Licence 2.0
- Dataset license:
etalab-2.0 - Generation seed:
42
The source is filtered to records where TYPECOM == "COM".
All alterations in this benchmark are generated synthetically. They must not be interpreted as errors present in the original INSEE data.
The repository includes generation and validation scripts as well as source and quality manifests for reproducibility.
Limitations
- The benchmark represents the COG 2026 snapshot and does not automatically reflect later administrative changes.
- The alterations are synthetic and do not cover every real-world data-entry process.
- Difficulty labels are heuristic.
- Accentless or hyphenless forms are labelled
non_canonical, not universally invalid. - The current version focuses mainly on commune identifiers, commune names, and department consistency.
- Region and department names may not yet be included as explicit columns.
- This dataset is not intended for postal routing, postal-code validation, address geocoding, or operational administrative decisions.
- The dataset must not replace the current official INSEE reference.
Responsible use
Appropriate uses include research, benchmarking, education, and development of data-quality systems.
Users should verify results against the latest official reference before applying corrections to production administrative data.
Reproducibility
The repository may include:
scripts/build_dataset_v2.py
scripts/validate_dataset_v2.py
metadata/source_manifest_2026.json
metadata/quality_report_v2.json
metadata/validation_report.json
The source manifest records the retrieval date and SHA-256 checksum of the original source file.
Citation
No formal paper is currently associated with this dataset.
When using it, please cite:
- the INSEE Code officiel géographique source;
- this Hugging Face dataset repository.
Suggested citation:
@dataset{merry_2026_french_administrative_hierarchy,
author = {Jeremy Banchet (Jaymerry)},
title = {French Administrative Hierarchy Data Quality Benchmark},
year = {2026},
publisher = {Hugging Face},
url = {https://huggingface.co/datasets/Jaymerry/french-administrative-hierarchy-data-quality}
}
License
The dataset is distributed under the Licence Ouverte / Open Licence 2.0, represented on Hugging Face by:
etalab-2.0
See SOURCES.md and the source manifest for detailed attribution and provenance.
- Downloads last month
- 14







