SpecBench: Evaluating Specification-Level Reasoning for Software Engineering LLM Agents

Grant Hamblin, Kevin Song, Zhanda Zhu, Anand Jayarajan, Sihang Liu +2 more
5/28/2026
cs.MA

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hamblin2026specbench,
  title  = {SpecBench: Evaluating Specification-Level Reasoning for Software Engineering LLM Agents},
  author = {Grant Hamblin and Kevin Song and Zhanda Zhu and Anand Jayarajan and Sihang Liu and Nandita Vijaykumar and Gennady Pekhimenko},
  year   = {2026},
  eprint = {2605.30314},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.30314v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.30314.svg)](https://codeofpaper.com/paper/2605.30314)

Discussion