Tracetoon
prbench · the benchmark behind our results

Other benchmarks read the diff. prbench reads the receipts.

prbench replays real pull requests from the coding agent's own session logs: what the user asked for, what the agent tried, what actually ran. A PR tool writes the description in a sealed sandbox, exactly as it would on your machine. Blind judges then check every claim against an expert-reviewed fact sheet. It's open source, the cases are downloadable, and you can run it yourself.

  1. > add --systems edit compare.ts $ bun run test The real session The redacted Claude Code or Codex transcript that produced the change.
  2. SANDBOX Sandboxed writer The PR tool runs for real, with the repo bundle and logs on disk. A fake gh catches the PR.
  3. PR PR draft Candidate and baseline each write the same PR, three times over.
  4. A B B A Two judges, both orders Blind and swapped. A pick counts only when both judges agree.
  5. ? Fact-sheet scoring Claims, context, uncertainties, traps, plus a 10-item reviewer rubric.
  6. CHECKED Expert error check Every factual error a judge flags is re-checked against the evidence by expert models.
  7. $ Results you can trust Paired wins, score with 95% intervals, confirmed errors, cost per draft.

Same cases, same evidence, same models on both sides. Only the PR tool changes.

The results

Three runs. All published.

prbench is behind every result Tracetoon publishes. The flagship run puts Tracetoon against the same agent writing the PR on its own. The golden run puts Tracetoon's evidence-graph brief against its original multi-agent workflow. The first evidence-graph study ran the same comparison on 5 PRs before it was repeated at scale. Each provider runs separately, with its own writer and its own two judges.

Two-panel comic. Trust me, it's great: on a dark blue stage the developer stands proudly holding up a blank pull request while three grey robot judges in the front row fold their arms, one squinting through a magnifying glass. Show the receipts: on a bright yellow stage he unrolls a long receipt that spills over the stage edge while the cheering judges hold up score cards reading 72-9, 111-19 and 79-38, next to a gold trophy.
61real PRs from 12 repositories
33 · 28Claude Code · Codex sessions
732drafts per 61-PR run, 3 per PR per system
1,464judge readings per 61-PR run, both orders
3published runs, each with its data

Newest November 23, 2026 · 61 real PRs · Opus 5.5 · Sol 6.1

Tracetoon vs your agent alone

Most people ask the agent they're already coding with to open the PR. So we compared exactly that: Claude Code on Opus 5.5 and Codex on Sol 6.1 writing the PR on their own, against the same agent in the same session using Tracetoon. Each PR was written 3 times by each system and judged blind.

  • 72–9 · 111–19judges' picks, Opus · Sol
  • 52.8 → 68.3quality score on Opus (Sol: 64.1 → 78.1)
  • $1.29 · $3.50 → $0.93cost per PR in a long session
Read the full report →

November 16, 2026 · 61 real PRs · Codex · Claude Code

The evidence graph on 61 real PRs

Tracetoon against its own earlier self: the evidence graph and a single writer, against the original multi-agent workflow that re-read the logs at every step. Run on 61 real PRs from 12 repositories, with fact sheets reviewed by experts.

  • 79–38 · 60–21picks for the graph, Codex · Claude Code
  • −70% · −43%cost per PR
  • 82% vs 72%key facts conveyed on Codex

Not perfect yet: on Codex the graph drafts carried more confirmed factual errors (0.33 vs 0.16 per PR), and on Claude Code they conveyed slightly fewer key facts (73% vs 77%). The report lists every criterion.

Read the full report →

November 12, 2026 · 5 real PRs × 5 runs · Claude · Codex

Where it started: the first evidence graph

The first test of the idea. We put a deterministic evidence graph, built in the embedded Relate database, between the session logs and one mid-size writing model, and judged it against Tracetoon's full multi-agent workflow. It was a small test; the 61-PR report above repeats the comparison at scale.

  • 18–1 · 12–1picks for the graph, Claude · Codex
  • 59% · 65%of the workflow's token cost
Read the full report →
All three runs side by side, with every caveat
Flagship run: Tracetoon versus the same agent writing alone
Tracetoon vs agent aloneCodexClaude Code
Session model · judgesSol 6.1Sol + TerraOpus 5.5Opus + Sonnet
Picked by both judges111–1945 without consensus72–979 without consensus
Score (0–100)+14.078.1 vs 64.1 · ±1.2+15.568.3 vs 52.8 · ±2.0
Cost per PR, 500k-token session−73%$0.93 vs $3.50−28%$0.93 vs $1.29
Judge-flagged errors per PR0.15 vs 0.180.16 vs 0.32

Against your agent alone. The same 61 PRs, each written 3 times by Claude Code on Opus 5.5 and Codex on Sol 6.1 with and without Tracetoon in the same session. Cost assumes a session carrying 500k tokens; with a short session the saving shrinks. Full results → · data

Golden run: evidence-graph brief versus the original workflow
Graph vs originalCodexClaude Code
Writer · judgesTerra 6.1Sol + TerraSonnet 5.5Opus + Sonnet
Picked by both judges79–3868% · 95% CI 56–79%60–2174% · 95% CI 62–85%
Score (0–100)+3.375.3 vs 72.0 · CI +1.0 to +5.5+3.563.2 vs 59.8 · CI +0.8 to +6.1
Cost per draft−70%$0.128 vs $0.447−43%$0.344 vs $0.654
Confirmed errors per draft0.33 vs 0.16more errors: fails the accuracy gate0.47 vs 0.84fewer errors
Key facts conveyed82% vs 72%73% vs 77%slightly fewer, within the 5-point margin
First evidence-graph study: graph versus the original workflow on 5 PRs
First study, 5 PRs × 5CodexClaude Code
Writer · judgesTerra 6.1Sol + TerraSonnet 5.5Opus + Sonnet
Picked by both judges12–112 ties18–16 ties
Score (0–100)+3.586.6 vs 83.2 · CI +1.8 to +5.1+5.278.9 vs 73.7 · CI +2.5 to +8.0
Cost per draft−35%$0.207 vs $0.320−41%$0.407 vs $0.690
Judge-flagged errors per judgment0.00 vs 0.070.08 vs 0.09level

Small and early. Five PRs from Tracetoon's own repository (real-cases 1.0.0), 5 drafts per PR per side, the build that shipped at the time. A same-build Codex rerun gave +5.2 (13–2), so expect about ±3 points between runs. The first study → · method and rerun

The benchmark doesn't play favorites. prbench is built by the Tracetoon team, and it still failed our own Codex candidate on accuracy. The same 61 PRs were also used to tune the brief; there is no separate held-out set. Every caveat, chart and per-case result →

What's different

A diff shows what changed. The session shows why.

An AI agent's pull request is the end of a long conversation. The user explained the goal, the agent made a plan, tried things, and ran tests. A PR tool worth using should turn that into a description a reviewer can trust. You can only measure that if the benchmark has the conversation too.

What a diff-only benchmark sees

@@ src/cli.ts @@
+  .option("--systems <list>",
+    "writer systems: native,
+     baseline, candidate")
@@ src/comparison.ts @@
-  const SYSTEMS = ALL_SYSTEMS;
+  const SYSTEMS = selected(opts);

Can't tell: why the option exists, or whether the tests passed. A writer is left guessing, and a grader can't catch the guess.

What prbench sees as well

The user asked fora smaller test matrix, to cut the cost of comparisons
The agent plannedskip the native writer and judge candidate vs baseline only
And actually ranbun run test → 240 passed, 1 skipped, 3 failed

So it can check: does the PR say why, and does it report the failing tests honestly instead of “tests pass”?

An illustration, simplified from the prbench-compare-systems case, the worked example on the results page. There, the agent opening the PR on its own wrote “bun run test running”; the recorded run went on to fail.

Only prbench does this

End to end, from the agent's real logs.

Typical PR and code-review benchmarks start from a diff and compare text. As far as we know, no other PR test framework replays the pull request from the agent's actual session logs and runs the PR tool the way it really runs.

Question
Typical PR benchmarks
prbench
Does it replay the agent's real session?
TypicalNo. PR datasets hold diffs, comments and outcomes, not the agent's conversation.
prbenchYes. Each case ships the redacted Claude Code or Codex sessions that produced the change.
Can it see what was asked and what ran?
TypicalOnly what the diff and commit messages imply.
prbenchRequests, plans, decisions and recorded test runs, for the writer and the judges alike.
Does the tool run the way it runs for real?
TypicalUsually a model prompted with the inputs.
prbenchThe real agent CLI with the tool installed, in an isolated sandbox with its own home and a fake gh. Probes check that each side sees only its own skill.
Are claims checked against evidence?
TypicalText overlap with a reference description, or one overall score.
prbenchClaim by claim against an expert-reviewed fact sheet, including the traps a writer might fall into.
Is judging blind and paired?
TypicalOften one reading per output, which leaves room for position and length bias.
prbenchBranding stripped, two judges, both orders. A win needs both judges to pick it in both orders.
Are flagged errors double-checked?
TypicalThe judge's word is final.
prbenchEvery flag goes to expert models; only confirmed errors count.
Does it report what quality costs?
TypicalRarely.
prbenchCost per draft from measured token use, compared pair by pair.

“Typical” describes the common setup of PR-description and code-review evaluations as we found them in our related-work survey, not any one project. Statistics: paired design (same cases, evidence and models on both sides), three replicates per case, and 95% bootstrap intervals clustered by case, so repeats never count as extra cases.

Your turn

Run it yourself in 3 steps.

The cases are a public download: frozen repository bundles, redacted sessions and fact sheets, consented by their owners. You need Bun 1.3.14+, Git, and the Codex or Claude Code CLI for the model steps.

  1. Install prbench

    One global install from the GitHub release.

    bun install --global https://github.com/Tracetoon/prbench/releases/download/v0.4.0/prbench-0.4.0.tgz
  2. Fetch the cases

    Downloads, verifies every file's checksum and caches the 61-case library. No account, no model calls.

    prbench datasets list
    prbench datasets fetch real-cases@4.0.0
    prbench preflight --dataset real-cases@4.0.0
  3. Compare two builds

    Sign in a separate benchmark login, preview the plan for free, then run and score. Point the two skill folders at the builds you want to compare (each with its platform binary in bin/).

    prbench auth codex
    prbench compare --provider codex --models gpt-6.1-terra@medium \
      --systems baseline,candidate --purpose diagnostic \
      --dataset real-cases@4.0.0 \
      --baseline-skill skills/baseline --candidate-skill skills/candidate \
      --out results/my-run --plan

    Happy with the plan? Run the same command without --plan, then score it:

    prbench compare --provider codex --models gpt-6.1-terra@medium \
      --systems baseline,candidate --purpose diagnostic \
      --dataset real-cases@4.0.0 \
      --baseline-skill skills/baseline --candidate-skill skills/candidate \
      --out results/my-run --parallel 10
    prbench score results/my-run --dataset real-cases@4.0.0

    For Claude Code, run claude setup-token, pipe the token into prbench auth claude, and use --provider claude --models claude-sonnet-5-5@medium. These are the golden run's settings: 3 drafts per PR per side. For a cheaper first pass, add --replicates 1.

What gets comparedcompare runs a baseline and a candidate build of an agent skill, like two Tracetoon versions. To add a different kind of PR tool, implement one System; the judges only ever see the finished PR.
Logins stay separateSandboxes get their own home folder, so your everyday agent login is never copied in. The benchmark uses its own Codex login or Claude token.
Stop, resume, reuseInputs are frozen and hashed. --resume picks up where a run stopped, and a shared --cache reuses baseline drafts across runs.
Before you hit enter

What it costs, and how long it takes.

Everything up to the run itself is free. The paid part is your writers and your judges, on your own model login.

StepCostTime
Fetch, preflight, --plan, --prepare-onlyFree no model callsMinutes
Writers (your tool)Whatever your tool spends. Tracetoon in the golden run: $0.13–$0.45 per draft on Codex, $0.34–$0.65 on Claude CodeAbout 5–8 min per draft (median), many in parallel
Judges on Codex (Sol + Terra)Uses your Codex login's quota; prbench records no dollar costA 25-pair run takes about 30–40 min at --parallel 10
Judges on Claude (Opus + Sonnet)About $1.60 per pair (4 readings), from our 25-pair reference run

Rough sizes: the full library at 3 replicates is 183 pairs per provider (366 drafts, 732 judge readings). On Claude Code that is roughly $290 of judging plus writer costs; with --replicates 1 it is a third of that. The golden run took about 3½–4 hours per provider, with the original-workflow drafts reused from cache. To rerun the flagship benchmark exactly, follow its step-by-step guide. Judges are stochastic, so a rerun won't match our numbers exactly; expect the same direction with intervals of similar width.

Think your PR tool is better? Prove it.

Same 61 PRs, same receipts, same judges. Bring your build, run the benchmark, and see what the evidence says.