Skip to content
Agentguiden.no
Submit

Test Code review agents with planted bugs before picking models

The AI development team at Nav tested models for the code review agent in nav-pilot, with five runs per model. Claude Opus 5.5 on High effort placed the planted security findings on the right line in five of five TSX reviews, while Medium put findings on the wrong line in two of five.

Done with ClaudeModerate

What was done

The AI development team at Nav tested models for the code review agent in nav-pilot, with five runs per model. Claude Opus 5.5 on High effort placed the planted security findings on the right line in five of five TSX reviews, while Medium put findings on the wrong line in two of five. GPT-6 Sol found privacy and access control in all five runs but broke the stop-and-wait rule once. Nav calls five runs per test arm a small sample.

How to do it

  1. Paste the prompt into the tool, and replace the text in brackets with your own.
  2. Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
  3. Check the original before you trust a figure, a name or a date.

Try it with Claude

Create [number] small code changes in [repo] where you plant known security and access control bugs on specific lines, and write the answer key in [answers.md]. Run the code review with [model A] and [model B] five times each, and count how often findings land on the right line. Show me the results before the default model is changed for the team. You are done when I have a table of hits, misses and rule breaks per model.

Replace text in brackets with your own.

Done when. You have a table of hits, misses and rule breaks per model.

Read the original

Nav ·

Five agents a day

A short email each morning with five concrete examples of what people use AI agents for. Each example links to its source. You can unsubscribe at any time.

You will first get an email to confirm the address.