SpecBench: Evaluating Specification-Level Reasoning for Software Engineering LLM Agents
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Software engineering (SWE) agents are transitioning from code generation to full software development lifecycle automation. A critical phase in this lifecycle is specification design: transforming initial proposals into carefully considered requirements through expert review. Existing benchmarks such as SWE-Bench are implementation-focused by measuring the agent's ability to generate code given fixed, precise design requirements. This formulation assumes specifications are correct and complete. In real-world complex and critical software systems, initial specifications are often incomplete and flawed, requiring extensive expert reviews and revisions before being accepted for implementation. To fill this gap, we introduce SpecBench to evaluate specification-level reasoning: the ability to generate complete, unambiguous, consistent, and correct system specifications. SpecBench tasks are derived from the Request for Comments (RFC) process used by mature open-source projects. For each task, an agent is given an initial design proposal, the project codebase, and all past project RFC discussions. The agent is tasked with identifying specification deficiencies: omissions, ambiguities, inconsistencies, or incorrect assumptions in the initial proposal. We evaluate predictions against critiques raised by expert maintainers during historical RFC reviews. SpecBench contains tasks from 5 diverse repositories: Kubernetes, React, Rust, TVM, and vLLM. We evaluate state-of-the-art SWE agents on SpecBench, analyzing their capacity to reason about system design without execution feedback. The best performing agent, GPT-5.4, achieves 44.4% accuracy.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 7 of its 23 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
7 of 23 references.
Closest ancestors · 1
Same direction, newest first
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
Other references · 6
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,276
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Building to the Test: Coding Agents Deliver What You Check, Not What You Requestedcited by 4
- 2026EvoPolicyGym: Evaluating Autonomous Policy Evolution in Interactive Environmentscited by 2
- 2026Towards Assurance Closure in AI-Native Large-Scale Agile Software Developmentcited by 0
- 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generationcited by 0
- 2026IdeaAMBIG: Benchmarking Implementation-Critical Gaps in Research-Idea Specificationscited by 0
- 2026RepoMAS: Solving Progressively Specified Tasks with Issue-Driven Multi-Agent Systemscited by 0
- 2026RepoMAS: Solving Progressively Specified Tasks with Issue-Driven Multi-Agent Systems26 Sep 2026
- 2026IdeaAMBIG: Benchmarking Implementation-Critical Gaps in Research-Idea Specifications9 Sep 2026
- 2026Grounding AI Agents in Contracts: An Empirical Evaluation of Spec-Driven Test Generation17 Aug 2026
- 2026Towards Assurance Closure in AI-Native Large-Scale Agile Software Development7 Aug 2026
- 2026EvoPolicyGym: Evaluating Autonomous Policy Evolution in Interactive Environments2 Jul 2026
- 2026Building to the Test: Coding Agents Deliver What You Check, Not What You Requested26 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026SpecPath: Testing Coding Agents Across Contract-Equivalent Specification Histories
- 2026SpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from Scratch
- 2026Beyond Type-checking: Towards Holistic Evaluation of Formal Specification Generation
- 2026Verus-SpecGym: An Agentic Environment for Evaluating Specification Autoformalization
- 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering
- 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
- 2025Saving SWE-Bench: A Benchmark Mutation Approach for Realistic Agent Evaluation
- 2026LiveFMBench: Unveiling the Power and Limits of Agentic Workflows in Specification Generation