- AI INFRA
- EVAL
- SYSTEMS
KernelMind
Agent benchmarks and auditing whether their graders can be trusted
- YEAR
- 2026
- STATUS
- PUBLISHED
- Terminal-Bench 2.0 tasks with lenient verifiers
- 12 / 26
- Terminal-Bench 4.0 wrong solutions that pass
- 24 / 24
- Inspect scorer bugs filed
- 15
- Systems-debugging tasks
- 20
[01] Overview
Tools for building and auditing agent benchmarks whose grading you can trust, plus a benchmark of systems-debugging tasks drawn from patterns in real production incidents.
[02] Problem
A benchmark score is only as good as its verifier. A verifier that accepts wrong solutions inflates scores; one that rejects correct solutions deflates them. Both are hard to see by reading tests.
[03] Approach
For each task, generate solutions whose correct verdict is already known, then run the task's own tests on all of them in a fresh container.
- Near misses: each breaks exactly one instruction sentence and must quote it. Expected verdict: fail.
- Mutants: one changed number, comparison or boolean in the reference solution, or one deleted step. Expected: fail.
- Alternatives: meet every requirement in a different way. Expected: pass.
- The candidate model never sees the tests, so candidates represent plausible mistakes rather than test-gaming.
[04] Architecture
A suspect is not a finding. Each was checked by hand, demonstrated with a differential probe where possible, and reproduced under Harbor, Terminal-Bench's own harness.
[05] Benchmark
- 20 systems-debugging tasks in Go and Python, on a Wi-Fi AP control plane and GoBGP (95k lines), many transplanting the causal chain of a real networking incident into new code.
- Every grader validated three ways: the starter fails, alternative correct fixes pass, and at least three plausible wrong fixes fail. That validation method became the auditor.
- mini-swe-agent and LiteLLM run budgeted coding-agent attempts, recording tool trajectories, costs, code changes and verifier outcomes.
[06] Results
- 12 of 26 Terminal-Bench 2.0 tasks (46%) accept a solution that is wrong by the instruction's own words, each confirmed under Harbor and reported upstream with a test fix (issues #92–#103).
- Examples: a Coq "proof" that assumes the theorem as an axiom, a "cleaned" repository that still returns the leaked secret to git show, a pipeline-parallel training step that never runs the backward pass.
- The auditor's own error rates were measured on planted flaws: gross flaws 4/4, subtle flaws 2/7.
- Negative result, written up: over 8 rounds and 122 attempts, the cheapest current models solved every task design tried.
[07] Terminal-Bench 4.0
- A model read each task's instruction, tests and reference solution and wrote scripts for the ways a wrong solution could pass; every script was checked under Harbor.
- All 24 hand-picked wrong solutions, across 23 tasks, scored reward 1.0. 10 had been reported by earlier audits; 9 gaps were new.
- 8 filed upstream (#2730–#2737), with test-fix PRs for three of them.
[08] Scorer stress test
kernelmind stress wraps a scorer from Inspect, the UK AI Security Institute's eval framework, and re-runs it on rewritten answers: rewrites that must not change the verdict (bold, a full stop, a case change), rewrites that must not be marked correct (a hedge, a superseded draft), and empty judge replies that must stay unscored.
- 16 probes, 126 rewrites, 46 findings; all 18 hand-confirmed findings re-found, and fixed scorers come back clean.
- 15 scorer bugs filed: 4 in inspect_ai, 11 in inspect_evals.
- Runs offline against Inspect's mock model, so it costs nothing to re-run.
[09] Status
Published with a full report, an audit log, a calibration study and four blog posts.