Grapim

How well Grapim reviews

Three measurements of Grapim Review: bugs that shipped in nine open-source projects, Martian's Code Review Bench, and comments checked by hand on real pull requests. What each one counts, and its limits.

25 November 2026

A reviewer is worth installing if it catches real bugs before they merge and stays quiet otherwise. We measure both, three ways, and say what each number does not show.

Bugs that shipped, caught before merge

We took fix commits from nine active open-source projects (Gitea, Pydantic, Hono, Vite, Mastodon, Discourse, n8n, LangChain and Excalidraw) and traced each fix back, with git blame, to the pull request that wrote the broken lines. A screen kept only real bugs that the pull request itself introduced and that a reviewer could have seen at the time: 84 of 218. Then Grapim reviewed each of those pull requests as it was before it merged.

84 bugs stayed in the code a median of 74 days before someone fixed them. We ran Grapim and, for comparison, Claude Code's own pull request review (Claude Code with the repository checked out, the same model) on the same pull requests:

Bugs named before mergeComments per pull request
Grapim38 of 84 (45%)1.9
Claude Code review51 of 84 (61%)5.0

Claude Code reads the files around the change before it comments, and it found 20 bugs Grapim missed (Grapim found 7 it missed). It also posts more than twice as many comments; we have not yet measured how many of those are right. Reading beyond the diff is what we are working on next.

Claude Code puts its strongest comment first, and most of its catches are its first or second comment. On this set, Grapim plus Claude Code's first comment named 47 of 84 bugs (56%), against 38 for Grapim alone. That is the idea behind Grapim's Deep review: after its own review, a second reviewer that explores the repository, asked the way Claude Code's own review is, adds its first comment. It adds its first three comments. Measured as it ships on Martian's set (below), with every comment judged as posted, it raised F1 from 51.2 to 57.2.

Nobody wrote an answer key: each project's own history did. Every entry links the pull request that introduced the bug and the one that fixed it, so it can be checked; write to us for the full list.

Limits: one run of each (a second run would differ by a few points); the screen and the judge are a model, not people; and a judge that asks whether any comment names the bug favours tools that comment more.

Green lights that shipped a bug

A separate measurement asks how many agent pull requests Grapim would let merge without a human read later turned out to have shipped a real bug: Is a green light safe?

Martian's Code Review Bench

Code Review Bench is 50 pull requests from five large projects with comments people checked, scored by an LLM judge. We ran Martian's own open pipeline (Claude Opus 4.5 judge, core categories) on Grapim's reviews and on the published reviews of the other tools.

ToolPrecisionRecallF2
Qodo Extended v267.1%64.6%65.1
Cubic v261.5%65.8%64.9
Augment59.5%65.2%64.0
Grapim (earlier prompt)36.9%59.5%53.0
CodeRabbit32.6%59.5%51.1
Grapim (today's default)41.5%53.8%50.8
Claude Code46.3%48.1%47.7
Cursor Bugbot56.2%45.6%47.4

F2, the board's default ranking, counts recall twice as much as precision. Today's default asks for one defect per comment: it posts fewer, more precise comments (F1 46.8 against 45.5) and finds a little less.

What cloud review runs, judged as posted

Since 25 November 2026 cloud review runs on Claude Sonnet 5.5, without the second look, with Deep review adding its first three comments. We judged the comments each setup would post, as one list per pull request, with our own judge (Claude Opus 5.5) on the same 50 pull requests:

SetupComments per PRPrecisionRecallF1Cost per PR
Sonnet 5.5 + Deep review, its first three comments (today)4.351.0%65.2%57.2about $0.28
Sonnet 5.5 + Deep review, its first comment3.254.7%51.9%53.2about $0.28
Opus 5.5 + second look3.252.5%53.2%52.8$0.18 + the second look (not measured)
Sonnet 5.5 alone2.855.6%47.5%51.2$0.16
Sonnet 5.5 + second look + Deep review with agreement (24 November)1.772.0%37.3%49.2about $0.32

The second look and Deep review's agreement rule (Grapim's less certain findings posted only where Deep review flagged the same place) made comments more precise but dropped more real defects than false ones. An earlier version of this page reported F1 56.0 for Deep review; that figure came from merging stored verdicts and counted defects matched by findings the agreement rule had held back. Judged as posted, that setup scored 51.3.

Martian's own pipeline, 20 representative pull requests (26 November 2026)

Our own judge reads one comment as one finding; Martian's pipeline first extracts every point a comment makes, so a comment with side remarks counts as several findings. On 20 of the 50 pull requests, chosen so the 45 published tools rank on them as on all 50 (rank correlation 0.986), we ran Martian's pipeline itself (Claude Opus 4.5 judge, core profile) on stored reviews:

SetupFindings per PRPrecisionRecallF2Rank on these 20
Cubic v2 (first on these 20)3.862.2%78.0%74.21
Opus 5.5 + Deep review's first three comments, one issue each (today)4.541.4%61.0%55.77
Opus 5.5 alone, one issue each3.154.2%54.2%54.211
Sonnet 5.5 + Deep review's first three comments, one issue each4.541.0%57.6%53.314
Opus 5.5 + Deep review's first three comments, comments in full5.832.4%61.0%51.918
Opus 5.5 + Deep review + four specialist reviewers6.029.9%59.3%49.623
Sonnet 5.5 alone2.954.2%44.1%45.831

So cloud review runs on Opus 5.5 again, with Deep review's first three comments and one issue per comment. Specialist reviewers (security, concurrency, contracts, logic) added findings but more of them wrong; they are not used.

Limits: we ran this ourselves, so Grapim is not on Martian's published leaderboard; Martian lists a tool once it has reviewed enough public pull requests. 50 pull requests is a small set: runs of the same setup differ by a few points.

Comments checked by hand

On 95 public pull requests reviewed in November, a person read every comment against the code. With the second look that checks each finding before it is posted, 20 of the 24 inline comments were real defects (83%); 2 were wrong and 2 were true but not worth a comment.

An earlier round, before the second look, is written up in We ran our reviewer on 69 pull requests written with Claude Code: 58% of its comments were right then. On these real pull requests the second look raised precision a lot; on Martian's set it cost more recall than it gained in precision, so since 25 November cloud review posts without it while we work on a check that drops fewer real defects.

What we do with these

Every change to the reviewer is measured on a half of these sets it was not tuned on before it ships. When a change does not hold up there, it does not ship, and the changelog says what did.