Benchmark: Agent Tests Pass 91% but Catch Bugs 26% of Time
A benchmark paper titled SpecEngineeringBench: Evaluating Coding Agents as Autonomous Specification Engineers was posted to arXiv on November 24, 2026, with an updated version released November 26, 2026 (arXiv). The paper evaluates seven frontier coding agents on their ability to act as autonomous specification engineers — writing tests from a product-requirements document against an uninspected codebase, rather than simply patching known bugs.
What the benchmark measured
The authors — Xingjian Wang, Shijian Wang, Minghao Liu, Ji Zou, Zetao Yang, Xinping Lei, Yiming Liang, Shen Yan, Enduo Zhao, Xiaoyang Shen, Weihao Xuan, Jiaheng Liu, and Ge Zhang — built a test set of 100 instances drawn from 78 open-source Python repositories spanning 16 application categories, embedding 531 real-world defects, or roughly 4 to 15 defects per instance (arXiv; AGI Hunt). Each agent was handed a requirements document and an uninspected repository, then asked to generate tests; those tests were run against both the buggy and fixed versions of the code to see whether they actually distinguished correct behavior from the recorded defects.
Why the gap matters
The headline numbers show a stark divergence. Agents hit a 91.47% Head Pass Rate — meaning their generated tests ran cleanly against corrected code — but only a 26.36% Fail-to-Pass Rate, meaning those same tests flagged the underlying defects in barely a quarter of cases (AgenticFeed). The paper also reports 80.48% Change-focused Coverage and localization recall of 78.11% at file level but just 51.29% at function level — suggesting agents can often identify which file needs attention without pinpointing the actual faulty function.
For anyone building, buying, or deploying coding agents, this matters because test-passing rates are a common proxy for code quality in CI pipelines and vendor benchmarks. If an agent's tests pass on fixed code at over 90% but catch real bugs barely a quarter of the time, teams relying on "tests pass" as a quality signal may be substantially overestimating how reliable an agent's output actually is. The paper frames this as evidence that conventional test-passing metrics can overstate real agent competence when the task requires specification-driven test authorship rather than bug-fix verification against a known failure.
The benchmark's code and data have been published on GitHub under the TokenWave-AI organization (GitHub), allowing other labs to reproduce the evaluation across the seven tested coding agents and additional models as they become available.


