Privacy and preparation
Dataset redaction reproducibility: how to document why a field was removed
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
To explain why a dataset field was removed, keep a field-level decision record, not just a redaction log. For each field, record the risk found, the reason code, the alternatives rejected, the exact transformation with tool version and parameters, where any key or salt is held, fingerprints of input and output, the residual risk and who approved it. Then a reviewer can follow the reasoning and a rerun produces the same result.
Redaction
Dataset redaction
Key takeaways
- A dataset-level redaction log says what was done; a field-level decision record says why, and is what a reviewer asks for when one field is questioned.
- Every decision needs a reason code backed by evidence, the alternatives considered and a named approver, including decisions to keep a field.
- Reproducibility depends on pinned tool versions, exact parameters, stable processing order and controlled secrets such as salts and keys, not on good intentions.
- Some popular tools change defaults between versions; one open-source detector's hash operator now uses a random salt unless you supply one.
- Record the residual risk that remains after the transformation, including combinations and other modalities, and the event that would reopen the decision.
Can you explain why a particular field was removed?
You can explain a field decision only if you wrote down the reason when you made it. A reviewer who asks why customer_phone was dropped while technician_id was hashed wants three things: the risk you saw in that field, the option you chose over the others, and proof that the delivered values came from that exact rule. A general redaction log rarely answers all three at the level of one field.
Regulators expect this kind of record. The UK ICO's anonymization guidance says that when you conclude the chance of identification is sufficiently remote, you must document and justify that decision and keep it under review as technology and processing change. In the U.S. health context, HHS guidance on the HIPAA expert determination method describes an expert who documents the methods and results that justify the determination. Business records outside health care are not governed by that rule, but the expectation is similar: a decision about identifiability should be explainable after the fact.
Reproducibility is the second half of the question. If you cannot rerun the transformation and get the same output, you cannot show that the delivered file matches the decision, and you cannot apply the same treatment to the next quarterly batch without breaking joins. The rest of this page gives a record format, a set of reason codes and the controls that make a rerun match, then shows them on an illustrative job archive.
How is a field decision record different from a redaction log?
A redaction log describes the method applied across a dataset, while a field decision record justifies and pins the treatment of each field. The two work together. The log tells counsel which tools ran and what quality checks found; the field record lets anyone trace one column, or one entity type inside free text, from source to delivered output.
The field record also carries the legal framing. The FTC's 2012 privacy report treated data as not reasonably linkable when a company takes reasonable measures to de-identify it, publicly commits not to re-identify it and contractually prohibits downstream recipients from re-identifying it. California's statute defines deidentified information as information that cannot reasonably be used to infer information about, or otherwise be linked to, a particular consumer, provided the business takes reasonable measures and commits not to re-identify. Reasonable measures are easier to show one field at a time than as a single paragraph.
The field record also makes later batches cheaper. When the same system exports a new quarter, the team reapplies the approved decisions, compares fingerprints on a sample and only opens new decisions for fields that changed. Without the record, every batch becomes a fresh debate about the same columns, and small inconsistencies creep in between deliveries.
Keep the distinction clear for readers of the record: removing identifiers addresses privacy risk, but it does not by itself give anyone the right to license the data. Access permissions, privacy obligations, ownership and contractual licensing rights are separate questions, and the decision record covers only the first two.
What should the redaction decision and transformation log include?
The record should hold one row per field or entity type, per dataset version, with enough detail that a new team member could rerun it. The fields below are a starting template; add columns your reviewers need, but do not remove the ones that make the decision reproducible.
| Field | What to record | Why it matters | Example entry (illustrative) |
|---|---|---|---|
| Decision ID and dataset version | A stable ID plus the dataset version it applies to | Lets a later batch reuse or supersede the decision without editing history | FD-014, jobs export v3 |
| Source field or entity type | System, table, column or the entity type detected inside text | Ties the decision to one field rather than the whole dataset | ServiceTitan-style jobs.customer_phone |
| Decision and reason code | Remove, replace, generalize, pseudonymize or keep, with one reason code | Makes the reasoning comparable across fields and reviewers | Remove, DI-1 direct identifier |
| Alternatives rejected | Options considered and why each lost | Answers the question of why not a softer or harder treatment | Mask last four digits rejected: still a contact handle |
| Exact transformation | Tool, version, operator and every parameter, including defaults you relied on | Defaults change between releases, so unstated defaults break reruns | Detector 2.x pinned, operator redact, no parameters |
| Secret reference | Where any salt or key is held and who can use it, never the value itself | Keyed transformations cannot be repeated without the secret | Salt held in the supplier's vault, entry jobs-v3-salt |
| Processing order | Position of this step relative to the others | Order changes output when steps overlap | Step 4 of 9, after free-text detection |
| Input and output fingerprints | Checksums of the input extract and the transformed output | Proves the delivered file came from this rule and this input | SHA-256 of input and output files recorded |
| Residual risk note | What could still identify someone after the transformation | Keeps the record honest about limits | Phone numbers typed into notes handled by FD-021 |
| Approver, date and review trigger | Named approver, decision date and the event that reopens it | Shows accountability and keeps the decision under review | Privacy lead, 2026-10-18, reopen on new source system |
Which reasons justify removing, transforming or keeping a field?
A reason is valid when it points to a specific risk or need and the evidence for it is in the record. Free-form reasons such as privacy concern are hard to audit and hard to compare. A short list of reason codes, each with the evidence it requires, keeps decisions consistent across reviewers and across batches.
Keep decisions need reasons too. A buyer's reviewer will ask why a field that looks sensitive survived, and the answer should be in the same record as the removals.
Pick one primary code per decision. When two reasons apply, such as a field that is both a linkage key and not needed for the task, record the stronger one as primary and mention the other in the alternatives column. Review the code list itself once a year or when a new source system arrives, and version it, so an old decision is always read against the code list that was in force when it was made.
| Reason code | Meaning | Evidence the record must hold | Typical treatment |
|---|---|---|---|
| DI-1 Direct identifier | The field names or contacts a person on its own | Field definition and a sample showing values | Remove or replace with a role token |
| QI-2 Quasi-identifier combination | The field identifies someone only together with others | The combination tested and the result | Generalize, such as date to month or address to city |
| FT-3 Free-text residue | Identifiers appear inside notes, comments or bodies | Detector output and a manual sample | Entity-level redaction or replacement inside text |
| LK-4 Linkage key | The field would let a holder join to outside data | Which outside sources it could join to | Keyed pseudonym or removal |
| CF-5 Confidential business data | Trade secrets or third-party confidential terms | The contract or policy that restricts it | Remove or generalize |
| MN-6 Not needed for the task | The field adds risk without adding task value | The task specification it was checked against | Remove |
| KP-7 Keep, task-critical | The field is needed and residual risk is accepted | Utility argument and residual risk note | Keep, sometimes with generalization |
What makes a redaction transformation reproducible?
A transformation is reproducible when the same input, the same pinned tool, the same parameters, the same secrets and the same order produce the same output. Most failures come from something left implicit: an unpinned library, a default that changed, a random seed, or a key that was rotated or thrown away.
Tool defaults deserve particular attention. The open-source Presidio project lists anonymize operators that replace, redact, hash, mask, encrypt, apply a custom function or keep a value, and its decrypt operator reverses encryption with the same key. Its documentation states that from version 2.2.361 the hash operator uses a random salt by default, so the same value gets different hashes across entities and calls unless you supply a consistent salt. A team that upgraded without recording that change would find its pseudonyms no longer join to last year's batch.
The same documentation advises discarding the salt after processing, and storing it in secure storage only if later batches need the same pseudonyms, because a kept salt raises re-identification risk. That is a real trade-off between reproducibility and risk, and the decision record is where you write down which way you went and who holds the secret.
Use this list as the reproducibility checklist for each run:
- Pin every tool and model version, and record the package source as well as the version number.
- Write every parameter explicitly, including values that match today's defaults.
- Fix random seeds, or store the detection output (entity spans and types) so a rerun replays decisions instead of re-detecting.
- For model-based detectors whose output can vary, treat the stored spans as the record of what was found.
- Record the processing order and run steps in that order every time.
- Reference salts and keys by vault entry and owner; record rotation dates and never put secret values in the log.
- Fingerprint the input extract and the output so a reviewer can confirm which files a decision produced.
- Rerun a sample after any upgrade and compare fingerprints before you process a new batch.
Could a cleaned field still identify someone through other fields or files?
A field can be clean on its own and still identify someone in combination with other fields or with another modality. Record that residual risk alongside the decision rather than assuming the transformation finished the job. The ICO's guidance says the motivated intruder test must be used to help assess identifiability, which means asking what a determined person could do with the released fields plus information they could reasonably obtain.
At a glance
Could a cleaned field still identify someone through other fields or files
Automated detection has limits that belong in the record as well. Presidio's own documentation says that because it relies on automated detection it cannot be relied on to find all sensitive information, and that additional systems and protections should be used. A decision record that names the detector should also name the manual sample that checked it.
Check these combinations and modalities before signing off a field decision:
- Rare job types, small towns and exact dates that together single out one household or employee.
- Free-text notes that repeat a removed value, such as a phone number typed into a technician comment.
- Attachments, photos and scanned forms linked to the record, which text redaction does not touch.
- Audio recordings or transcripts tied to the same ticket or job ID.
- Pseudonyms that stay stable across batches and let a holder build a history of one person.
- File names, folder paths and metadata fields that carry names the content no longer shows.
Illustrative: logging field decisions for a field service job archive
Illustrative: a fictional HVAC services company with about 200 employees is preparing six years of job records from a field service system for licensing. The records hold customer names, phone numbers, service addresses, technician IDs, job types, timestamps, equipment model numbers and free-text technician notes. The team writes one decision record per field before running any transformation.
Customer name and phone are removed under DI-1. Service address is generalized to city under QI-2 after a test showed that street plus job date singled out households in small towns. Technician ID is pseudonymized with a keyed hash under LK-4, with the salt held in the company's own vault so that next year's batch produces matching pseudonyms; the record names the vault entry and the two people who can use it. Technician notes go through an entity detector pinned to one version, and the stored spans become the record of what was found.
The exception is equipment model numbers. A reviewer flags them because a rare commercial chiller model in a small town could point to one business customer. The team keeps the field under KP-7 because model numbers carry most of the diagnostic value, generalizes the location for that equipment class to region, and writes the residual risk note and the reopen trigger. Six months later, when a buyer's reviewer asks why model numbers survived, the answer is one row in the record.
When is a field decision too uncertain to make without a specialist?
Stop and escalate when you cannot write a specific reason code, when the residual risk note says the risk is unknown, or when keeping a field depends on a legal judgment rather than a technical one. Those are signs that the decision belongs to a privacy specialist or counsel, not to the person running the pipeline.
Narrow the scope instead of forcing a decision when one record type carries most of the risk. Excluding attachments, a sensitive job category or one source system is often better than weakening a whole dataset to protect a small part of it. Record the exclusion as a decision with its own reason code.
Request specialist review when records involve health, financial account, biometric or children's data, when free text is the main value of the dataset, or when the data will be combined with other sources. Counsel reviews the specific facts and the contract terms; this page is general information about documenting decisions.
Also stop when the record cannot be reproduced. If a rerun of a sample does not match the stored output fingerprints, do not deliver the new batch until you know whether a version, parameter, order or secret changed. A mismatch you cannot explain means the decision record no longer describes the data you are about to send.
Why a licensing review asks for the field record
A field-level decision record is what lets a company answer questions about its own data after the data has left, whoever ran the preparation. SourceX, which handles rights review, preparation and delivery for businesses licensing selected records directly to SourceX, works on a scope the company has approved and signed before a single file is handed over.
Because SourceX de-identifies the data through approved processing routes, a field record like the one above is a practical way for both sides to settle which columns leave, which are transformed and why. Checking whether your records could fit starts with a brief company assessment that asks for no data at all.
Frequently asked questions
What is dataset redaction reproducibility?
It is the ability to rerun a redaction or de-identification process on the same input and get the same output, and to show why each field was treated as it was. It depends on pinned tool versions, explicit parameters, stable processing order, controlled salts and keys, and recorded fingerprints of input and output.
What should the redaction decision and transformation log include?
One entry per field or entity type with a decision ID, the dataset version, the decision and reason code, the alternatives rejected, the exact transformation and parameters, a reference to any salt or key, the processing order, input and output fingerprints, a residual risk note, the approver and a review trigger.
Why do hashed values change between runs?
Many tools salt hashes, and some generate a random salt for each value or call unless you provide one. Presidio's documentation, for example, says its hash operator has used a random salt by default since version 2.2.361. To keep pseudonyms stable across batches you must supply and securely hold a consistent salt, which itself raises re-identification risk.
Do I need to record decisions to keep a field?
Yes. Keep decisions are the ones reviewers question most, because a field that survived looks like a gap. Record the utility reason, the residual risk and who accepted it, in the same record as the removals.
Is a decision record enough to make data safe to license?
No. It documents privacy preparation, but licensing also depends on ownership, contracts with customers and suppliers, and the agreement with the recipient. Counsel should review those questions separately from the de-identification record.
Sources
- The ICO says a conclusion that data is effectively anonymized must be documented, justified and kept under review, and that the motivated intruder test must be used to assess identifiability. Source
- HHS guidance describes two HIPAA de-identification methods, including expert determination, in which the expert documents the methods and results that justify the determination. Source
- The FTC's 2012 report treats data as not reasonably linkable when a company de-identifies it with reasonable measures, publicly commits not to re-identify it and contractually bars recipients from re-identifying it. Source
- California law defines deidentified information as information that cannot reasonably be used to infer information about or be linked to a particular consumer, subject to reasonable measures and a public commitment. Source
- Presidio documents its anonymize operators and says its hash operator has used a random salt by default since version 2.2.361, so consistent pseudonyms need a supplied salt that should be held securely or discarded. Source
- Presidio states that its automated detection cannot be relied on to find all sensitive information and that additional protections should be used. Source
See if your company qualifies
A short company assessment. No data uploads are needed.