Verification Bench

When a project claims a result, check that the code the claim rests on is the code that ran.

For AI agents: everything on this page, every skill in full, is one plain-text file: agent.md.

TurboSort
python · 23 functions · 23 calls found by reading it

A recorded run: python3 -m bench.run_benchmark

Every file, and what ran
FileFunctionsRan during the recorded run
bench/__init__.py0–
bench/datasets.py2make_dataset, all_datasets
bench/harness.py3prepare, fast_sort, time_it
bench/run_benchmark.py2main, report
tests/test_core.py2none
turbosort/__init__.py0–
turbosort/buckets.py the claim's code3none
turbosort/cache.py4__init__, store, lookup, fingerprint
turbosort/core.py the claim's code4none
turbosort/runs.py the claim's code3none

The method

Six rules, the same on every job.

  1. Pin the claim first. Write the metric, conditions, baseline and pass mark before anything runs. Never move the pass mark to fit a result.
  2. Fresh evidence only. A result is a command run now, with its full output. “Should work” is not a result.
  3. Untrusted code runs in a sandbox: a container, network off, no secrets.
  4. A project’s own “PASS” is a claim. Read the outputs yourself.
  5. Agents are claimants too. A helper’s “done” gets the same checks.
  6. Verified is not understood. Say which one you have.
The claim is aboutCheck, after pinning and a clean rerun
Speed or costmap the run, hunt hardcoding, fair baseline, limits
ML accuracyleakage, fair baseline, hardcoding
“It works”test the tests, map the run
Something thought impossiblelimits first, then the speed route

Every case ends with a cold review by a fresh session, then a verdict: holds, holds, narrower, does not hold, or can’t tell yet.

The tool belt

Claude Code skills, one per check, in the order a case runs. Take the whole belt or only the tool the job needs.

The whole tool belt11 skills, one zip. Unzip into ~/.claude/skills/, then ask for /verify.

1 · Start

  • Hand it any claim about code. It picks the route.

    Picks and orders the other skills by what the claim is about, keeps one case file of evidence, and holds the rules: pin first, fresh evidence only, untrusted code in a sandbox, agents are claimants too.

  • Before anything runs: turn the claim into a pass mark.

    Quotes the claim, names its metric, conditions and baseline, and swaps soft words like "up to" and "best in class" for numbers. Confirmed with the claimant, then frozen.

  • Does the README make the README's numbers on a clean copy?

    Fresh clone at a recorded commit, a container with the network off, the README followed literally, and the headline run repeated for a median and spread.

2 · Inspect

3 · Measure

4 · Close

  • Last step: say exactly as much as the evidence does.

    Writes the verdict from the case file alone, in four outcomes, with verified kept apart from understood and every finding pointing at a command anyone can rerun. Renders a client PDF when one is wanted.

Hand it to an agent

Point an agent at the project folder and paste this, with the claim filled in. The page can’t give an agent orders; this prompt does.

Verify this claim about the project in this folder: "<the claim, word for
word>" (from <README, email, slide>). Follow the Verification Bench method in
https://wrightfunctions.com/downloads/verification-bench/agent.md, starting
with its verify skill. Run the project's code only in a sandbox: a container
with no network and no secrets. Keep the case file in a folder beside the
project, not inside it. Ask me before anything you can't undo. Finish with the
verdict laid out as the honest-verdict skill says.

Map your own

The map is made where the code lives, then opened here. Nothing is uploaded: the file stays in your browser.

Python, with map-python.py (standard library only). --run records the run; --spotlight marks the files a claim rests on.

python3 map-python.py path/to/repo --run bench.run_benchmark --spotlight pkg/core.py --out map.json

Rust, C, JavaScript and TypeScript, with map-treesitter.py.

pip install tree-sitter tree-sitter-rust tree-sitter-c tree-sitter-javascript tree-sitter-typescript
python3 map-treesitter.py path/to/repo --out map.json

To record a run first:

LanguageRecordThen map with
C (Linux, macOS)build with trace-hooks.c: cc -finstrument-functions -g src/*.c trace-hooks.c -o app (add -ldl on Linux), then ./app--trace-chrome vb-trace.json --binary ./app
Rust or C (Linux)a debug build, then uftrace record -P . ./app and uftrace dump --chrome > trace.json--trace-chrome trace.json
JavaScript in a web pagean unminified build, served, then record-js.py --map map.json --url <page> --scroll (needs Playwright)(writes the run into the map)

Dashed lines are calls the mapper had to guess from a name; the count of calls it couldn’t place at all is in the map’s header. Every map’s format is written down.