LegoReview builds verifiable code-review tasks from GitHub pull requests
Original title: LegoReview: Scaling Code Review Data with Verification from Pull Request Histories
Fine-tuning Qwen3.5-35B-A3B-Base on 60k trajectories raises LegoReview-Bench F1 to 56.1.
LegoReview reconstructs reviewed snapshots from merged GitHub pull requests and uses discussions and revisions as a verification signal for open-ended review findings. From 556k merged PRs the authors build 168k review tasks and 60k verified trajectories across eight languages and eight finding categories. Fine-tuning Qwen3.5-35B-A3B-Base improves LegoReview-Bench F1, and joint review-plus-coding training also raises DeepSWE and SWE-bench Pro V2 Hard scores.
Unconfirmed: Score gains are the authors' reported fine-tuning results, not an independent evaluation.
- The pipeline starts from 556k merged GitHub pull requests.
- It produces 168k review tasks and 60k verified trajectories.
- Coverage spans eight languages and eight finding categories.
- One thousand trajectories raise LegoReview-Bench F1 from 5.7 to 43.1.
- Joint training moves DeepSWE from 26.5 to 31.9 and SWE-bench Pro V2 Hard from 62.8 to 70.6.
- Products
- LegoReview
- AI models
- Qwen3.5-35B-A3B-Base
From the original article
1 min read at huggingface.coAs coding agents write a growing share of software, automated code review becomes increasingly necessary. Training capable reviewers calls for scaling verifiable tasks and verified trajectories. However, code review produces open-ended, natural-language findings whose correctness cannot be verified simply by running tests.
By Ruoyu Wang, Jierun Chen, Yuxin Jiang · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.