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

CREATOROussama Ben Sghaier, Martin Weyssow, Houari Sahraoui
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE53 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-03425

Browse the full library · About the Tower of Babel