Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

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…

Published Read the original
SpecEngineeringBench tests whether coding agents can decide what to test and find real defects

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 read

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 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.

inscraper analysis

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.

More in Research