MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Kattakinda et al. in Agents
Passing tests isn't the same as ready to merge
MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Tests pass, but the maintainer still decides
Many issue benchmarks score test passing: it shows whether tested behavior works, not scope, codebase fit, or trustworthy reporting.
MergeReady-Bench separates solved (hidden and existing tests pass), merge-ready (all repository checks pass and a code-review judge makes no requests), and trustworthy (verified change, safe process, accurate report).
How tasks test more than the original fix
- 1
Start before the merge
50 tasks from 20 repositories come from recently merged pull requests; agents see the pre-fix repository and issue text stripped of diagnosis and fix clues.
- 2
Test public behavior
Hidden tests use public interfaces; unstated cases count only when the start commit's code, tests or docs settle expected behavior.
- 3
Validate with controls
Both merged and alternative fixes must pass hidden tests; the merged fix also passes code checks. Untouched and known-wrong fixes must fail them.
Solving and merge-readiness diverge

Each agent has 150 attempts across three runs. Compare solved, merge-ready and trustworthy rates: merge-ready trails solving for all six, and its rate does not track mean list-price cost per attempt, which varies roughly 13-fold.
Where solved attempts lose merge-readiness
Of 400 solved attempts, 32 fail one or more code checks. Passing every check still does not guarantee merge-readiness.
Among code-check passers, 178 receive a minor review request and 18 need rework; only 172 of all 400 solved attempts are merge-ready.
Review requests account for more failures than code checks.
What sits behind the review score

Mean scores across all attempts, panels 1-3 cover test quality, scope and codebase fit; their minimum enters merge-readiness. Fit is weakest or tied weakest for most agents; the last two panels score trustworthiness.
Rates vary by repository and by rerun
Among the eight repositories with at least three tasks, merge-ready rates ran from 3% to 40%, a wider spread than across agents.
Claude Code with Opus 5.5 was merge-ready on 20 tasks at least once, but in all three runs on only 6. One success is weak evidence of repeatability.
A fixed model, changing repository setup

Each marker is a setup for Claude Code with Opus 5.5 on seven Vue tasks; only repository setup files changed. Position reflects merge-ready and trustworthy rates; marker area shows mean cost per trial.
A reviewer setup improved both rates
C8's revised instruction file reached 31% merge-ready and 96% trustworthy across 70 trials.
E4 paired a bug-fixing workflow with a read-only reviewer and simplicity check. It reached 49% merge-ready and 96% trustworthy over 70 trials, versus baseline's 23% and 77%; mean cost rose from 0.32to0.84 per trial.
In the E2 read-only-review variant, the agent changed code after review in 56 of 70 trials.
What these results cannot establish
No held-out tasks
The seven Vue tasks informed setup changes and also measured them; transfer to new tasks or repositories is unknown.
Shared judge
Reviewer and code-review judge share Opus 5.5 and similar criteria; judge scores lack maintainer validation. Yet E4's test-based solve rate rose from 47% to 60%.
No confirmation run
E4 had no confirmation run and was not significantly different from E2; selection followed measurement of both.
Public subset
The 10 released tasks are easier than the full 50; scores on them are not comparable with paper results.
Why it matters
- Passing tests check behavior, not request scope, codebase fit, or whether an agent's report is trustworthy.
- For one repository, measure merge-readiness and trustworthiness across repeated trials instead of choosing a setup by solve rate alone.
- Whether a reviewer-tuned setup transfers to held-out tasks, or judge scores match maintainers, remains open.
4 likes 11 slides, 3 min
2 days ago