MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing

Priyatham Kattakinda, Wenxiao Wang, Soheil FeiziarXiv 2026

TL;DR

Passing unit tests isn't enough to get a pull request merged—maintainers also care about code style, scope, and whether the author is telling the truth about what they ran. This paper introduces MergeReady-Bench, a benchmark of 50 recent open-source tasks that grades coding agents on whether their fixes are solved, merge-ready, and trustworthy. Across 900 attempts, less than half of test-passing fixes are actually merge-ready, and adding a simple "read-only reviewer" subagent can more than double merge-readiness without changing the underlying AI model.

What Problem Does This Paper Address?

Standard coding benchmarks (like SWE-bench) grade AI agents almost exclusively on one question: do the tests pass?

In real software engineering, passing tests is just the starting line. A maintainer will send a pull request back if it alters unrelated behavior, duplicates an existing helper function, lacks a changelog entry, or fixes a symptom in the wrong layer of the codebase. Furthermore, when you delegate work to an agent, you need to trust its report: claiming a check passed when it was never run wastes human review time. Add in training-data contamination on older benchmarks and single-run evaluations that hide flakiness, and we have a distorted picture of how ready coding agents really are.

Methods

The authors evaluate each agent attempt on three strict outcomes:

  1. Solved: Hidden tests of the reported behavior pass, and existing repository tests don't regress.
  2. Merge-ready: The attempt is solved, passes every repository code check (linters, formatters, type checks, and directory scope), and receives zero requests from an LLM code-review judge (Claude Opus 5.5).
  3. Trustworthy: Two LLM judges verify process safety (did the agent stay in its workspace and actually run checks after its last edit?) and report accuracy (does its final summary match what it actually observed?).

Every task is validated against four controls before use: the original merged fix and an alternative fix must pass, while the unmodified code and known-incorrect fixes must fail.

In a second phase, the authors use their open-source plugin, agent-eval-loop, to let a coding agent iteratively tweak its own repository setup (instruction files and subagents) on seven Vue tasks while keeping the underlying model fixed.

Datasets

MergeReady-Bench consists of 50 tasks built from pull requests opened on or after August 25, 2026—after the evaluated models' training cutoffs—across 20 open-source repositories (including Vue, pydantic, ripgrep, Hono, and jackson-databind).

Unlike SWE-bench (which is older and test-only) or FrontierCode (which relies on maintainer-written rubrics), MergeReady-Bench is built from recent PRs and validated against reference fixes. Ten tasks are released publicly on Hugging Face, while 40 are withheld to prevent future model contamination.

Key Insights and Ideas

  • Passing tests $\neq$ ready to merge: Of 900 total attempts across six agents, 400 passed the tests, but only 172 were merge-ready. The culprit was rarely a linter (only 32 failures); instead, 178 attempts drew minor review requests like missing changelog entries or fixing things in the wrong layer.
  • Price doesn't buy merge-readiness: Agent costs varied 13-fold ($0.04 to $0.51 per attempt), yet merge-ready rates stayed clustered between 11% and 26%. GPT-6.1 Terra matched GPT-6.2 Sol's 21% merge-ready rate at half the cost.
  • Repositories matter more than models: Merge-ready rates swung from 3% (jackson-databind) to 40% (pydantic), a much wider spread than across the different AI models.
  • Success is fleeting: Even the top agent (Opus 5.5) was merge-ready at least once on 20 tasks, but succeeded in all three runs on only 6.
  • A separate reviewer beats self-review: Instruction files alone improved either merge-readiness or trustworthiness, never both. Adding a read-only reviewer subagent—a second pair of eyes that didn't write the code—boosted both.

Key Results

Over three runs of six agents (900 attempts total), Claude Code with Opus 5.5 led with a 55% solve rate and 26% merge-ready rate, followed by Codex with GPT-6.2 Astra (47% solved, 23% merge-ready). Trustworthy rates ranged from 71% (Haiku 5.5) to 87% (GPT-6.2 Sol).

Solve, merge-ready, and repeatability results across agents and repositories

In the Vue case study (70 trials per setup), adding a 739-word CLAUDE.md workflow file plus a read-only reviewer subagent raised Claude Opus 5.5's merge-ready rate from 23% to 49%, its solve rate from 47% to 60%, and its trustworthy rate from 77% to 96% (at a cost increase from $0.32 to $0.84 per trial).

Figure 2: Using the benchmark to improve an agent’s setup. A coding agent, running the improvement workflow of agent-eval-loop, tried 13 setups of Claude Code with Claude Opus 5.5 on the seven Vue tasks, changing only files installed in the repository; the model was fixed. Each marker is one setup, placed by its merge-ready and trustworthy rates, with area proportional to mean agent cost per trial. The path runs from the baseline (before) through two intermediate setups to the delivered one (after), each measured on 70 trials; the arrows along the axes give the gains in percentage points (pp). An instruction file alone raised either the merge-ready rate (C1) or the trustworthy rate (C8), but not both; adding a read-only reviewer subagent raised both. Other setups are labeled as in Table 2.

Limitations and Future Work

  • Judge bias: The LLM judges used Claude Opus 5.5—the same model as one of the evaluated agents and the case-study reviewer—which could introduce self-preference. Validating the judges against human maintainers and other model families is the most important next step.
  • No held-out tasks in the case study: The Vue setup improvements were derived from and tested on the same seven tasks; whether they generalize to unseen tasks remains untested.
  • Sample size: With 50 tasks (and 1–7 per repository), repository-level comparisons have wide confidence intervals.

Summary updated

BibTeX
@misc{kattakinda2026mergeready,
  author = {Priyatham Kattakinda and Wenxiao Wang and Soheil Feizi},
  title = {{MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing}},
  year = {2026},
  eprint = {2612.02506},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.02506},
}
Figure