MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Abstract
A benchmark of 50 pull-request tasks evaluates coding agents on passing tests, merge-readiness, and trustworthiness, revealing low merge-ready rates and improvement via an agent-eval-loop plugin.
Coding agents now open pull requests, yet are judged almost entirely by whether their changes pass the tests. Passing tests is necessary but not sufficient for a merge: a maintainer also asks whether the change stays within the request, fits the codebase and comes with adequate tests, and whether its author's report can be trusted. We introduce MergeReady-Bench, a benchmark of 50 tasks built from recent pull requests in 20 open-source repositories. Each attempt is graded on three outcomes: solved (hidden and existing tests pass), merge-ready (also passes the repository's code checks, with no requests from a code-review judge) and trustworthy (the agent verified its change, acted safely and reported accurately). Every task is validated: the merged fix and an alternative fix must pass its hidden tests, while the unmodified repository and known-incorrect fixes must fail them. Evaluating six agents (three models each in Claude Code and Codex) over three runs, we find that (i) the merge-ready rate is far below the solve rate: of 900 attempts, 400 are solved but only 172 are merge-ready; (ii) merge-readiness does not track cost: mean cost per attempt varies 13-fold across agents, while merge-ready rates stay between 11% and 26%, and GPT-6.1 Terra matches GPT-6.2 Sol at half the cost; (iii) merge-ready rates vary more across repositories than across agents, from 3% to 40%; and (iv) merge-ready outcomes are poorly reproducible: even the top agent is merge-ready at least once on 20 tasks but in all three runs on only 6. Finally, the benchmark can guide improvement without changing the model: using agent-eval-loop, our open-source plugin, a coding agent revised the setup of Claude Code with Claude Opus 5.5 on seven Vue tasks, adding a bug-fixing workflow file and a read-only reviewer subagent that raised the merge-ready rate from 23% to 49% and the trustworthy rate from 77% to 96%.
Get this paper in your agent:
hf papers read 2612.02506 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 1
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper