BlogAI & ML

Do AI Code Reviewers Make Things Up? Testing False Alarms

AI code review false positives are bugs a reviewer reports that are not there. How we test for them with clean pull requests, and what the runs showed us.

Nomos Insights
Updated 5 min read

Finding bugs is only half of a reviewer's job. The other half is not reporting bugs that aren't there.

AI code reviewers do sometimes make things up. These false positives, bugs reported that are not really there, showed up in our benchmark runs even on tasks with real bugs. A model would find most of the real problems, then add one confident claim that was not true, and that single penalty could wipe out its score.

Anyone who has worked with a noisy reviewer knows how tiring it gets. Every comment needs checking, and after a while people stop reading them. AI reviewers carry the same risk. So in our code review benchmark work, alongside tasks with realistic planted bugs, our engineers built some tasks on purpose with no bugs at all.

In short
  • A clean task is a real pull request with every problem fixed. The right answer is an empty review.
  • Clean has to be shown, not assumed. We recorded our checks and had an independent reviewer confirm them.
  • On one task, two recurring false claims sank about one run in three. On another, a medium bug was called high in seven of eight runs.
  • False reports were penalized by their claimed severity, so inventing a serious bug was expensive.

What a clean task is

A clean task is a real pull request where every problem has been fixed, even the small ones. The right answer is an empty review. The AI should look carefully and then say there's nothing worth flagging.

Proving a pull request is truly clean takes real work, though. An empty answer key on its own proves nothing. Our engineers inspect the change, record every check they ran and have an independent reviewer confirm it. A clean task also ships with its tests, so the reviewer can verify the claim instead of trusting it. Clean has to be shown, not assumed.

Clean tasks also used special control checks instead of normal difficulty runs. We wrote these to make sure the grader (the scoring logic that compares a review to the answer key) handled the edge cases correctly: a review that reports a fake small issue, a review that reports a fake serious issue, a review in the wrong format, and a review that's missing completely. Each one had to be graded the way we expected.

What mistakes did the AI reviewers make?

Three kinds kept coming up: confident false claims, overstated severity, and runs that ended without any review. Our engineers read the runs one by one, and false alarms were a real problem even on tasks that did have bugs. On one task, two recurring false claims sank about one run in three. The model would find most of the real bugs, then add something that wasn't true, and the penalty wiped out its score.

Overstating severity was another pattern our engineers kept seeing. On one task, a medium bug was called high in seven out of eight runs. The model found the bug, which is good, but it oversold it. Severity is hard for human writers too, which we cover in our guide to rating bug severity in code review.

And sometimes the model just ran out of road. One run spent 52 turns exploring the code and never wrote a review at all.

Our clean tasks and control checks are aimed at exactly these patterns. The checks our engineers wrote include a review with a fake serious issue and a review that is missing completely, and each one has to be graded the way we expect.

Why should false alarms be penalized?

Because a reviewer that pays nothing for noise can report everything and still look good. A false report has to cost something, and the cost should grow with the severity the reviewer claims. Inventing a serious bug should be expensive, and that makes sense. In a real team, one confident wrong comment about a serious bug can eat a whole afternoon of someone's time.

Every now and then a finding that looked false needed a closer look. We covered that in our post on validating bugs missing from a benchmark answer key. Our rule is simple: a reviewer reproduces the finding in the code before it is scored, and only a bug that holds up goes into the key. A clean task is only clean if the code really is.

If you only test whether a reviewer finds bugs, you'll end up rewarding a model that reports everything. A reviewer that's right 90% of the time but adds one confident wrong comment per review isn't ready for real teams.

Common questions

What is a false positive in AI code review? A reported bug that is not really in the code. The ones our engineers saw were stated with confidence, which is what makes them costly for the team reading the review.

What is a clean task in a code review benchmark? A real pull request with every bug fixed. The correct AI answer is an empty review.

Why test AI reviewers on code with no bugs? Our engineers build clean tasks to check that a reviewer doesn't invent problems. False alarms waste engineers' time and reduce trust in the tool.

What are common AI reviewer mistakes besides missing bugs? In the runs our engineers read: reporting things that aren't true, overstating how serious a bug is, and running out of steps without writing a review.


Testing an AI Reviewer for Noise?

Our engineers build clean pull requests, control checks and proven answer keys for AI labs and model teams that need to measure false alarms as well as found bugs. We deliver tasks that meet your quality bar on the timeline your evaluation runs on.

Get in Touch
Filed underAI HallucinationFalse PositivesAI Code ReviewEvaluation Design