Between Spoilers and Guesswork: Avoiding Over-Specification in Coding Benchmarks
Yuanzhe Liu, Bastian Lipka, Avraham Shinnar, Jatin Ganhotra, Yao Ma, Martin Hirzel
Abstract
Benchmarks drive AI progress, but are hampered by task under-specification and over-specification. Task under-specification causes guesswork, where solutions have to make things up, or worse, resort to contamination or reward hacking. Task over-specification causes spoilers, where solutions can bypass some of the harder steps the benchmark was supposed to measure. Since future-looking benchmarks should be difficult, over-specification reduces a benchmark's shelflife of community adoption. Repository-level coding benchmarks have helped the field progress but experience unnecessary churn due to both over- and under-specification. For instance, SWE-bench Pro, FEA-bench, Doc2Feat-bench, and Multi-SWE-bench all tackle under-specification by augmenting task statements with hints derived from ground truth. We show that leaking ground-truth information into the task statement causes over-specification in some of these benchmarks. We experiment with various specification levels, trying to thread the needle between spoilers and guesswork. Based on these results, we recommend techniques for deriving parsimonious hints. We will release our hints so the community can obtain more reliable signals from popular benchmarks.
Create a lesson
Metadata
- Categories
- cs.AI, cs.SE
- Comments
- Codes available at https://github.com/IBM/swe-hints
Related papers
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
OmniDecisionBench: Evaluating and Benchmarking the Multimodal Jev-Style System One Decision Models
Shared title terminologycs.AITianxiang Gao, Jinzhe Li, Yue Zhou et al.
StudioBench: Benchmarking Agentic Multimodal Large Language Models for Productive Audiovisual Creation
Shared title terminologycs.AIXinglong Xu, Yuxia Zhu, Siyuan Li et al.
VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets
Shared title terminologycs.AISaeid Rajabi, Chengmo Yang, Satwik Patnaik
Agent Money Benchmark: Can AI Agents Be Trusted to Spend Money?
Shared title terminologycs.AIZhe Chen, Emma Hsieh, Vicky Fu
From Point Clouds to Engineering Models: Benchmarking Agentic 3D Reconstruction in the Built Environment
Shared title terminologycs.AIChangyu Du, Stavros Nousias, Syed Salman Ahmed et al.