It wrote its own checks.
AntStreet checks your AI coding agent's work against tests it never saw, so "all tests pass" actually means something.
The data
Every check it wrote passed. Then the hidden checks ran.
Each cell is one run where the AI wrote the code and its own checks, and all of its checks passed. A red diamond failed a check it never saw.
Arrow keys move between runs; the panel below the legend shows the selected run.
- its own checks passed
- failed a hidden check
- the strict count drops it
Pick a cell to see its task, its run and the hidden check it failed.
29 of 77 runs passed their own checks and failed a hidden one (16 of 77 under a strict count; 17 small Python tasks; Haiku)
Runs of one task fail alike: resampling tasks widens the 38% interval to 20-57%.We read all 29 against the task text and judge each a real error. One class, tokenbucket's int-vs-float return, is debatable.
The 13: 9 failed only on non-ASCII input and 4 only on an int returned where the task says float.
One of the false passes
Same number?
-
Yes. Arabic-Indic digits.
They are everyday digits in much of the world, and Python reads them as numbers. The joke is the code's assumption, never the script.
-
Task
Digits are only the ASCII characters 0 to 9.
From the bigdecimal task's rules, bench/tasks/bigdecimal/idea.md. Anything else must raise
ValueError. Read the task -
The AI's code used
Run under Python 3.12; int("١٢٣") is 123 too. The product tested digits with str.isdigit."١٢٣".isdigit() TrueTask: reject. Code: accept.
-
The hidden check
Hidden check: failed
DID NOT RAISE ValueError -
9 of the 29 failed only on non-ASCII input
29 of 77 runs passed their own checks and failed a hidden one (16 of 77 under a strict count; 17 small Python tasks; Haiku)
How it works
Checks you approve. A gate that decides. A record that stays.
- You approve the checks. They are signed and sealed before the agent starts.
- The agent builds blind: it never sees the sealed checks.
- A sandboxed gate runs them. Plain code decides, not the agent.
- Every decision is written down in a signed, hash-chained record.
Try it
Seal the checks first. Check the "done" after.
You need macOS or Linux, Python 3.12+, uv and Claude Code, logged in. AntStreet runs from a clone today; PyPI is coming.
git clone https://github.com/kgorle1111/antstreet.git ~/antstreet
cd ~/antstreet && uv sync alias antstreet="uv run --project ~/antstreet antstreet"
antstreet audit plan --request ~/req.txt # before the agent starts
antstreet audit check --claim done # when it says it is done
antstreet audit report # every verdict so far Also: fund a build, the experimental mode where budget-capped agents build until the gate says pass.
Results
We publish every no.
Each rule is fixed in bench/PREREG.md before the run. "Not shown" means the paired 95% interval did not clear the bar. Read the pre-registrations.
-
blind35Not shown
A team of agents against one agent, blinded
64 of 105 delivered against one agent's 62 of 105, at about 2.4 times the cost
Paired by task, the difference is not shown. 35 tasks, 3 runs each, Haiku. Write-up: A team of agents against one agent, blinded -
E1Not shown
Held-out checks from a separate examiner
Caught 0 of 17
The examiner's held-out checks (3 per cell) passed in all 17 false-pass cells. Write-up: Held-out checks from a separate examiner -
E3Not shown
Parallel waves on multi-file work
0.80x against a 1.3x bar
Median time to delivery; 8 multi-file tasks x 3 runs, Haiku. Write-up: Parallel waves on multi-file work -
E4Not shown
A fresh-context critic against self-review
+0.0571 [-0.0381, +0.1619]
Paired delivery, critic against self-review; 35 tasks x 3 runs, Haiku. The interval includes zero. Write-up: A fresh-context critic against self-review -
E4bNot shown
The same critic, with room to finish
+0.0952 [-0.0000, +0.1905]; 74/105 (70%) delivered, about 1.56x the cost per delivered task
The lower bound is slightly negative unrounded; the rule needs it above zero. Write-up: The same critic, with room to finish
Honest limits
- The false-pass rate is for small, strict standard-library tasks, one model (Haiku) writing both the checks and the code, and workers with no shell. It is not a rate for coding agents in general.
- Runs of one task fail alike, so the per-run interval is too narrow. Resampling whole tasks widens it; use the wider interval for claims about tasks.
- It does not estimate how often you would hit a bug. Hidden checks probe every rule the task states, including exotic input.
- The hidden checks were written by Claude, separately from the agents measured, and never shown to any agent. A different reader may judge the tokenbucket cells debatable.
- An unrefuted audit claim is not a correct one: the sealed checks catch only some wrong implementations, so the false-pass rate shown is a floor.
Roadmap
Up next. Only unbuilt items are listed.
Now
- antstreet on PyPI: so nothing needs a clone. Publishing is imminent, not done.
- CI export: carry a sealed run to CI so the GitHub Action needs no manual step.
Next
- First run: a short --help, a timed fresh-machine run in the README, a first-run guide.
Already built: a one-command audit (antstreet audit) with a Claude Code Stop hook, and check strength, which flags checks that pass deliberately broken copies of the changed code. See the roadmap for the full shipped list.
How it's engineered
Built to be checked, too.
-
5,700+ tests
Counted by pytest --collect-only; a test keeps this floor true. -
96% coverage floor, about 98% measured
Line and branch coverage over src/antstreet, enforced in CI. -
74 threat rows
A threat model with a test per row. -
46 recorded design decisions
Each says what was decided, why, and what was rejected. -
9 pre-registered experiments
Five have run; none has shown its benefit. -
3.12+ Python, Apache-2.0
macOS or Linux; Apache-2.0. -
strictmypy, over src/antstreet
Type-checked in CI.
I built AntStreet. Kannishk Naidu Gorle, github.com/kgorle1111