Datasets:
case_type stringclasses 2
values | category stringclasses 7
values | column_name stringclasses 15
values | difficulty stringclasses 3
values | expected_rules listlengths 0 4 | expected_sensitive bool 2
classes | family stringclasses 32
values | id stringlengths 9 9 | language stringclasses 4
values | safety_basis stringclasses 27
values | synthetic bool 1
class | template_id stringclasses 16
values | text stringlengths 22 78 | value stringclasses 32
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
positive | contact | email | easy | [
"email"
] | true | email | pb-001-01 | en | example.com is reserved for documentation | true | en_plain | Recorded value: tester+piiscope@example.com | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-02 | en | example.com is reserved for documentation | true | en_csv | value,tester+piiscope@example.com,verified | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-03 | en | example.com is reserved for documentation | true | en_brackets | Audit entry [tester+piiscope@example.com] | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-04 | en | example.com is reserved for documentation | true | en_sentence | The source field contains tester+piiscope@example.com for review. | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-05 | de | example.com is reserved for documentation | true | de_plain | Erfasster Wert: tester+piiscope@example.com | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-06 | de | example.com is reserved for documentation | true | de_csv | wert,tester+piiscope@example.com,geprueft | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-07 | de | example.com is reserved for documentation | true | de_brackets | Pruefeintrag [tester+piiscope@example.com] | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-08 | de | example.com is reserved for documentation | true | de_sentence | Das Quellfeld enthaelt tester+piiscope@example.com zur Pruefung. | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-09 | tr | example.com is reserved for documentation | true | tr_plain | Kayitli deger: tester+piiscope@example.com | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-10 | tr | example.com is reserved for documentation | true | tr_csv | deger,tester+piiscope@example.com,dogrulandi | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-11 | tr | example.com is reserved for documentation | true | tr_brackets | Denetim kaydi [tester+piiscope@example.com] | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-12 | tr | example.com is reserved for documentation | true | tr_sentence | Kaynak alan inceleme icin tester+piiscope@example.com iceriyor. | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-13 | pt | example.com is reserved for documentation | true | pt_plain | Valor registrado: tester+piiscope@example.com | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-14 | pt | example.com is reserved for documentation | true | pt_csv | valor,tester+piiscope@example.com,verificado | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-15 | pt | example.com is reserved for documentation | true | pt_brackets | Registro de auditoria [tester+piiscope@example.com] | tester+piiscope@example.com |
positive | contact | email | easy | [
"email"
] | true | email | pb-001-16 | pt | example.com is reserved for documentation | true | pt_sentence | O campo de origem contem tester+piiscope@example.com para revisao. | tester+piiscope@example.com |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-01 | en | payment processor test number with no account | true | en_plain | Recorded value: 4111 1111 1111 1111 | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-02 | en | payment processor test number with no account | true | en_csv | value,4111 1111 1111 1111,verified | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-03 | en | payment processor test number with no account | true | en_brackets | Audit entry [4111 1111 1111 1111] | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-04 | en | payment processor test number with no account | true | en_sentence | The source field contains 4111 1111 1111 1111 for review. | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-05 | de | payment processor test number with no account | true | de_plain | Erfasster Wert: 4111 1111 1111 1111 | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-06 | de | payment processor test number with no account | true | de_csv | wert,4111 1111 1111 1111,geprueft | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-07 | de | payment processor test number with no account | true | de_brackets | Pruefeintrag [4111 1111 1111 1111] | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-08 | de | payment processor test number with no account | true | de_sentence | Das Quellfeld enthaelt 4111 1111 1111 1111 zur Pruefung. | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-09 | tr | payment processor test number with no account | true | tr_plain | Kayitli deger: 4111 1111 1111 1111 | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-10 | tr | payment processor test number with no account | true | tr_csv | deger,4111 1111 1111 1111,dogrulandi | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-11 | tr | payment processor test number with no account | true | tr_brackets | Denetim kaydi [4111 1111 1111 1111] | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-12 | tr | payment processor test number with no account | true | tr_sentence | Kaynak alan inceleme icin 4111 1111 1111 1111 iceriyor. | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-13 | pt | payment processor test number with no account | true | pt_plain | Valor registrado: 4111 1111 1111 1111 | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-14 | pt | payment processor test number with no account | true | pt_csv | valor,4111 1111 1111 1111,verificado | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-15 | pt | payment processor test number with no account | true | pt_brackets | Registro de auditoria [4111 1111 1111 1111] | 4111 1111 1111 1111 |
positive | financial | payment_card | medium | [
"credit_card"
] | true | credit_card | pb-002-16 | pt | payment processor test number with no account | true | pt_sentence | O campo de origem contem 4111 1111 1111 1111 para revisao. | 4111 1111 1111 1111 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-01 | en | checksum-valid TEST BBAN that is not a bank account | true | en_plain | Recorded value: GB05TEST00000000000000 | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-02 | en | checksum-valid TEST BBAN that is not a bank account | true | en_csv | value,GB05TEST00000000000000,verified | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-03 | en | checksum-valid TEST BBAN that is not a bank account | true | en_brackets | Audit entry [GB05TEST00000000000000] | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-04 | en | checksum-valid TEST BBAN that is not a bank account | true | en_sentence | The source field contains GB05TEST00000000000000 for review. | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-05 | de | checksum-valid TEST BBAN that is not a bank account | true | de_plain | Erfasster Wert: GB05TEST00000000000000 | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-06 | de | checksum-valid TEST BBAN that is not a bank account | true | de_csv | wert,GB05TEST00000000000000,geprueft | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-07 | de | checksum-valid TEST BBAN that is not a bank account | true | de_brackets | Pruefeintrag [GB05TEST00000000000000] | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-08 | de | checksum-valid TEST BBAN that is not a bank account | true | de_sentence | Das Quellfeld enthaelt GB05TEST00000000000000 zur Pruefung. | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-09 | tr | checksum-valid TEST BBAN that is not a bank account | true | tr_plain | Kayitli deger: GB05TEST00000000000000 | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-10 | tr | checksum-valid TEST BBAN that is not a bank account | true | tr_csv | deger,GB05TEST00000000000000,dogrulandi | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-11 | tr | checksum-valid TEST BBAN that is not a bank account | true | tr_brackets | Denetim kaydi [GB05TEST00000000000000] | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-12 | tr | checksum-valid TEST BBAN that is not a bank account | true | tr_sentence | Kaynak alan inceleme icin GB05TEST00000000000000 iceriyor. | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-13 | pt | checksum-valid TEST BBAN that is not a bank account | true | pt_plain | Valor registrado: GB05TEST00000000000000 | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-14 | pt | checksum-valid TEST BBAN that is not a bank account | true | pt_csv | valor,GB05TEST00000000000000,verificado | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-15 | pt | checksum-valid TEST BBAN that is not a bank account | true | pt_brackets | Registro de auditoria [GB05TEST00000000000000] | GB05TEST00000000000000 |
positive | financial | bank_account | hard | [
"iban"
] | true | iban | pb-003-16 | pt | checksum-valid TEST BBAN that is not a bank account | true | pt_sentence | O campo de origem contem GB05TEST00000000000000 para revisao. | GB05TEST00000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-01 | en | checksum-valid all-zero test BBAN that is not a bank account | true | en_plain | Recorded value: TR470000000000000000000000 | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-02 | en | checksum-valid all-zero test BBAN that is not a bank account | true | en_csv | value,TR470000000000000000000000,verified | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-03 | en | checksum-valid all-zero test BBAN that is not a bank account | true | en_brackets | Audit entry [TR470000000000000000000000] | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-04 | en | checksum-valid all-zero test BBAN that is not a bank account | true | en_sentence | The source field contains TR470000000000000000000000 for review. | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-05 | de | checksum-valid all-zero test BBAN that is not a bank account | true | de_plain | Erfasster Wert: TR470000000000000000000000 | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-06 | de | checksum-valid all-zero test BBAN that is not a bank account | true | de_csv | wert,TR470000000000000000000000,geprueft | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-07 | de | checksum-valid all-zero test BBAN that is not a bank account | true | de_brackets | Pruefeintrag [TR470000000000000000000000] | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-08 | de | checksum-valid all-zero test BBAN that is not a bank account | true | de_sentence | Das Quellfeld enthaelt TR470000000000000000000000 zur Pruefung. | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-09 | tr | checksum-valid all-zero test BBAN that is not a bank account | true | tr_plain | Kayitli deger: TR470000000000000000000000 | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-10 | tr | checksum-valid all-zero test BBAN that is not a bank account | true | tr_csv | deger,TR470000000000000000000000,dogrulandi | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-11 | tr | checksum-valid all-zero test BBAN that is not a bank account | true | tr_brackets | Denetim kaydi [TR470000000000000000000000] | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-12 | tr | checksum-valid all-zero test BBAN that is not a bank account | true | tr_sentence | Kaynak alan inceleme icin TR470000000000000000000000 iceriyor. | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-13 | pt | checksum-valid all-zero test BBAN that is not a bank account | true | pt_plain | Valor registrado: TR470000000000000000000000 | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-14 | pt | checksum-valid all-zero test BBAN that is not a bank account | true | pt_csv | valor,TR470000000000000000000000,verificado | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-15 | pt | checksum-valid all-zero test BBAN that is not a bank account | true | pt_brackets | Registro de auditoria [TR470000000000000000000000] | TR470000000000000000000000 |
positive | financial | iban | hard | [
"iban",
"iban_tr"
] | true | iban_tr | pb-004-16 | pt | checksum-valid all-zero test BBAN that is not a bank account | true | pt_sentence | O campo de origem contem TR470000000000000000000000 para revisao. | TR470000000000000000000000 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-01 | en | 555-0100 is in the North American fictional-use range | true | en_plain | Recorded value: +1 212-555-0100 | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-02 | en | 555-0100 is in the North American fictional-use range | true | en_csv | value,+1 212-555-0100,verified | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-03 | en | 555-0100 is in the North American fictional-use range | true | en_brackets | Audit entry [+1 212-555-0100] | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-04 | en | 555-0100 is in the North American fictional-use range | true | en_sentence | The source field contains +1 212-555-0100 for review. | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-05 | de | 555-0100 is in the North American fictional-use range | true | de_plain | Erfasster Wert: +1 212-555-0100 | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-06 | de | 555-0100 is in the North American fictional-use range | true | de_csv | wert,+1 212-555-0100,geprueft | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-07 | de | 555-0100 is in the North American fictional-use range | true | de_brackets | Pruefeintrag [+1 212-555-0100] | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-08 | de | 555-0100 is in the North American fictional-use range | true | de_sentence | Das Quellfeld enthaelt +1 212-555-0100 zur Pruefung. | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-09 | tr | 555-0100 is in the North American fictional-use range | true | tr_plain | Kayitli deger: +1 212-555-0100 | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-10 | tr | 555-0100 is in the North American fictional-use range | true | tr_csv | deger,+1 212-555-0100,dogrulandi | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-11 | tr | 555-0100 is in the North American fictional-use range | true | tr_brackets | Denetim kaydi [+1 212-555-0100] | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-12 | tr | 555-0100 is in the North American fictional-use range | true | tr_sentence | Kaynak alan inceleme icin +1 212-555-0100 iceriyor. | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-13 | pt | 555-0100 is in the North American fictional-use range | true | pt_plain | Valor registrado: +1 212-555-0100 | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-14 | pt | 555-0100 is in the North American fictional-use range | true | pt_csv | valor,+1 212-555-0100,verificado | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-15 | pt | 555-0100 is in the North American fictional-use range | true | pt_brackets | Registro de auditoria [+1 212-555-0100] | +1 212-555-0100 |
positive | contact | phone | medium | [
"us_phone"
] | true | us_phone | pb-005-16 | pt | 555-0100 is in the North American fictional-use range | true | pt_sentence | O campo de origem contem +1 212-555-0100 para revisao. | +1 212-555-0100 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-01 | en | 07700 900000 to 900999 is reserved for UK drama use | true | en_plain | Recorded value: +44 7700 900123 | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-02 | en | 07700 900000 to 900999 is reserved for UK drama use | true | en_csv | value,+44 7700 900123,verified | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-03 | en | 07700 900000 to 900999 is reserved for UK drama use | true | en_brackets | Audit entry [+44 7700 900123] | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-04 | en | 07700 900000 to 900999 is reserved for UK drama use | true | en_sentence | The source field contains +44 7700 900123 for review. | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-05 | de | 07700 900000 to 900999 is reserved for UK drama use | true | de_plain | Erfasster Wert: +44 7700 900123 | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-06 | de | 07700 900000 to 900999 is reserved for UK drama use | true | de_csv | wert,+44 7700 900123,geprueft | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-07 | de | 07700 900000 to 900999 is reserved for UK drama use | true | de_brackets | Pruefeintrag [+44 7700 900123] | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-08 | de | 07700 900000 to 900999 is reserved for UK drama use | true | de_sentence | Das Quellfeld enthaelt +44 7700 900123 zur Pruefung. | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-09 | tr | 07700 900000 to 900999 is reserved for UK drama use | true | tr_plain | Kayitli deger: +44 7700 900123 | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-10 | tr | 07700 900000 to 900999 is reserved for UK drama use | true | tr_csv | deger,+44 7700 900123,dogrulandi | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-11 | tr | 07700 900000 to 900999 is reserved for UK drama use | true | tr_brackets | Denetim kaydi [+44 7700 900123] | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-12 | tr | 07700 900000 to 900999 is reserved for UK drama use | true | tr_sentence | Kaynak alan inceleme icin +44 7700 900123 iceriyor. | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-13 | pt | 07700 900000 to 900999 is reserved for UK drama use | true | pt_plain | Valor registrado: +44 7700 900123 | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-14 | pt | 07700 900000 to 900999 is reserved for UK drama use | true | pt_csv | valor,+44 7700 900123,verificado | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-15 | pt | 07700 900000 to 900999 is reserved for UK drama use | true | pt_brackets | Registro de auditoria [+44 7700 900123] | +44 7700 900123 |
positive | contact | phone | medium | [
"eu_phone"
] | true | eu_phone | pb-006-16 | pt | 07700 900000 to 900999 is reserved for UK drama use | true | pt_sentence | O campo de origem contem +44 7700 900123 para revisao. | +44 7700 900123 |
positive | contact | phone | hard | [
"eu_phone",
"tr_phone",
"tr_phone_strict"
] | true | tr_phone | pb-007-01 | en | repeated-zero synthetic test value with no person attached | true | en_plain | Recorded value: 0555 000 00 00 | 0555 000 00 00 |
positive | contact | phone | hard | [
"eu_phone",
"tr_phone",
"tr_phone_strict"
] | true | tr_phone | pb-007-02 | en | repeated-zero synthetic test value with no person attached | true | en_csv | value,0555 000 00 00,verified | 0555 000 00 00 |
positive | contact | phone | hard | [
"eu_phone",
"tr_phone",
"tr_phone_strict"
] | true | tr_phone | pb-007-03 | en | repeated-zero synthetic test value with no person attached | true | en_brackets | Audit entry [0555 000 00 00] | 0555 000 00 00 |
positive | contact | phone | hard | [
"eu_phone",
"tr_phone",
"tr_phone_strict"
] | true | tr_phone | pb-007-04 | en | repeated-zero synthetic test value with no person attached | true | en_sentence | The source field contains 0555 000 00 00 for review. | 0555 000 00 00 |
Piiscope Structured PII Pattern Benchmark
A deterministic, privacy-safe benchmark for structured personal-data detectors. Every value is synthetic, reserved for documentation, or a published test credential. The dataset contains no records collected from people, no customer data, and no transactable financial identifiers.
The benchmark is maintained with Piiscope, a local PII scanner and privacy-risk CLI. It can also evaluate compatible rule-based detectors that return one or more rule identifiers for a text field.
The focused Piiscope tool page collects the install path, operating limits, reproducible workflow, and source links in one place.
Dataset structure
The test split contains 512 rows built from 32 base cases and 16 English, German, Turkish, and Portuguese contexts.
- Positive cases cover emails, checksum-valid test cards and IBANs, fictional phone ranges, documentation IP addresses, URLs, dates, medical record markers, VAT markers, SWIFT markers, and synthetic passport patterns.
- Hard negatives cover malformed checksums, invalid network addresses, lowercase near misses for case-sensitive rules, short identifiers, version numbers, and commit-like hexadecimal strings.
expected_rulesis a multi-label detector contract.safety_basisexplains why the embedded value does not represent a person or live account.
Reproduce the data
python benchmarks/piiscope-benchmark/generate.py
Generation uses only the Python standard library and contains no random step. The same source always produces the same ordered JSONL file.
Evaluate Piiscope
python -m pip install piiscope
python benchmarks/piiscope-benchmark/evaluate.py
The checked-in result records the exact Piiscope version and reports micro precision, micro recall, exact multi-label match rate, and hard-negative pass rate. Dictionary detectors are disabled so this first release measures the structured-pattern layer in isolation.
Published results
| Piiscope | Micro precision | Micro recall | Micro F1 | Exact match | Hard-negative pass |
|---|---|---|---|---|---|
| 1.2.0 | 0.7941 | 0.9643 | 0.8710 | 0.7500 | 0.7143 |
| 1.3.0 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 |
The 1.2.0 baseline was measured from the published PyPI wheel. The 1.3.0 row is
the release result after the benchmark exposed phone-boundary, partial-IPv6,
and cross-detector false positives. Full failures and per-rule counts are stored
under results/.
Intended use
- Regression testing for deterministic structured PII detectors
- Comparing checksum and near-miss handling across releases
- Demonstrating privacy-scanner behavior without publishing real PII
- Teaching safe benchmark construction for privacy tooling
Limitations
- This is a pattern-detection benchmark, not a model of real-world PII prevalence.
- It does not measure demographic fairness or multilingual named-entity recall.
- It deliberately excludes positive national identity numbers when no clearly reserved test range is available.
- Repeated synthetic values test context handling, not memorization resistance.
- A high score does not prove that a scanner is sufficient for compliance.
Licensing and citation
The dataset is released under CC BY 4.0. Generator and evaluation scripts in the Piiscope repository remain under Apache 2.0.
When citing the benchmark, link both the dataset and the evaluated Piiscope release so the detector behavior can be reproduced.
- Downloads last month
- 7