Harnessing Large Language Models for Curated Code Reviews
Oussama Ben Sghaier, Martin Weyssow, Houari Sahraoui · 2025
Read Harnessing Large Language Models for Curated Code Reviews by Oussama Ben Sghaier, Martin Weyssow, Houari Sahraoui (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-03425.txt.
Description
Oussama Ben Sghaier and co-authors use large language models to clean up the training data behind automatic code review. Review comments guide fixes, yet public review datasets are noisy, vague, and stuffed with filler. Models trained on that mess learn to write messy comments.
The team first builds a scoring frame with clear criteria for comment quality. They grade the largest public review dataset and log its flaws. A language-model pipeline then rewrites and filters the set under that frame. Re-grading shows clear gains in clarity and brevity. Models trained on the cleaned data write sharper comments and drive better code fixes downstream. The lesson reaches beyond code review: curation can matter as much as model size.
Catalog record
| CREATOR | Oussama Ben Sghaier, Martin Weyssow, Houari Sahraoui |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 53 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2502-03425