diffox
Blog

What AI code review benchmarks actually measure

AI code review benchmarks such as ReviewBench, Martian, Greptile and Qodo differ in their answer keys, their judges and how they count false alarms.

ShareXLinkedIn

Summary. A code review benchmark compares the comments AI code review tools leave on pull requests with an answer key, and turns the result into a score. On 4 November 2026 we read each one at its source, on its page, in its repository or in its paper: GitHub’s ReviewBench, Martian’s Code Review Bench, Greptile’s and Qodo’s own benchmarks, and c-CRAB, from a paper that has not been peer reviewed.

  • The answer key shapes the score before anything else. Martian’s holds issues that people confirmed, Greptile’s real bugs that were fixed later, Qodo’s bugs injected on purpose, and ReviewBench’s findings gathered from people, models and static analysis, then labelled by a judge model. Each one rewards something different.
  • How an unmatched comment is counted changes the score too. On Martian and Qodo, a comment with no match in the answer key counts as a false alarm. In the grounded score ReviewBench ranks by, and on Greptile, it doesn’t count at all, so the number of comments you have to read never shows in those scores.
  • A judge model usually does the matching. Martian stores its results separately for each of its 3 judges. ReviewBench’s own methodology says that a team setting up the judge differently could give the same tools different scores.
  • Ask a few questions before you believe a claim. Which benchmark and which view? Which score? What are the precision and the catch rate on their own? Who wrote the answer key? Which model is the judge? Who ran the tools, and when?

Why do code review benchmarks give different results?

219pull requests from 187 repositories in 19 languages (ReviewBench)
173issues confirmed by people, in 50 pull requests (Martian)
580issues injected on purpose, in 100 pull requests (Qodo)
234tests generated from human comments, in 184 pull requests (c-CRAB)

A code review benchmark has three parts: a set of pull requests, a list of the issues each one is expected to contain (the answer key), and a rule that compares a tool’s comments with that list. The rule usually counts two things: how many of the comments are right (precision), and how many of the issues in the key are found (the catch rate, or recall). F1 weighs the two equally; F2 gives the catch rate more weight.

We covered coding benchmarks in the post on SWE-bench, and having one model score another model’s output in the post on LLM-as-a-judge. This post is about code review benchmarks. They all seem to ask “does the tool find the bug?”, but each one asks it in its own way:

3 questions to read before the score. Each benchmark answers them differently. 1. Where does the answer key come from? Human comments, real bugs, injected bugs, models or tests. 2. Who matches the comments? Usually a judge model, with a different rule in each. 3. What does an unmatched comment count as? A false alarm, nothing, or whatever the judge decides.
Source: the pages, repositories and papers of the benchmarks in this post, 4 November 2026.

Each benchmark has its own answers to these questions, and the answers change the score. A tool that catches the same bug looks one way on a benchmark that counts unmatched comments as false alarms, and another way on one that doesn’t count them at all. The table below sets each benchmark’s answers side by side; the sections after it explain what each answer rewards.

What does each benchmark measure?

We read the details in the table on 4 November 2026, at each benchmark’s source: its page, its repository or its paper. Greptile’s and Qodo’s are vendors’ own benchmarks, and they measure their own tools too; GitHub, which built ReviewBench, also has its Copilot code review on ReviewBench’s leaderboard.

Code review benchmarks: the dataset, the answer key, the matching, what an unmatched comment counts as, the score and who runs the tools
BenchmarkDatasetAnswer keyMatchingUnmatched commentScoreWho runs the tools
ReviewBench (GitHub)219 PRs, 187 repos, 19 languagesHuman comments, later commits, static analysis and models; labelled by a judge model, audited by peopleJudge model, only against findings in the same fileNot counted in the grounded score; the judge decides in the augmented scoreGrounded F1 (default)The first rows by the ReviewBench team; later ones by the vendor, through GitHub’s portal
Martian offline50 PRs, 5 projects173 issues confirmed by peopleJudge model, comparing the two textsFalse alarmF2 (default)Martian
Martian online16,145 PRs scored in the last monthWhat the developer fixed after the bot’s commentJudge model, suggestions against fixesUnhelpful suggestionF1Nobody; Martian watches repositories where the bots are installed
Greptile50 real bugs, 5 reposReal bugs that were fixed laterA comment that points at the bug’s line and explains its impactNot countedCatch rateGreptile, July 2025
Qodo100 PRs, 7 languages580 issues injected on purposeJudge model; the file and the line must be right tooFalse alarmF1Qodo
c-CRAB184 PRs, 67 repos234 tests generated from human commentsNo judge; a coding agent fixes the code from the comment, then the tests runNot evaluatedShare of tests passedThe paper’s authors

Source: each benchmark’s own page, repository or paper, 4 November 2026. PR: pull request. ReviewBench’s grounded score looks only at comments that match a finding in the key; its augmented score looks at the other comments too. Greptile’s and Qodo’s are vendor benchmarks that also measure their own tools; c-CRAB has not been peer reviewed (arXiv, first version 24 March 2026). Greptile’s page says the results were checked against the known bug, but not who did the checking.

Martian’s two leaderboards don’t ask the same question. The offline set measures every tool on the same 50 pull requests; the online leaderboard follows each tool in the public repositories where it is installed, and looks at what the developer fixed afterwards. According to Martian’s own note, only the offline set can compare tools fairly: you can’t run two tools on the same repository, and which repositories a tool is installed on affects the result. On 4 November 2026, the site’s landing page showed the online leaderboard, ranked by F1; the offline set’s leaderboard is in a separate view, ranked by F2. When a claim names Martian, check which leaderboard it means.

Martian’s offline set and Greptile’s benchmark use pull requests from the same repositories: Sentry, Grafana, Cal.com, Discourse and Keycloak. According to Martian, the offline set is an open replication of the benchmark Augment and Greptile used. Even so, one counts only whether the known bug was caught, while the other looks at every comment the tool makes.

Where does the answer key come from, and why does it matter?

A benchmark can only measure what is in its answer key. Where the key comes from also decides which tools look good: the ones that catch the kind of bug it holds. In the benchmarks in this post, the key comes from these sources:

  • Issues that people confirmed. For each pull request, Martian’s offline set holds issues that people verified and tagged with a severity and a type. This key rewards a tool that catches the bugs a person found important. A tool that catches a real bug the people didn’t write down can be penalised for it; Martian’s methodology says so plainly. Martian also notes that the key holds few style comments, so some correct style comments will count as false alarms too.
  • Real bugs that were fixed later. Greptile took real bug fixes from each repository, traced each one back to the change that introduced the bug, and reopened that change on a separate fork for each tool. There is no doubt the bug is real, but it is the only thing known about each pull request; if a tool finds another real issue, that never reaches the score. Qodo’s write-up describes the limit of this method the same way: the scale is small, and there is often a single bug per commit.
  • Bugs injected on purpose. Qodo took real, merged pull requests, used a model to add rule violations to them, then added 1–3 functional bugs to each, and checked the result twice. The rules were given to the tools in an AGENTS.md file in the repository. So what is in each pull request is known, and several issues can be looked for at once. But the injected bugs are not mistakes a developer actually made, and a comment that finds a real issue the check missed still counts as a false alarm.
  • Findings gathered from many sources. ReviewBench’s key is gathered from human review comments, the author’s follow-up commits, static analysis tools and reviews by models from different families. Findings that describe the same issue are merged, a judge model labels each finding as real or not, and people audited the labels: of 4,632 findings, 2,623 carry the label of a real issue. According to the methodology, only 39 of these come from human review comments and 8 from static analysis; AI-based review systems found the rest. That widens the key, but both the findings and the labels rest largely on models. The methodology also gives a warning of its own: a tool that contributed findings to the key, or that uses the same model, may gain from overlapping with its own earlier output.
  • Fixes the developer made afterwards. On Martian’s online leaderboard, the key is what the developer actually fixed after the bot’s comment; a model works this out by reading the later commits. That is a signal from real use. But as Martian also writes, “not acted on” and “wrong” are not the same thing: a team may knowingly skip a correct comment saying the code will slow down at scale, because it wants to ship fast.
  • Tests generated from human comments. c-CRAB uses a model to turn people’s review comments into tests that fail before the fix and pass after it. The tool’s comment is handed to a coding agent, the agent fixes the code, and then the tests run. The matching needs no judge, but only issues that can be turned into a test are measured: of the 1,313 human comments it started from, 234 made it through the filters.

No key is enough on its own. One is sure the bug is real but knows few bugs; another knows a lot, but its labels rest on a model. ReviewBench’s methodology asks you to keep in mind who produced the key when you read its scores. That is a good rule for reading any benchmark.

Who matches a comment to the answer key?

A tool’s comment and the issue in the key are rarely written in the same words. So most benchmarks have a judge model do the matching; we covered how a judge model works and how it is audited in the post on LLM-as-a-judge. What to look at here is the rule the judge matches by:

  • Martian: the judge sees the two texts side by side and asks “do these describe the same issue?” The wording can differ; what counts is the substance.
  • ReviewBench: the judge compares findings only within the same file. A comment written on another file doesn’t match, even if it describes the same issue.
  • Qodo: describing the issue correctly isn’t enough; the comment also has to point to the right file and line.
  • Greptile: a bug counts as caught only through a comment written on its line that explains its impact. A mention in the summary alone doesn’t count.

The judge is part of the measurement too. Martian writes that different judges can give different scores, so it stores its results separately for each judge and reports which judge was used. On the site’s offline leaderboard, you can pick the judge yourself. ReviewBench’s methodology also writes that the labelling model’s errors carry into both families of scores, and that a spurious match rewards a tool for something it didn’t find. Don’t read a score without knowing which judge it was measured with.

Does an unmatched comment count as a false alarm?

When one of a tool’s comments matches no issue in the key, benchmarks do different things with it. That choice pushes a tool that writes few comments and a tool that writes many in opposite directions:

What an unmatched comment counts as. Counts as a false alarm: Martian, Qodo. Few, accurate comments win. A real bug outside the key is penalised too. Not counted at all: ReviewBench grounded, Greptile, c-CRAB. Many comments cost nothing. How much you must read never shows in the score. Sent to the judge: ReviewBench augmented, LangChain. New findings are rewarded. Every call rests on the judge’s verdict.
Source: Martian’s, Qodo’s and Greptile’s pages, ReviewBench’s methodology, LangChain’s post and the c-CRAB paper, 4 November 2026.

On Martian’s offline set, precision is the share of all the tool’s comments that match an issue in the key. Qodo, too, counts every comment with no match in the key as a false alarm. That rewards a tool that writes few, accurate comments, and penalises one that catches a real bug the key doesn’t have.

In the grounded score ReviewBench ranks by, an unmatched comment is left out of the calculation entirely. Greptile looks only at whether the known bug was caught, and c-CRAB only at the tests drawn from human comments; neither evaluates the other comments. So a tool that writes many comments isn’t penalised either: the number of comments you have to read never enters these scores. ReviewBench also shows the comments per pull request separately on its leaderboard; look at that number when you look at the score.

The third way is to ask a judge about the unmatched comment separately. ReviewBench’s augmented score does this: if the judge finds a comment that isn’t in the key to be real, the tool gains points; if it finds it wrong, the tool loses them. LangChain’s benchmark of the same name also counts every finding the code supports towards precision. This way rewards new findings, but it leaves every decision to the judge; ReviewBench itself says the augmented catch rate shouldn’t be used on its own to rank tools.

The same word measures different things on the two sites. On Martian, precision looks at all of a tool’s comments. ReviewBench’s grounded precision looks only at comments that match a finding in the key, and asks how many of those landed on a finding labelled as a real issue; the key also holds findings labelled “not a real issue”. Don’t set the two sites’ precision figures side by side.

How do you read a vendor’s benchmark claim?

When a vendor says “we got the highest score on this benchmark”, ask which of the choices above it was measured with. The sentence will give you a few of them; for the rest, you have to look in the benchmark’s own leaderboard and documentation:

Before you believe a claim. A vendor’s sentence leaves most of these out. Which benchmark, which view?: Offline set or online leaderboard; which severity? Which score?: F1 or F2, grounded or augmented? What are precision and catch rate?: A single F score hides both. Who wrote the answer key?: People, models or the tools being measured. Which model is the judge?: Change the judge, and the score can change. Who ran the tools?: Can someone else repeat the result? When was it measured?: Tools and leaderboards both change.
Compiled from the documentation of the benchmarks in this post, 4 November 2026.

An example. In a post published on 28 October 2026 for its Universe conference, GitHub wrote that Copilot code review’s new Max level “posted the highest F1 score on ReviewBench for high-severity issues”. According to the changelog of the same day, Max is a new level that brings together several independent review agents running on models from different providers, and it is in public preview.

The sentence names the benchmark, the view (high-severity issues) and the metric (F1). It also leaves things out: whether that F1 is grounded or augmented, what the precision and the catch rate are on their own, and when the measurement was taken. You can find these yourself on ReviewBench’s public leaderboard; on 4 November 2026, it had a row for Max.

Who ran it matters too. GitHub built ReviewBench, GitHub provides the judge for the official scores, and maintainers approve every result that goes on the leaderboard; Max is a GitHub product as well. That doesn’t make the claim wrong. But it is a good reason to read the claim together with the leaderboard itself.

The leaderboard’s opening view is a choice as well. On 4 November 2026, ReviewBench’s site opened on grounded scores and high-severity findings only; tools are ranked by the F1 of whichever score is selected. GitHub’s announcement, for its part, says it uses the grounded catch rate as the headline comparison between tools. Change the view, and both the scores and the order change.

How do you try a tool on your own repository?

All these benchmarks follow the same layout. You can set up a small version of it on your own repository:

  1. Start from bugs you know. Pick a few bugs you fixed in recent months and, as Greptile did, open the change that introduced each one as a new pull request. That way your key is made of your repository’s real bugs.
  2. Give every tool the same start. Greptile and Qodo ran each tool on a clean fork, with its default settings. Martian’s scripts also fork the pull requests into a GitHub organisation where the tool is installed.
  3. Write down your “caught” rule in advance. Decide from the start what a comment needs to count as having caught the bug. Greptile’s rule is a good place to start: a comment that points at the bug’s line and explains its impact.
  4. Read the comments that aren’t in the key yourself. Don’t count them as false alarms automatically. Martian’s methodology also suggests sorting the comments nobody acted on into “useful but not actionable”, “noise” and “harmful”.
  5. Keep two numbers side by side. One is how many known bugs were caught, the other how many comments you had to read. A single F score hides both inside one number.

For diffox, our AI code review tool, we ran Martian’s benchmark ourselves, published every review as a public pull request and left the scoring to Martian’s own code.

Frequently asked questions

What is an AI code review benchmark?

A test set that measures AI code review tools on the same pull requests. Each pull request comes with a list of the issues it is expected to contain (the answer key), and the tool’s comments are compared with that list, usually by a judge model. The result is given as precision (how many of the comments are right), catch rate (how many of the issues were found), or an F score that combines the two. Well-known examples are GitHub’s ReviewBench, Martian’s Code Review Bench, and Greptile’s and Qodo’s own benchmarks.

What is ReviewBench?

An open code review benchmark that GitHub released as a research preview on 5 October 2026: 219 pull requests, 187 repositories, 19 languages. Its answer key is gathered from human comments, the author’s follow-up commits, static analysis and reviews by models, and labelled by a judge model; when senior engineers relabelled it, they agreed 96.6% of the time. The grounded score used for the ranking looks only at comments that match a finding in the key; the augmented score also asks the judge about the other comments. LangChain’s benchmark of the same name, published on 31 July 2026, is a different set: 59 tasks and 64 issues built from review comments in LangChain’s own repository.

What is the Martian code review benchmark?

Code Review Bench, which Martian released as open source on 26 February 2026, has two leaderboards. The offline set has 50 pull requests from Sentry, Grafana, Cal.com, Discourse and Keycloak, and 173 issues confirmed by people; the default profile counts 158 of them. A judge model matches the tool’s comments with these issues, an unmatched comment counts as a false alarm, and the leaderboard is ranked by F2 by default. The online leaderboard compares review bots’ comments in public repositories with what developers fixed afterwards. According to Martian, it is the offline set that compares tools fairly.

What do Greptile’s and Qodo’s benchmarks measure?

Both are vendors’ own benchmarks, and both also measure the vendor’s own tool. Greptile reopened 50 real bugs from 5 repositories by going back to the change that introduced each one, and ran 5 tools with their default settings in July 2025; it counted only whether those bugs were caught, and other comments didn’t affect the result. Qodo, in its post of 4 February 2026, describes adding 580 issues to 100 merged pull requests; it counts both the issues caught and the comments with no match in the key, and computes F1.

Why don’t code review benchmark results agree?

Because each one measures something different. The answer key can be human comments, bugs that were fixed later, bugs injected on purpose, or issues that models found. A judge model does the matching, under different rules. A comment with no match in the key counts as a false alarm in some and isn’t counted at all in others. Who ran the tools, when, and with which settings differs too. Look at these differences before you compare two benchmarks’ rankings.

Which AI code review tool is the best?

No single benchmark can tell you, because “best” depends on your priority: not missing important bugs, or fewer comments? ReviewBench and Martian let you change that preference; when you change the weight of the F score or the severity, the ranking changes too. Choose your priority first, draw up a shortlist from the benchmarks, then try a few tools on your own repository, on bugs you already know.

How do I test an AI code review tool on my own repository?

Scale down the benchmarks’ layout. Pick a few bugs you fixed in recent months, open the change that introduced each one as a new pull request on a separate fork for each tool, and run the tools with their default settings. Write down in advance what a comment needs to count as having caught the bug; Greptile’s rule is a comment that points at the bug’s line and explains its impact. Read the comments that aren’t in the key yourself, then keep two numbers side by side: how many bugs were caught and how many comments you had to read.