How to build an AI redaction regression dataset
Create fictional records with explicitly labelled values, clean controls and multiple representations. Run the exact outbound path used by the application.
Example
A synthetic CRM file includes the same set of people as separate records, email signatures and notes with locally written phone numbers.
What to do
- Pick sensitive data classes from your workflow. Include supported and unknown formats, overlapping matches and clean identifiers.
- Store expected removals separately from the payload. Run batch subsets and compare expected values with the post-policy request.
- Track missed entities, incorrect removals, batch behavior and effect on task quality.
How to verify
Each failure identifies a specific entity class and field or text surface without placing real customer data in the test suite.
Limits
Synthetic results are a baseline. Document sample generation and known gaps before making performance claims.