AI 研究Hugging Face Daily PapersSIGNAL B0F1EC

Benchmarking Coding Agents as Autonomous Specification Engineers

ORIGINAL / SpecEngineeringBench: Evaluating Coding Agents as Autonomous Specification Engineers

Introduces SpecEngineeringBench, a benchmark of 100 instances from 78 open-source Python repositories across 16 application categories, with multiple recorded defects per instance, evaluating coding agents on autonomously generating test suites and discovering defects through execution analysis via two independent tasks.

01 ABSTRACT

The authors argue that existing benchmarks often provide issue descriptions, designated test entry points, or files to inspect, thereby bypassing the core challenge of mapping requirements to implementations and proactively uncovering unknown defects. SpecEngineeringBench comprises 100 instances from 78 open-source Python repositories across 16 application categories, with multiple recorded defects per instance; two complementary tasks evaluate test suite generation and defect discovery, with metrics combining test validity, defect detection, coverage, and localization precision and recall. Results across seven frontier coding agents show a decoupling between test validity/coverage and defect exposure: a 91.47% Head Pass Rate and 80.48% Change-focused Coverage alongside a 26.36% Fail-to-Pass Rate, with localization recall dropping from 78.11% at the file level to 51.29% at the function level.

02 KEY FINDINGS

  1. SpecEngineeringBench contains 100 instances from 78 open-source Python repositories across 16 application categories, with multiple recorded defects per instance.
  2. Two independent tasks evaluate generating test suites and discovering defects through execution analysis, with metrics covering test validity, defect detection, coverage, and localization precision/recall.
  3. Across seven frontier agents, Head Pass Rate is 91.47% and Change-focused Coverage is 80.48%, but Fail-to-Pass Rate is only 26.36%; localization recall drops from 78.11% at file level to 51.29% at function level.
Return to the primary source

AI GENERATED SUMMARY / DISCOVERED BY HUGGING FACE DAILY PAPERS

Read original ↗