Models are worse at reviewing their own code
TLDR
Greptile researchers tested whether AI code review models catch bugs in code written by other models versus their own code, finding both Claude and GPT detect more bugs in code written by the competing model. Testing on 1,000 PRs with 1,500 verified bugs showed Claude Opus achieved 39% recall on GPT-authored code but only 28% on Claude-authored code, while GPT showed the opposite pattern. The team launched Model Inversion, a feature that routes code reviews to the opposite model based on author detection, leveraging the finding that cross-model reviews outperform same-model reviews.
Why it matters
Claude Code and Codex are both better at finding bugs in each other's code than their own, as models produce the same types of bugs they are most likely to miss in review. Developers can leverage this finding by routing code reviews to different models.