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.

Read the audit

One of the false passes

Same number?

  1. 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.

  2. 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

  3. The AI's code used

    "١٢٣".isdigit()  True
    Run under Python 3.12; int("١٢٣") is 123 too. The product tested digits with str.isdigit.

    Task: reject. Code: accept.

  4. The hidden check

    Hidden check: failed

    DID NOT RAISE ValueError
  5. 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.

  1. You approve the checks. They are signed and sealed before the agent starts.
  2. The agent builds blind: it never sees the sealed checks.
  3. A sandboxed gate runs them. Plain code decides, not the agent.
  4. Every decision is written down in a signed, hash-chained record.
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.

Replay of a test-suite run with a fake model: audit plan seals 2 of 4 checks, the agent's own tests pass, audit check says REFUTED with c01 and c02 failed, and audit report adds the floor sentence.
A replay of a test-suite run (fake model), not a live recording. Output trimmed.
Install from a clone
git clone https://github.com/kgorle1111/antstreet.git ~/antstreet
cd ~/antstreet && uv sync
Then, in the repo your agent will change
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.

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.

The full audit, with every case

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.

The full roadmap

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.

This page holds itself to the same rule: every number on it is bound to its source file by a test, and its motion passes a reading-time lint. The technical README has the rest.

I built AntStreet. Kannishk Naidu Gorle, github.com/kgorle1111

Checks your AI coding agent's work against tests it never saw.