AI Code Review Benchmark: 37 Real Bugs, Six Tools

We ran six AI code reviewers on 37 real production bugs from Cal.com, Sentry, Grafana and Keycloak, following Greptile's published method. CloudThinker caught 30 and Greptile 29. The method, the line-plus-impact grading bar, and why a self-run benchmark should be read in bands.

ResearchUpdated Nov 2, 2026

Cover Image for AI Code Review Benchmark: 37 Real Bugs, Six Tools

AI Code Review Benchmark: 37 Real Bugs, Six Tools

Thirty-seven pull requests. Each one merged into Cal.com, Sentry, Grafana or Keycloak, shipped a real defect to production, and was fixed later in a separate change. We replayed every one of them through six AI code reviewers and asked a narrow question: which tool names the faulty line and explains what goes wrong?

CloudThinker Review caught 30 of the 37. Greptile caught 29. Cursor caught 20, Copilot 18, CodeRabbit 17 and Graphite 3.

We ran this benchmark ourselves, on our own product and five competitors. It isn't independent, so the method comes first.

The method

01Corpus

37 real bugs

Defects that shipped in Cal.com, Sentry, Grafana and Keycloak.

02Filter

Clear fixes only

Trivial issues and ambiguous fixes were dropped.

03Run

Defaults

Six tools, default settings, full repository context.

04Grade

Line plus impact

A catch counts only if the review names the line and the consequence.

Self-run, following Greptile's published benchmark methodology.

We followed Greptile's published benchmark methodology, a public method for grading AI reviewers on real bugs instead of synthetic ones.

The corpus. Every case is a defect that shipped to production in one of four large open-source projects, across four languages: Cal.com (TypeScript), Sentry (Python), Grafana (Go) and Keycloak (Java). Real bugs carry what synthetic ones don't: the surrounding code, the conventions, and the context a reviewer needs to see that a line is wrong.

The filter. We dropped trivial issues and cases where the right fix was ambiguous. Every remaining case has a clear, verified fix to grade against.

The run. Each tool reviewed the change that introduced the bug, with default settings and full repository context.

The grading. This is the part that decides the scores, so it gets its own section.

The bar: faulty line plus impact

01Caught

Line plus impact

Names the faulty line and says what goes wrong when it runs.

02Not caught

Right file only

Points near the bug but leaves the author to find it.

03Not caught

"Looks risky"

A vague warning, however close, sends a person back to review.

The grading bar, applied the same way to every tool.

A bug counts as caught only when the review names the faulty line and explains the impact. Pointing at the right file isn't enough. Neither is "this looks risky" next to the right function.

We chose that bar because it's the one a developer needs. A comment with the line and the consequence can be acted on in a minute. A vague flag sends a person back to do the review themselves, and a tool that leaves many vague flags can look busy on a pull request while catching very little.

Here's the difference on an illustrative case, not one from the corpus: a change to token refresh that lets two concurrent requests refresh the same session.

  • Caught: "refreshSession() at line 142 reads and rotates the token without a lock. Two requests that refresh together both rotate it, and the one that loses is signed out."
  • Not caught: "This auth change may have concurrency implications."

Both comments point at the same area. Only the first tells the author what to fix.

The results

ToolBugs caught (of 37)Detection rate
CloudThinker3081%
Greptile2978%
Cursor2054%
Copilot1849%
CodeRabbit1746%
Graphite38%

01Top band

29 to 30 caught

CloudThinker 30 and Greptile 29: one bug apart, read them together.

02Middle band

17 to 20 caught

Cursor 20, Copilot 18 and CodeRabbit 17.

03Low band

3 caught

Graphite, with default settings on this corpus.

Each bug is worth about 2.7 points, so the gaps between bands matter more than the order inside one.

How to read the numbers

Read in bands, not decimals. With 37 cases, each bug is worth about 2.7 points. CloudThinker and Greptile are one bug apart, and on a different sample of 37 that order could flip. Treat them as one band.

The gap that matters is between bands. The top two caught 29 or 30. The middle three caught 17 to 20. That's 9 to 13 bugs of 37, between a quarter and a third of the real defects, that either get named with their impact or go through. A team would feel that difference.

Detection isn't precision. This benchmark counts bugs caught. It doesn't measure how many comments each tool left that weren't bugs. A reviewer can raise its catch rate by commenting on everything, and the "line plus impact" bar only partly guards against that.

Defaults aren't ceilings. Every tool ran with default settings. Deeper or paid modes, where a tool has them, weren't part of the run. Settings change results, so compare tools at the settings you'd actually run.

Limits

Self-run. We picked the method, ran the tools and graded the output. We followed a published method to keep ourselves honest, but a vendor grading its own product is still a vendor grading its own product.

Small sample. Thirty-seven cases in four repositories is enough to separate bands and not enough to rank neighbors.

A snapshot. These results were published in December 2025. Every tool on the list has shipped changes since, ours included.

No per-bug sheet yet. We haven't published the case-by-case results. Until we do, treat the table as our measurement of a public method, not a dataset you can audit line by line.

The way to settle it is your own code. Pick ten bugs your team fixed in the last quarter, replay the pull requests that introduced them, and grade every tool you're considering against the same bar.

What this means for production

A benchmark is one sample. The other evidence we can point to is a customer running Review on their own merge requests: FPT Cloud measured about 97% precision, with full backend logic coverage in the evaluated set. That's a precision number from a real codebase, which this benchmark doesn't give you.

How Review reaches those catches (the linked ticket, your convention files, BUSINESS.md and the rules it learns from findings you fixed) is in Review: reading the repo behind the diff.

Getting started

Connect a repository and reopen a pull request that you know shipped a bug. Then ask from the review's chat drawer:

"Did this review name the line that caused the bug we fixed in the follow-up commit? If not, what context was missing?"

"Explain the impact of the highest-severity finding, and what the fix changes."

"Which of these findings would you drop if you had to keep only the ones a developer can act on today?"

Connect a repository and open your first review in Review.

Related reading

About the author

KT

Khai Trinh

Engineering, CloudThinker

Khai Trinh leads R&D at CloudThinker, focused on improving the accuracy and reliability of the agentic system.

codereviewaicodeanalysisdevtoolscodequalitybenchmarkreview