Researchers build review tasks from GitHub pull requests to train models
Researchers created a pipeline that extracts reviewed code from merged GitHub pull requests and uses their discussions and revisions to build verifiable review tasks and verify training trajectories.
From 556k merged pull requests, the researchers built 168k review tasks and 60k verified trajectories across eight programming languages and eight finding categories including correctness, maintainability, and design.
Fine-tuning a model on 1k verified trajectories raised its F1 score from 5.7 to 43.1 on the researchers' benchmark, and scaling to 60k trajectories raised it further to 56.1.
When combined with review training, a model's performance on feature implementation improved to 31.9 from 26.5 on one benchmark and to 70.6 from 62.8 on another, compared to coding-only training.
Sources behind this report
- Hugging Face
Research · abstract · CC0 1.0
Source published
Read by the newsroom
Report history
No earlier revision dates are retained here. This does not establish that the report has never changed; read any dated updates and corrections.
This brief was made by AI and checked against its cited public sources. How the newsroom works