Coding agents passed the tests on 400 of 900 attempts in a new study, but only 172 of those changes were ready to merge, according to researchers at RELAI, a startup that builds tools for evaluating AI agents. The paper, called MergeReady-Bench, came out alongside an open-source plugin named agent-eval-loop, which drew wide attention on X on Dec. 1.
A coding agent is an AI tool that edits a codebase on its own. It often opens a pull request, a proposed change that a project's maintainers review before merging it into the main code.
Why passing tests isn't enough
Most coding benchmarks, led by SWE-bench, score an agent on whether its change passes the tests from the project's own fix. The paper's authors, including RELAI founder Soheil Feizi, a computer science professor at the University of Maryland, argue that a maintainer asks more than that.
According to the paper, they built 50 tasks from recent pull requests in 20 open-source repositories, including Vue and pydantic. An attempt counts as solved when hidden and existing tests pass. It counts as merge-ready only if it also passes the repository's code checks and draws no requests from an AI code-review judge.
The team tested six agents, pairing Anthropic's Claude models with Claude Code and OpenAI's GPT models with Codex. Each ran every task three times.
What held agents back
Failed linters or formatters were rarely the problem. Only 32 of the 400 solved attempts failed a code check, the paper says, while 178 drew a minor request from the review judge.
Those requests often concerned a missing changelog entry or a behavior change nobody asked for. Re-implementing a helper the codebase already had was a frequent complaint about codebase fit, the authors wrote.
On 20 of the 50 tasks, no agent produced a merge-ready change in any run, though only 9 tasks went entirely unsolved, the paper reports.
Price didn't predict quality
Claude Code with Claude Opus 5.5 had the highest merge-ready rate at 26%, followed by Codex with GPT-6.2 Astra at 23%. Claude Code with Sonnet 5.5 was lowest at 11%, according to the paper.
Mean cost per attempt varied 13-fold across the agents, from $0.04 to $0.51, while merge-ready rates stayed between 11% and 26%. Codex reached 21% with both GPT-6.1 Terra and GPT-6.2 Sol, though Sol cost twice as much, the paper says.
The repository mattered more than the agent, the researchers said. Among repositories with at least three tasks, merge-ready rates ranged from 3% to 40%.
Results also didn't repeat reliably. The top agent was merge-ready at least once on 20 tasks but on all three runs of only 6, according to the paper.
Changing the setup, not the model
The researchers said they then had a coding agent use agent-eval-loop to revise how Claude Code with Opus 5.5 was set up on seven Vue tasks, with the model held fixed. It added a bug-fixing workflow file and a read-only reviewer subagent, a second agent that checks the work without editing it.
That raised the merge-ready rate from 23% to 49% and the share of runs judged trustworthy from 77% to 96%, the paper says. Mean cost per attempt rose from $0.32 to $0.84.
Instruction files alone lifted one of those measures but not both, the authors wrote. Raising the model's reasoning effort didn't significantly improve the merge-ready rate.
Caveats
The findings come from RELAI's own paper, posted on its GitHub, and haven't been independently reproduced. The review judges are also Claude Opus 5.5, the same model behind the top-scoring agent, a point the authors acknowledge. The plugin is free to use under the Apache 2.0 license.
Source: Research paper, Priyatham Kattakinda, Wenxiao Wang and Soheil Feizi, RELAI.ai, 2026, “MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing”
Additional sources: Code repository, RELAI.ai on GitHub, accessed Dec. 1, 2026, “agent-eval-loop”
