Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

LegoReview mines GitHub PR histories for verifiable code-review training data

LegoReview uses the histories of 556k merged GitHub PRs to tell which review findings were accepted or fixed and which were rejected, building 168k review tasks and 60k verified trajectories across eight languages. Fine-tuning Qwen3.5-35B-A3B-Base on just 1k…

Published Read the original
LegoReview mines GitHub PR histories for verifiable code-review training data

Why it matters

If review training really makes coding agents better coders too, automated review becomes part of how coding agents are trained, not just an add-on.

What happened

1 min read

LegoReview uses the histories of 556k merged GitHub PRs to tell which review findings were accepted or fixed and which were rejected, building 168k review tasks and 60k verified trajectories across eight languages. Fine-tuning Qwen3.5-35B-A3B-Base on just 1k trajectories lifts F1 on LegoReview-Bench from 5.7 to 43.1, and 60k lifts it to 56.1. Joint review and coding training also raises SWE-bench Pro V2 Hard from 62.8 to 70.6 compared with coding-only training.

inscraper analysis

Our analysis

The core problem with code review is that findings can't be verified by running tests; using developers' actual behavior in PRs as the verification signal is a smart workaround. The big F1 jump is on the authors' own benchmark, but the SWE-bench Pro gain is more independent and more interesting. Expect noise in the 'accepted' signal, since plenty of correct comments simply go unanswered. It fits the broader trend, seen in GitHub's recent Copilot review redesign, of treating review as its own trained skill.

More in Research