Methods

Tech stack

Data forensics

AI strategy

We used Claude Code as a supervised analyst, not for narrative or strategy. We required that it work only from raw source data files. Source files were referenced to create JSONs with source file information and checksums for validation.

Auditing AI data manipulation

Following the Chain of Custody Audit Card, we archived raw files unaltered with a manifest of their origins and checksums. Every transformation runs through a script that logs what it did: which row it read as the header, which columns it left as text, and which source file each year came from. Nothing was rounded or imputed, and we audited outputs. We compared each new graph against the previous one, and ensured that parts add up to their totals: states to national figures, counties to states, and visa classes to their categories.

Mitigating bias and hallucination

Our audit caught one problem directly. AI swapped the Census’s April–June 2020 figure for a full-year number from an older release, and that changed the shape of the graph. We reverted it and began flagging partial years instead of altering them.

Methodologies behind the visuals

Limitations. Dots are placed approximately around ZIP code, tract and county centres. Visa, green-card and ICE detention data run on fiscal years, ICE removals on calendar years, and the Census counts years ending 1 July.