Code Review Without Borders: Evaluating Synthetic vs. Real Data for Review Recommendation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Cohen, Yogev, Ohayon, Dudi, Somkin, Romy, Aperstein, Yehudit, Apartsin, Alexander
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908520296742912
author Cohen, Yogev
Ohayon, Dudi
Somkin, Romy
Aperstein, Yehudit
Apartsin, Alexander
author_facet Cohen, Yogev
Ohayon, Dudi
Somkin, Romy
Aperstein, Yehudit
Apartsin, Alexander
contents Automating the decision of whether a code change requires manual review is vital for maintaining software quality in modern development workflows. However, the emergence of new programming languages and frameworks creates a critical bottleneck: while large volumes of unlabelled code are readily available, there is an insufficient amount of labelled data to train supervised models for review classification. We address this challenge by leveraging Large Language Models (LLMs) to translate code changes from well-resourced languages into equivalent changes in underrepresented or emerging languages, generating synthetic training data where labelled examples are scarce. We assume that although LLMs have learned the syntax and semantics of new languages from available unlabelled code, they have yet to fully grasp which code changes are considered significant or review-worthy within these emerging ecosystems. To overcome this, we use LLMs to generate synthetic change examples and train supervised classifiers on them. We systematically compare the performance of these classifiers against models trained on real labelled data. Our experiments across multiple GitHub repositories and language pairs demonstrate that LLM-generated synthetic data can effectively bootstrap review recommendation systems, narrowing the performance gap even in low-resource settings. This approach provides a scalable pathway to extend automated code review capabilities to rapidly evolving technology stacks, even in the absence of annotated data.
format Preprint
id arxiv_https___arxiv_org_abs_2509_04810
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Code Review Without Borders: Evaluating Synthetic vs. Real Data for Review Recommendation
Cohen, Yogev
Ohayon, Dudi
Somkin, Romy
Aperstein, Yehudit
Apartsin, Alexander
Software Engineering
Computation and Language
Machine Learning
Automating the decision of whether a code change requires manual review is vital for maintaining software quality in modern development workflows. However, the emergence of new programming languages and frameworks creates a critical bottleneck: while large volumes of unlabelled code are readily available, there is an insufficient amount of labelled data to train supervised models for review classification. We address this challenge by leveraging Large Language Models (LLMs) to translate code changes from well-resourced languages into equivalent changes in underrepresented or emerging languages, generating synthetic training data where labelled examples are scarce. We assume that although LLMs have learned the syntax and semantics of new languages from available unlabelled code, they have yet to fully grasp which code changes are considered significant or review-worthy within these emerging ecosystems. To overcome this, we use LLMs to generate synthetic change examples and train supervised classifiers on them. We systematically compare the performance of these classifiers against models trained on real labelled data. Our experiments across multiple GitHub repositories and language pairs demonstrate that LLM-generated synthetic data can effectively bootstrap review recommendation systems, narrowing the performance gap even in low-resource settings. This approach provides a scalable pathway to extend automated code review capabilities to rapidly evolving technology stacks, even in the absence of annotated data.
title Code Review Without Borders: Evaluating Synthetic vs. Real Data for Review Recommendation
topic Software Engineering
Computation and Language
Machine Learning
url https://arxiv.org/abs/2509.04810