cd /news/ai-agents/green-tests-mergeable-patches-garuda… · home › topics › ai-agents › article
[ARTICLE · art-178862] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Green tests, mergeable patches: Garuda and Claude Code on picocli

A developer benchmarked Garuda and Claude Code on ten real picocli bug fixes using the same model, finding both agents passed the tests roughly 80% of the time but only about half of passing patches were mergeable as-is, with roughly one in four passing patches wrong. The paired 95% interval for accepted patches spanned from Claude Code 33 points behind to 7 points ahead, so the developer reported no clear difference between the agents, while the gap between test pass rate and mergeability held for both. The review tool now records reviewer identity and input source, and the benchmark publishes no review time because none was measured.

recommendation

When evaluating coding agents on bug-fix tasks, score mergeability of passing patches, not just test pass rate, since commit tests check the bug but not nearby regressions.

more in playbook: Evals and testing for LLM apps
by read4 min views9 publishedNov 30, 2026

An agent's pass rate counts the runs whose tests pass. It does not say whether you would merge the patch. So I took ten real bug fixes from picocli, a Java command-line library, gave each one to Garuda and to Claude Code on the same model, and reviewed every passing patch without knowing which agent wrote it.

Both agents passed the tests about 80% of the time. About half of the passing patches could be merged as-is. One in four was wrong.

Garuda can turn a project's own history into eval tasks (garuda eval --from-git). For each commit, the agent starts at the commit's parent and gets the commit message and the commit's tests. It passes when those tests pass and it did not change them.

garuda eval review showed each passing patch once, in a random order, with no agent named. Three verdicts: accept unchanged, accept after edits, reject. The standard: would I approve this pull request to picocli as it is?

Garuda Claude Code
Tests passed 25 of 30 (83%) 24 of 30 (80%)
Accepted unchanged 15 of 30 (50%) 11 of 30 (37%)
Accepted after edits 3 8
Rejected 7 5
Cost per accepted patch $0.16 $0.20
Median run time 62 s 105 s

Garuda is ahead on each line, but not clearly. The paired 95% interval of the difference in accepted patches runs from Claude Code 33 points behind to 7 points ahead. It contains zero, so the honest verdict is no clear difference. The cost ratio (×1.31, interval ×0.76 to ×2.47) is the same story. Ten tasks give wide intervals.

The finding that holds for both agents is the gap between the first two lines.

49 runs passed their tests. Of those:

The rejected patches were not sloppy. Each one fixed the case in the test and broke something the test did not check:

help command stored the exit code in a field of the help command. A second equals against identity.equals(). Two different commands with equal values then looked like aliases, and picocli no longer reported an ambiguous abbreviation. On two tasks, no patch from either agent was mergeable as it was. On one, the patches added a new flag where picocli already tracks the same state. On the other, most patches cached the exit code across calls.

If you merge on green, a pass rate of 80% means a wrong patch in about one passing run in four, on this kind of work. The tests in a bug-fix commit check the bug. They do not check what the fix might break nearby.

I planned to review the 40 distinct patches myself, at the terminal, with the time for each verdict recorded. It did not happen that way, and the method has to say so.

I first ran an AI code-review skill on OpenAI's gpt-6.2-astra, a model from another vendor than the agents' model, with the review standard as its context. It gave all 40 verdicts through piped input in five and a half minutes. Garuda's review tool recorded that as 9 seconds of "review time" per patch. That number measured how fast the answers were entered, not how long anyone read.

So I checked all 40 verdicts myself, in a blind sheet with no agent or run named. I changed 8, an agreement of 80%. Seven went from "accept after edits" to "accept unchanged": the AI was stricter than I was. The results above use the checked verdicts. With the AI's verdicts alone, the picture is the same: 10 against 8 accepted unchanged, no clear difference.

Two changes came out of this. The review tool now records who reviewed (--reviewer human|model|model-checked) and whether each verdict came from a terminal or from piped input. It shows review time only for a person reading at the terminal. And the benchmark publishes no review time, because none was measured.

npm install -g @garuda-agent/garuda
cd your-project
garuda eval --from-git --grep 'bug ?fix|fix(es)? #' --max-tasks 10
garuda eval -s repo -m claude-sonnet-5-5 --repeat 3
garuda eval -s repo -m claude-sonnet-5-5 --repeat 3 --agent claude-code
garuda eval review .garuda/evals/<garuda-run> .garuda/evals/<claude-code-run>

For a Gradle project, give a JDK that every Gradle in your history runs on, and leave --offline out of the test command (the evals guide says why).

The method, the changes to the plan, and every number are on the benchmark page. Every patch, both reports, both sets of verdicts and the blind sheet are in the repository, under docs/quality-baseline/evals/repo-bench-picocli. Your own history is the better test: if your numbers differ from mine, I want to know.

Garuda is an open-source terminal coding agent with an OS sandbox, approvals and an audit log: github.com/madhu-sv/garuda.

── more in #ai-agents 4 stories · sorted by recency
── more on @garuda 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/green-tests-mergeabl…] indexed:0 read:4min 2026-11-30 · —