Coding agents achieve high test coverage but miss defects in new benchmark
The authors of an arXiv preprint introduced SpecEngineeringBench to measure how coding agents turn requirements into tests and use test results to locate defects. The benchmark covers 100 cases from 78 open-source Python repositories. Across seven agents, tests reached 80.48% coverage of code affected by changes, while the fail-to-pass rate was 26.36%. The agents located 78.11% of affected files and 51.29% of affected functions. Generating new tests improved function-level recall by 2.77 percentage points over using existing repository tests alone.
Why it matters
In these Python repositories, high test coverage gave an incomplete picture of how well coding agents could expose defects. Measuring whether tests distinguish faulty code from fixed code captures a capability that coverage alone misses.
Sources
- PrimaryarXivSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.