Benchmarks · version 0.6.0
How often is Second Look right?
We test Second Look on bugs that real open-source projects shipped and later fixed, and on clean pull requests where any comment is a false alarm. These are the results for version 0.6.0 on 39 real pull requests.
Compared
The same 39 pull requests, three reviewers
| Reviewer | Comments that point at the real bug | Comments per clean pull request | Bugs found |
|---|---|---|---|
| Second Look 0.6.0 | 70% | 0.13 | 54% |
| Second Look 0.5.0 (previous version) | 60% | 0.27 | 54% |
| Simple baseline: always comments on the biggest change | 23% | 1.00 | 38% |
- Comments that point at the real bug
- Higher is better. A comment counts only if it lands within three lines of the fix the project actually shipped.
- Comments per clean pull request
- Lower is better. Clean pull requests have no known bug, so every comment there is treated as a false alarm.
- Bugs found
- Higher is better. The share of buggy pull requests where Second Look commented on the real bug.
Why it runs the test
Set min_tier: confirmed and Second Look posts only the proven kind.
The larger benchmark
The previous version, 0.5.0, was also measured on all 275 pull requests in the benchmark: 59% of its comments pointed at the real bug, 0.31 comments per clean pull request, 53% of bugs found, $0.0027 per pull request.
In practice
Two real projects, replayed commit by commit
Benchmarks reconstruct pull requests from history. We also replayed the recent commits of two real Python services as if each were a pull request, then checked every comment by hand.
Distributed object store · erasure coding, FastAPI
7 commits · 4 comments · $0.035 in model cost
- realEvery restart deleted all file metadata. Startup ran
DROP TABLEbefore creating the table, so stored objects became unreachable. The author removed it in the next commit. - provenAll storage nodes shared one directory. Every node mounted the same volume, so erasure coding protected against nothing on disk. Confirmed by a failing test.
- partlyA schema migration gap on upgrade: real, but the stated failure scenario was wrong.
- minorThe same upgrade gap one release earlier, which matters only for an old database.
Flash-sale ticketing backend · FastAPI, Redis, Postgres
6 commits · 2 comments, both real · $0.06 in model cost
- provenLive updates stopped for good when Redis dropped. The subscriber task had no error handling. Confirmed by a failing test; the author later added a retry loop.
- realThe first ticket row was never saved on a fresh database:
commit()ran only in the other branch. The author fixed it later. - provenWith Redis and Postgres added to the sandbox: a cancel racing the expiry job refunded the same tickets twice, overselling the event. Proven by a failing test, and still present in the code.
What it taught us
One commit replaced function bodies with "# ... rest unchanged" placeholders, so the service could not start. Every generated test failed on import, which correctly counts as inconclusive rather than proof, so nothing was posted. Second Look now parses every changed Python file first and reports a file the pull request broke, without a model. It also lists suspicions it didn't post in the review summary: here, that list held a ticket-leak bug in the reservation script that we later confirmed by hand.
How we measure
Built from real history
We took 27 widely used open-source projects in Python, JavaScript/TypeScript and Go, and found small commits that fixed a bug. Undoing each fix recreates the pull request that introduced the bug, and the real fix becomes the answer key. Its test is never shown to the reviewer.
Each buggy pull request also includes an unrelated real change from the same project, so the bug isn't simply "the only thing that changed". Real feature and refactoring commits serve as clean pull requests.
Pull request titles are replaced with a neutral one so they never hint at the answer, and every model response is stored, so each number can be recomputed exactly.
Limits
- A comment about a different real problem counts as wrong, so the percentages are lower bounds.
- These projects are public, so models may have seen some fixes during training.