{"slug": "green-tests-mergeable-patches-garuda-and-claude-code-on-picocli", "title": "Green tests, mergeable patches: Garuda and Claude Code on picocli", "summary": "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.", "body_md": "[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](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff485xrvv3tyhv596arsc.png) [picocli](https://github.com/remkop/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.\n\nBoth 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.\n\nGaruda 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.\n\n`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?\n|  | Garuda | Claude Code | \n|---|---|---|\n| Tests passed | 25 of 30 (83%) | 24 of 30 (80%) | \n| **Accepted unchanged** | **15 of 30 (50%)** | **11 of 30 (37%)** | \n| Accepted after edits | 3 | 8 | \n| Rejected | 7 | 5 | \n| Cost per accepted patch | $0.16 | $0.20 | \n| Median run time | 62 s | 105 s | \n\nGaruda 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.\n\nThe finding that holds for both agents is the gap between the first two lines.\n\n49 runs passed their tests. Of those:\n\nThe rejected patches were not sloppy. Each one fixed the case in the test and broke something the test did not check:\n\n`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.\nOn 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.\n\nIf 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.\n\nI 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.\n\nI 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.\n\nSo 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.\n\nTwo 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.\n\n```\nnpm install -g @garuda-agent/garuda\ncd your-project\ngaruda eval --from-git --grep 'bug ?fix|fix(es)? #' --max-tasks 10\ngaruda eval -s repo -m claude-sonnet-5-5 --repeat 3\ngaruda eval -s repo -m claude-sonnet-5-5 --repeat 3 --agent claude-code\ngaruda eval review .garuda/evals/<garuda-run> .garuda/evals/<claude-code-run>\n```\n\nFor 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](https://madhu-sv.github.io/garuda/docs/guide/evals/) says why).\n\nThe method, the changes to the plan, and every number are on the [benchmark page](https://madhu-sv.github.io/garuda/docs/design/quality/repo-bench-picocli/). Every patch, both reports, both sets of verdicts and the blind sheet are in the repository, under [docs/quality-baseline/evals/repo-bench-picocli](https://github.com/madhu-sv/garuda/tree/main/docs/quality-baseline/evals/repo-bench-picocli). Your own history is the better test: if your numbers differ from mine, I want to know.\n\n*Garuda is an open-source terminal coding agent with an OS sandbox, approvals and an audit log: [github.com/madhu-sv/garuda](https://github.com/madhu-sv/garuda).*", "url": "https://wpnews.pro/news/green-tests-mergeable-patches-garuda-and-claude-code-on-picocli", "canonical_source": "https://dev.to/madhusudhan_suv/green-tests-mergeable-patches-garuda-and-claude-code-on-picocli-1fmb", "published_at": "2026-11-30 20:31:13+00:00", "updated_at": "2026-11-30 20:46:29.027117+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-research"], "entities": ["Garuda", "Claude Code", "picocli", "OpenAI", "gpt-6.2-astra"], "also_reported_by": [], "takeaway": "On ten picocli bug fixes, both agents passed tests about 80% of the time but only 50% (Garuda) and 37% (Claude Code) of patches were accepted unchanged, so green tests still left roughly one wrong patch in four passing runs.", "recommendation": {"advice": "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.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/green-tests-mergeable-patches-garuda-and-claude-code-on-picocli", "markdown": "https://wpnews.pro/news/green-tests-mergeable-patches-garuda-and-claude-code-on-picocli.md", "text": "https://wpnews.pro/news/green-tests-mergeable-patches-garuda-and-claude-code-on-picocli.txt", "jsonld": "https://wpnews.pro/news/green-tests-mergeable-patches-garuda-and-claude-code-on-picocli.jsonld"}}