Sign inGet started
Paper · arXiv

SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents

As long-horizon coding agents produce more code than any developer can review, oversight collapses onto a single surface: the automated test suite. Reward hacking naturally arises in this setup, as the agent optimizes for passing tests while deviating from the users true goal. We study this reward hacking phenomenon by decompose software engineering tasks into three parts: (i) a natural language description of the specification (ii) visible validation tests that exercise specified features in isolation, and (iii) held-out tests that compose those same features to simulate real-world usage. Based on the specification and the visible validation test suites, a genuine agent would be able to ...

AuthorsBingchen Zhao, Dhruv Srikanth, Yuxiang Wu et al.
Primary categorycs.SE
Published20 May 2026
Last updated at source9 September 2026
cs.SEcs.AIcs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/828119d9-a5a1-4fdb-9052-fccee387ad38" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.