Building Bridges, Not Walls: Fairness-Aware and Accurate Recommendation of Code Reviewers via LLm-Based Agents Collaboration

Code review is essential for maintenance of pull request-based software systems. Recommending suitable reviewers for code changes can enhance defect detection and knowledge dissemination. Despite extensive research, the inherent complexity of pull requests (PRs) and reviewer profiles continues to cause challenge for accurate matching them together. Furthermore, existing methods often amplify gender and racial/ethnic disparities due to the lack of attention to biases present in historical review records. To address these issues, we first collected a dataset from 4 large-scale open-source projects involving 50 -month revision history, reaching up to 30 attributes. This dataset includes gender and racial/ethnic information, which was inferred, validated, and incorporated to enable comprehensive data bias analysis in reviewer recommendation tasks. Additionally, we introduce a fairness-aware and accurate approach: CoReBM, which leverages the advanced semantic understanding capabilities of Large Language Models (LLMs) to comprehensively capture the nuanced textual context of both PRs and reviewers, utilizing the robust planning, collaborative, and decision-making abilities of multi-agent systems. CoReBM integrates diverse factors to improve recommendation performance while mitigating bias effects through the incorporation of candidates' gender and racial/ethnic attributes. We evaluate the effectiveness of our approach on this dataset, and the results demonstrate that CoReBM outperforms state-of-the-art methods in both accuracy and fairness in recommendation.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/icpc66645.2025.00067
Citations
1
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
3.25

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Building Bridges, Not Walls: Fairness-Aware and Accurate Recommendation of Code Reviewers via LLm-Based Agents Collaboration

Di Cui, M Wang, Luqiao Wang, Yangtao Zhou et al.
1 citations
Software Engineering Research
3.25
article

Building Bridges, Not Walls: Fairness-Aware and Accurate Recommendation of Code Reviewers via LLm-Based Agents Collaboration

Di Cui, M Wang, Luqiao Wang, Yangtao Zhou, Y.D. Xu, Yutong Zhao, Lu Wang, Qingshan Li, Huiying Zhuang
article en
1 citations

Abstract

Code review is essential for maintenance of pull request-based software systems. Recommending suitable reviewers for code changes can enhance defect detection and knowledge dissemination. Despite extensive research, the inherent complexity of pull requests (PRs) and reviewer profiles continues to cause challenge for accurate matching them together. Furthermore, existing methods often amplify gender and racial/ethnic disparities due to the lack of attention to biases present in historical review records. To address these issues, we first collected a dataset from 4 large-scale open-source projects involving 50 -month revision history, reaching up to 30 attributes. This dataset includes gender and racial/ethnic information, which was inferred, validated, and incorporated to enable comprehensive data bias analysis in reviewer recommendation tasks. Additionally, we introduce a fairness-aware and accurate approach: CoReBM, which leverages the advanced semantic understanding capabilities of Large Language Models (LLMs) to comprehensively capture the nuanced textual context of both PRs and reviewers, utilizing the robust planning, collaborative, and decision-making abilities of multi-agent systems. CoReBM integrates diverse factors to improve recommendation performance while mitigating bias effects through the incorporation of candidates' gender and racial/ethnic attributes. We evaluate the effectiveness of our approach on this dataset, and the results demonstrate that CoReBM outperforms state-of-the-art methods in both accuracy and fairness in recommendation.

Xidian University (CN), University of Central Missouri (US)
National Natural Science Foundation of China, Natural Science Foundation of Jiangsu Province, Xidian University
Sustainable cities and communities
Openalex Percentile: Top 8%
Software Engineering Research
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.