Only 172 of 900 AI Coding Runs Were Merge-Ready, a Study Finds
A new benchmark tested Claude Code and Codex agents on real open-source tasks. Passing tests was not enough: most passing code still missed the bar for merging.

The 20-second read
1. Does AI write good code, or build good software?
On Nov. 30, 2026, researchers Priyatham Kattakinda, Wenxiao Wang and Soheil Feizi submitted a new evaluation of AI coding agents, MergeReady-Bench, to arXiv.
Their question is plain. If AI-written code passes its tests, is it safe to put into a real service?
The team gave 50 development tasks, drawn from 20 open-source repositories, to six agents built on Claude Code and Codex. Each task was run three times, for 900 runs in total.
MergeReady-Bench: results of 900 runs
| Outcome | Runs | Share |
|---|---|---|
| Total runs | 900 | 100% |
| Passed tests | 400 | 44.4% |
| Judged merge-ready | 172 | 19.1% |
| Passed tests, below merge standard | 228 | 25.3% |
| Failed tests | 500 | 55.6% |
Source: MergeReady-Bench. "Merge-ready" is the researchers' own standard, not a record of approval by actual project maintainers.
A more striking figure is 57%. Of the 400 results that passed tests, 228 failed to meet the merge-ready standard. Code that appears to work can still fall short of what a real project would accept.
This is not an average success rate for all AI coding work. The experiment used development tasks on existing open-source projects.
2. The gap between working and good
Anyone who has tried vibe coding will recognize the pattern. Add a feature and an old one breaks. Fix a bug and a problem surfaces elsewhere. The AI reports the task done, but running it shows otherwise.
Building a program is a different problem from building software that can be run and maintained over time.
| Criterion | What to check |
|---|---|
| Feature implementation | Does it work as specified? |
| Regression tests | Did existing features stay intact? |
| Scope of change | Did it avoid editing unnecessary code? |
| Code quality | Is it consistent with the existing design? |
| Security | Did it avoid creating new vulnerabilities? |
| Reporting accuracy | Does it describe the work actually done? |
| Maintainability | Is it easy to change later? |
AI has lowered the barrier to making software. It has not automatically solved the quality control needed to run it reliably.
3. Will a pricier model fix it?
- 13x: the gap in average run cost between the most and least expensive agent setups.
- 11% to 26%: the range of merge-ready rates across agents, so cost and quality did not move together.
In the study, differences between repositories mattered more than differences between agents. Merge-ready rates by repository ranged from 3% to 40%.
Results were also inconsistent when the same task was repeated. Even the best agent earned a merge-ready verdict at least once on 20 tasks, but passed all three times on only 6.
Model choice matters. So do code structure an AI can follow, clear development rules and a solid test environment. Subscribing to a top-tier model does not by itself create a good development setup.
4. Adding an AI reviewer to the AI developer
In a follow-up experiment, the researchers improved the development instructions for Claude Code and added a read-only review agent that does not edit code. The AI model stayed the same.
Effect of the improved AI workflow (7 Vue development tasks)
| Measure | Before | After | Change |
|---|---|---|---|
| Merge-ready verdicts | 23% | 49% | +26 percentage points |
| Reliability standard met | 77% | 96% | +19 percentage points |
The merge-ready rate rose about 2.13 times, with no model swap. The gain reflects improvements to the development process and review setup together, not the review agent alone.
The finding is practical. Human software teams have developers, code reviewers, QA staff and release owners, because a structure where one person does all the work and also signs off on it has limits. The same division of roles can be tried with AI.
5. Running an AI dev team on your own
A solo founder might treat AI less as one all-purpose developer and more as a small team with separate roles.
| Role | Responsibility |
|---|---|
| Human planner | Sets requirements, completion criteria and scope |
| AI developer | Writes code and builds features |
| AI reviewer | Read-only code review and problem reports |
| Automated tests | Functional, regression and security checks |
| Human owner | Final approval, deployment and recovery decisions |
The key is to keep the AI developer from giving final pass judgment on its own work. Another AI can miss errors too, so automated tests and human accountability are still needed.
Checklist for running an AI dev team
- Write down requirements and completion criteria before development
- Version-control existing source code with Git
- Use a separate branch for each task
- Separate the coding agent from the review agent
- Give the review agent read-only permissions
- Run regression tests on existing features automatically
- Limit access to API keys and personal data
- Verify the final feature in a real usage environment
- Deploy only after human approval, and keep a recoverable state
- This study alone cannot settle which product is better overall. Results vary with the model, the execution environment, and the development task.
- Not necessarily. The starting point is to give the reviewer its own working context and review criteria. Trying a different model is worth experimenting with, but it does not guarantee fewer errors.
- It is possible, but features where failure is costly, such as authentication, payments, and personal data, need professional review. Building a prototype and running a commercial service should be treated as different things.
What to watch
Insight Times Editorial Desk





































