SpecEngineeringBench tests coding agents as specification engineers
Original title: SpecEngineeringBench: Evaluating Coding Agents as Autonomous Specification Engineers
Seven frontier agents reach a 91.47% head pass rate but only a 26.36% fail-to-pass rate on 100 instances from 78 Python repositories.
The paper introduces SpecEngineeringBench, 100 instances drawn from 78 open-source Python repositories across 16 application categories, each with multiple recorded defects. Agents must generate tests from functional requirements and discover defects by execution, without being given an issue description, a designated test entry point, or files to inspect. Across seven frontier coding agents, high test validity and coverage do not translate into defect exposure, and localization is much weaker at function level than at file level. Generating new tests modestly improves localization over using only existing repository suites.
Unconfirmed: Results are the authors’ evaluation of unnamed frontier coding agents and are not independently verified.
- Agents score 91.47% Head Pass Rate and 80.48% Change-focused Coverage.
- Fail-to-Pass Rate is 26.36%.
- Localization recall falls from 78.11% at file level to 51.29% at function level.
- New tests raise file, function, and hunk recall by 4.99, 2.77, and 2.69 points.
From the original article
1 min read at huggingface.coAutonomous specification engineering requires coding agents to translate functional requirements into executable tests and use the results to discover and validate defects.
By Xingjian Wang, Shijian Wang, Minghao Liu · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.