Three LLM (claude-haiku-5-5) read each finished agent PR with its issue and score it. check the judges themselves. 3 PRs judged, $0.02 so far. Runs have the agents’ own cost.
Scope v1
100%
· mean 0.83
Done when v1
67%
· mean 0.96
Code quality v1
100%
· mean 0.75
with hand labels
How often each judge’s pass or fail matches the owner’s own, over PRs labelled by hand. A judge that rarely agrees isn’t worth reading.
No hand labels yet: run npm run judge -- --sample-labels 15, then fill in passed (1 or 0) in the labels table in InvokeDB.
by week
By the week the PR merged (or opened, if it was closed), UTC. Each cell is the pass rate and how many PRs it’s over.
Week of
Scope
Done when
Code quality
Nov 23
100% (3)
67% (3)
100% (3)
Failed judgments
The lowest scores first, with the judge’s reasoning. Open one for the details it found.
The pure rules, their unit tests, the app section and the README/AGENTS.md docs are all present in the diff. The data item is only partly satisfied from the diff: the schema and collector code exist, but the columns are not yet created in InvokeDB and the backfill has not been run, which the PR itself says is left for the owner.
The checklist
met Escapes are detected by the rules above, with unit tests (file overlap, the 7-day window, excluded files and PRs, revert and reopen)
test/escapes.test.mjs covers file overlap ('a bug fix sharing a file within 7 days is an escape'), excluded files ('only shared files that count are overlap: docs and lockfiles are not'), the 7-day window ('the 7-day window: after the merge, up to 7 days on'), excluded PRs ('Dependabot and deps/* PRs are never follow-up fixes'), revert ('a revert naming the PR is an escape') and reopen ('its issu…
partly `work_items` has `escaped`, `escaped_by`, `escape_kind`, filled by `npm run collect` (backfilled)
lib/schema.mjs adds n('escaped'), n('escaped_by'), s('escape_kind') and s('escape_files'), and lib/collect.mjs calls escape_of() and spreads the result into each work item. However, the PR says the columns are not yet in InvokeDB (setup-tables.mjs not run) and the collector has not been run, so the backfill has not happened. The diff contains the code path but not the filled data.
met The app shows the escape rate over time and the list of escapes with their evidence
app/p/[project]/signal/page.tsx adds an Escapes component with the 'Escape rate' tile, a BarChart per day or week of decided items, and a table of escapes showing the PR, issue, merge date, kind, fixing PR link ('Fixed by') and shared files. The page shows 'Not decided yet' when no item is decided.
met README and AGENTS.md describe the metric and its limits
README.md adds an 'Escaped defects: the rules and their limits' section that describes the rules and states the limits ('the file overlap is a heuristic... the rules only see what the repo records'). AGENTS.md adds an 'Escaped defects (#15, lib/escapes.mjs)' bullet with the rules and 'Limits:' text. docs/PLAN.md is also updated.