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
In 900 development runs using Claude Code and Codex, 400 passed the tests, and 172 (19.1%) were rated good enough to merge into a real project.
2
Average run costs differed by up to 13 times across AI models, yet the share of code judged merge-ready stayed between 11% and 26%. The study finds that a more expensive AI does not necessarily produce better results.
3
Without swapping the AI model, improving the development process and adding a separate AI reviewer raised the merge-ready rate from 23% to 49%. The finding: how you run the AI matters as much as the AI's own performance.

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

OutcomeRunsShare
Total runs900100%
Passed tests40044.4%
Judged merge-ready17219.1%
Passed tests, below merge standard22825.3%
Failed tests50055.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.

CriterionWhat to check
Feature implementationDoes it work as specified?
Regression testsDid existing features stay intact?
Scope of changeDid it avoid editing unnecessary code?
Code qualityIs it consistent with the existing design?
SecurityDid it avoid creating new vulnerabilities?
Reporting accuracyDoes it describe the work actually done?
MaintainabilityIs 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)

MeasureBeforeAfterChange
Merge-ready verdicts23%49%+26 percentage points
Reliability standard met77%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.

RoleResponsibility
Human plannerSets requirements, completion criteria and scope
AI developerWrites code and builds features
AI reviewerRead-only code review and problem reports
Automated testsFunctional, regression and security checks
Human ownerFinal 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
Is Codex better than Claude Code?
  • This study alone cannot settle which product is better overall. Results vary with the model, the execution environment, and the development task.
Do the development AI and the review AI have to be different models?
  • 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.
Can someone who doesn't know how to code launch a service?
  • 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

Merge-ready rateThe share of outputs that can actually be merged into a project.
Total cost per passing runThe cost including model usage fees, rework, and review.
Regression error rateThe share of errors that appear in existing features after a new feature is added.
Repeat success rateWhether quality holds when the same task is run repeatedly.
Code that passes tests can still fall short of what a project would merge, so split the builder AI from the reviewer AI and keep a human as the final approver.

Insight Times Editorial Desk

More by topic

Starting with this story's topics, then what readers are following now

Investor psychology, decision-making and books on investing

AI Agents

This story's topic54 storiesSee all →

AI that takes one instruction and works through the steps on its own — calling…

How Does Free AI Assistant Pickle Plan to Make Money?

Pickle, a six-person Silicon Valley startup, says it has 400,000 monthly active users in Korea, where it is free by default. Its harder test is not the technology but whether it can rebuild the revenue model of an internet built on human clicks.

Tech

Nvidia Moves From GPUs to CPUs as AI Agents Reshape a $200 Billion Chip Market

A customer's early test found Nvidia's Vera CPU handled about twice the AI agent workload of its existing chips. The bigger story is where the money in semiconductors is heading as AI shifts from answering questions to doing work.

Tech

Karpathy's "Sharp Funnel": Why People See Such Different AIs

For some, AI is a chatbot that answers off target. For others, it is a capability climbing almost vertically. Andrej Karpathy says the gap is widening.

Life & World

AI Won't Slow Down. The Real Fight Is Over What Agents Can Do

Dario Amodei wants frontier AI labs to slow capability gains, but a US-wide deceleration deal looks unlikely. The more probable path: keep accelerating commercial AI while tightening security around agent permissions, high-risk features, model weights and large-scale compute access.

Tech

OpenAI and Anthropic Are About to Attack Each Other's Models

The two labs are negotiating a deal to red-team each other's commercial systems. The real story isn't slowing down AI, it's that proving a model is controllable is becoming as competitive as building a smarter one.

Tech

Nvidia and Palantir Put AI Inside the Supply Chain - The Real Shift Is That It's Learning Judgment

A single Vera Rubin rack holds 1.3 million parts. The real breakthrough in Nvidia and Palantir's new supply chain AI isn't automating that complexity, it's capturing the judgment calls that used to live only in planners' heads.

Tech

AMD Crossed $1 Trillion, and the Market Started Looking at CPUs Again

AMD's stock topped a $1 trillion market cap for the first time. The rally isn't just about being an Nvidia alternative. It reflects a reassessment of AMD as a full-stack AI infrastructure vendor, one that bundles CPUs, GPUs and networking, as AI shifts from chatbots to agents and reignites data center demand for CPUs.</deck> <parameter name="oneline">As AI moves from chatbots to agents, the market has started counting the CPU sitting next to the GPU again.

Tech

NVDA

106 storiesSee all →

Who Hits $1 Trillion Next: Reading AMD and ASML by Different Rules

One company is chasing Nvidia's GPU empire. The other sells the machine that draws the chips for every advanced chipmaker, including Nvidia. Both get floated as 2028 trillion-dollar candidates, but the numbers investors need to watch are entirely different.

Investing

Why Nebius Is Keeping Some 2027 AI Capacity Off the Shelf

Nebius mixes long-term contracts, short-term premiums and auctions. Holding back capacity pays only if the servers stay busy, and it is not yet clear the pricing will last.

Tech

Nvidia Surges 31.5%, Tesla Retakes Its 200-Day Line: Has the Market Passed the Bottom?

A technical read of QQQ, TSLA, NVDA and SOXX on daily and weekly charts after Friday's selloff. One day of gains does not settle it; higher lows on the pullback would.

Investing

If Big Tech Cuts AI Spending, What Happens to Chip Stocks?

AI's long-term growth and chipmakers' near-term profits may not move together. A Bank of Korea downside scenario for 2027 raises a question for US equity investors too.

Tech

China's AI Labs Went Open Source Because They Had to, Not Because They Wanted To

A GPU shortfall pushed Chinese AI labs toward efficiency and open weights, and that constraint is now reshaping the global competition over who controls AI's basic infrastructure.

Tech

If You Only Watch Tesla, You May Be Missing Half the AI Story

Nvidia builds the AI brain. Who supplies the electricity to run it? Six power companies Tesla investors should know, and why Tesla's storage business is just one link in the chain.

Investing

The AI Bubble Question Has Changed: By Late 2026, It's ROIC Over GPUs

There is no sign yet that AI investment is slowing. If anything, hyperscaler spending forecasts keep climbing. But as the scale of that capital has grown, the market's question has shifted from "is AI growing" to "when, and how much, does this capital come back as cash."

Tech

A building that houses servers and networking gear and supplies them with powe…

US AI Data Centers Are Headed for 90GW. Gigawatts Now Matter More Than Dollars

Goldman Sachs expects US data center capacity to grow from 64GW at the end of 2026 to 90GW at the end of 2027. The AI race is moving from buying GPUs to building power plants and transmission lines alongside them.

Tech

The AI Correction Is Not a Buy-the-Dip Signal. It's a Profitability Screen

As AI stocks wobble, the question isn't whether the theme survives. It's where bottlenecks still convert into real orders, pricing power and yield. Memory is at the center of that question right now.

Tech

White House Swaps AI for "SI." The Real Investment Signal Is Infrastructure, Not the Name

An executive order renames artificial intelligence "Super Intelligence" and six frontier labs sign a voluntary safety accord. What investors should watch is the data center, power, nuclear and chip policy now gathered under one national-competitiveness frame.

Tech

CoreWeave's Bond Slide Is the First AI Warning, and It Came From Credit, Not Stocks

CoreWeave's 2032 notes fell below 80 cents on the dollar, with yields near 15%. Why is the bond market flashing a warning at a company swamped with AI demand?

Tech

AMD's Data Center Revenue Jumped 97%. Why Did Free Cash Flow Fall 64%?

AMD is rapidly turning into an AI server company. Whether the added revenue is coming back as cash is not yet confirmed.

Investing

Is Space Cooler for AI? Why Musk Wants Data Centers in Orbit

The next limit on AI may be power and cooling, not GPUs. Elon Musk is looking to Earth orbit for an answer, but the test is cost per hour of compute.

Tech

Workers in hard hats beside a communications equipment cabin, with a Starship rocket on its launch tower at dusk in the background

SpaceX Forecast at About $730 Billion in 2028 Revenue: The Bigger Opportunity Musk Sees

Sequoia Capital made a bold forecast, and Elon Musk replied, "I think we can do better." The future SpaceX is looking at is far bigger than the rocket launch business. The plan is to link satellite communications, AI data centers and orbital computing into one giant business.

TechEXPLAIN

The blue links are disappearing: what a website is worth when AI ends the search

Search is shifting from finding good pages to writing the answer itself. The convenience has a bill attached, and the people who produce the original pages are the ones paying it.

Tech

Nvidia and Google Want AI to Take a Break When the Grid Runs Short

The power problem for AI data centers has looked like a question of how many new plants to build. Nvidia and Google are offering a second answer: delay the AI work that can wait until the grid's worst hours pass.

Tech

AGI Arrives Every Few Months. Watch Autonomy Speed, Not Model Names

Gemini, Claude, Grok, GPT-6 Astra: each has briefly held the "world-changing model" crown in the past year. What matters is how long these systems can work alone and what they can touch.

Tech

Google logo on an office building facade

Why Is Google Selling Its TPU AI Chips to Rivals After Nine Years of Keeping Them Close?

Google is supplying a core technology it once kept to itself. The AI chip race is shifting from chip performance to distribution and ecosystem.

Tech

Big Tech's Cash Is Draining. Its AI Business Is Earning More

Nomura's J-curve points to a timing gap between falling free cash flow and the payback on AI spending. For investors, the two are not the same thing.

Tech

SpaceX Jumps 7.35%: Investors Are Pricing Three Cash Engines, Not Rockets

SpaceX shares rose 7.35% to $158.96 on Oct. 2 after three launches in 13 hours. The bigger driver is Falcon, Starlink and AI compute growing inside one company.

Tech

AI Competition Shifts From Chatbot Share to the 'Action Layer'

ChatGPT isn't collapsing. But as Gemini, Claude and Copilot grow through their own distribution channels, the real contest is moving from standalone chatbots to an action layer wired into search, operating systems, workplace tools, ads and payments.

Tech