Skip to content

Conversation

@inatimi-johnson
Copy link

…t_presidio_pii.py

AU_TFN to TFN: The tax file number (TFN) is a unique identifier issued by the Australian Taxation Office to each taxpaying entity. The mismatch caused the exception 'An error occurred while processing the detected entity AU_TFN'. Updated to TFN, which resolved the error through consistent pattern match, context, and checksum validation.

AU_ACN to ACN: The Australian Company Number (ACN) identifier caused similar context mismatches. Standardized to ACN for uniform entity handling.

US_PASSPORT to PASSPORT: Adjusted entity label to PASSPORT to avoid region-specific ambiguity and ensure accurate detection.

US_ITIN to ITIN: Standardized entity naming to ITIN to maintain consistent reference across regions and prevent label misclassification.

These changes ensure consistent entity naming, reduce regional dependency, and resolve prior exceptions during entity detection.

Overview

PR description. Explain what it's doing and why.

  • Implementation details...
  • Bugfix details...

Checklist

  • New PII Detection Service Added (Optional)
  • New PII Mappings added (Optional)
  • New citations added (if using other open source or research software) (Optional)
  • New PII types added to new version file under pii_codex/data (and JSON file generated) (Optional)
  • Tests added
  • CI passed
  • Commits Squashed

…t_presidio_pii.py

AU_TFN to TFN: The tax file number (TFN) is a unique identifier issued by the Australian Taxation Office to each taxpaying entity. The mismatch caused the exception 'An error occurred while processing the detected entity AU_TFN'. Updated to TFN, which resolved the error through consistent pattern match, context, and checksum validation.

AU_ACN to ACN: The Australian Company Number (ACN) identifier caused similar context mismatches. Standardized to ACN for uniform entity handling.

US_PASSPORT to PASSPORT: Adjusted entity label to PASSPORT to avoid region-specific ambiguity and ensure accurate detection.

US_ITIN to ITIN: Standardized entity naming to ITIN to maintain consistent reference across regions and prevent label misclassification.

These changes ensure consistent entity naming, reduce regional dependency, and resolve prior exceptions during entity detection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants