Asa Pefferman■Product designer
← Latest
AI & tooling / 2 min read

stats-recon: making AI agents prove their numbers

Five small Python scripts that make an AI agent show its work: check the data, correct for chance findings, and match every number in its write-up to a real result.

Asa Pefferman /

The problem

If an AI agent tells you the mean was 47.3, you can't tell from the sentence whether it ran the calculation or guessed. Both read the same.

There's an older problem too. Look for patterns across 20 columns and you've run 190 comparisons. At p < 0.05, about ten of them will come up significant by chance.

What it does

stats-recon is five Python scripts. You can run them on their own or install them as an Agent Skill for Claude Code or any agent that can use a shell.

Try it

It depends on numpy, pandas and scipy.

git clone https://github.com/AsaPefferman-UI/stats-recon.git ~/.claude/skills/stats-recon
pip install -r ~/.claude/skills/stats-recon/requirements.txt

The code, its 33 tests and notes on how it was validated are on GitHub.