01
Change Log, one row per transformation
The operation specified precisely enough for somebody else to carry out, rows in and out, cells changed, whether it is reversible, why, what the codebook said, what the removal check found, and the date it last replayed clean.
02
The replay, run every time the log grows
Rebuild from the original, diff cell by cell, record the number. A log with three rows and a non-zero diff takes a minute to debug. A log with fifteen takes an afternoon, which is why this runs continuously rather than at the end.
03
The removal check nobody runs
After any step that removes or nulls rows, the removed set compared against the whole file on place, time and the field the story turns on. This is where a cleaning decision stops being a cleaning decision and becomes a fabricated finding.
04
Field Profile, before anything is touched
Every column: what it is stored as against what it means, blanks separated from the strings that mean blank, every format present with a count. Then the values outside the range, and the question for the agency where the codebook is silent.
05
Original Data, with its hash
The file as it arrived, its byte size, its line count and a hash, so somebody else can confirm they are holding the same file. Never opened in a spreadsheet, because opening and saving an Excel file rewrites dates.
06
Methodology README
Written for a hostile reader: the reconciliation from delivered to analysed, the replay result with its date, every judgement call with the alternative it rejected and what that alternative would have produced, and what the file cannot answer.
07
Findings Note, for what the cleaning found
The cleaning turns up things about the source rather than about the world. Four hidden columns, subtotals that do not cross-foot, one county recording date ranges, 402 aborted inspections stored as text. Written the same week, because they decay. Anything that turns out to be about a person belongs in the investigation evidence file.
08
Correction Procedure
The four kinds of complaint, separated before they arrive: the source's data is wrong, the cleaning is wrong, the analysis is disputed, the wording is disputed. Plus the cause analysis that makes a year of corrections mean something. The correction and accountability pack runs the same categorization across every kind of story, not just this one.
09
A space rule every prompt reads first
The original never changes. A manual edit is a transformation with a population of one. Order is part of the specification. The log has to replay. Removing rows requires a reason and a check. And nothing here analyses.