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.
A recorded run: python3 -m bench.run_benchmark
Every file, and what ran
| File | Functions | Ran during the recorded run |
|---|---|---|
bench/__init__.py | 0 | – |
bench/datasets.py | 2 | make_dataset, all_datasets |
bench/harness.py | 3 | prepare, fast_sort, time_it |
bench/run_benchmark.py | 2 | main, report |
tests/test_core.py | 2 | none |
turbosort/__init__.py | 0 | – |
turbosort/buckets.py the claim's code | 3 | none |
turbosort/cache.py | 4 | __init__, store, lookup, fingerprint |
turbosort/core.py the claim's code | 4 | none |
turbosort/runs.py the claim's code | 3 | none |
The method
Six rules, the same on every job.
- Pin the claim first. Write the metric, conditions, baseline and pass mark before anything runs. Never move the pass mark to fit a result.
- Fresh evidence only. A result is a command run now, with its full output. “Should work” is not a result.
- Untrusted code runs in a sandbox: a container, network off, no secrets.
- A project’s own “PASS” is a claim. Read the outputs yourself.
- Agents are claimants too. A helper’s “done” gets the same checks.
- Verified is not understood. Say which one you have.
| The claim is about | Check, after pinning and a clean rerun |
|---|---|
| Speed or cost | map the run, hunt hardcoding, fair baseline, limits |
| ML accuracy | leakage, fair baseline, hardcoding |
| “It works” | test the tests, map the run |
| Something thought impossible | limits 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.
~/.claude/skills/, then ask for /verify.1 · Start
2 · Inspect
3 · Measure
4 · Close
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:
| Language | Record | Then 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 page | an 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.