Vibeleaderboard
← All Intel
Intel / article

LegoReview: Scaling Code Review Data with Verification from Pull Request Histories

Source
arxiv.org
Author
Ruoyu Wang, Jierun Chen, Yuxin Jiang, Chaofan Tao, Shaowei Wang, Sidi Yang, Conghao Xiong, Yiming Du, Tiezheng Yu, Kim-Hui Yap, Lifeng Shang, Xiao-Hui Li, Haoli Bai
Date
Why it matters

Code review findings cannot be verified by running tests. This approach uses PR discussions and follow-up revisions as the verification signal to build training data for automated reviewers at scale.

Key takeaways · AI-distilled
  • LegoReview treats merged GitHub PR histories as an implicit check on review findings, since discussions and later revisions show which findings were fixed and which were withdrawn, turning 556k PRs into 168k review tasks and 60k verified trajectories.
  • Qwen3.5-35B-A3B-Base on just 1k verified trajectories raised F1 on LegoReview-Bench from 5.7 to 43.1, and scaling to 60k trajectories raised it to 56.1.
  • Joint with review trajectories lifted DeepSWE from 26.5 to 31.9 and Pro V2 Hard from 62.8 to 70.6 versus coding-only training; the authors' behavioral analysis suggests review training makes models check code more often while implementing.
Terms in this piece · Glossary
  • Training — The process that adjusts a model using examples and a measure of how well it performs.
  • fine-tuning — Taking a trained model and training it a bit more on your own examples so it gets better at one specific job.
  • SWE-bench — The standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Recommended reads