Research on AI agents · Checkers & persuasion · Open

Does a reviewer catch more by reading the code or the test record?

The question

When a strong model reviews finished coding work, does it pass on fewer failures by reading the code or by reading the test record?

What was done

I compared these conditions:

What changed between them: what the reviewer was shown.

What stayed the same: 200 finished files (100 that failed their hidden tests, 100 that passed) in 40 batches of five, two frontier reviewer models at maximum effort.

What was found

MeasuredCountOut ofTest set in advance
Failed files passed on, reading the code, reviewer 111 of 100failed filesyes
Failed files passed on, reading the code, reviewer 28 of 100failed filesyes
Failed files passed on, reading the test record, reviewer 10 of 100failed filesyes
Passing files sent back, reading the code, reviewer 123 of 100passing filesyes
Passing files sent back, reading the code, reviewer 220 of 100passing filesyes
Passing files sent back, reading the test record, reviewer 10 of 100passing filesyes
Failed files passed on, reading the test record, reviewer 20 of 100failed filesyes
Passing files sent back, reading the test record, reviewer 20 of 100passing filesyes

What it indicates

Reading the code, two strong reviewers passed on 11 and 8 of 100 failed files and sent back 23 and 20 of 100 good ones; reading the test record, each passed on 0 of 100 failed files and sent back 0 of 100 good ones.

This indicates that on the question 'did it pass its tests', the test record is the more reliable thing for a reviewer to read; reading the code is for the defects the tests do not cover.

What it does not show

The test record cannot catch a defect the tests do not test.

Two frontier reviewer models from one maker.

How to repeat it

Take finished coding files where you know which passed their hidden tests. Give a reviewer model batches of five, once showing the code and once showing the test output, and ask it to accept or send back each file. Count failed files accepted and passing files sent back.

Back to research on AI agents

← Back to all agent behavior studies · Plain-text version