SpecEngineeringBench tests whether coding agents can decide what to test and find real defects
SpecEngineeringBench contains 100 instances from 78 open-source Python repositories, each with several recorded defects, and asks coding agents to derive tests from requirements and find bugs without being told where to look. Across seven frontier coding…
Why it matters
It is a reminder that high coverage and green tests from AI-generated suites do not mean bugs are being caught.
What happened
1 min readSpecEngineeringBench contains 100 instances from 78 open-source Python repositories, each with several recorded defects, and asks coding agents to derive tests from requirements and find bugs without being told where to look. Across seven frontier coding agents, generated tests pass 91% of the time and reach 80% change-focused coverage, yet only 26% actually expose a defect (fail-to-pass). Localization recall drops from 78% at file level to 51% at function level.
Our analysis
The key takeaway is that test validity and coverage are decoupled from defect discovery, which is exactly the trap teams fall into when they trust agent-written test suites by coverage numbers. The benchmark covers only Python, and the abstract does not name the seven agents, so it gives no basis for comparing products. The few-point localization gains from autonomous test generation are modest. Worth a look for teams accepting agent-generated tests into CI.