arrow
返回

Improving the pull requests review process using learning-to-rank algorithms

delete2019-03-01
delete36
PRE
AI
G
Guoliang Zhao *
D
Daniel Alencar da Costa
Y
Ying Zou
DOI:10.1007/s10664-019-09696-8delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Collaborative software development platforms (such as GitHub and GitLab) have become increasingly popular as they have attracted thousands of external contributors to contribute to open source projects. The external contributors may submit their contributions via pull requests, which must be reviewed before being integrated into the central repository. During the review process, reviewers provide feedback to contributors, conduct tests and request further modifications before finally accepting or rejecting the contributions. The role of reviewers is key to maintain the effective review process of the project. However, the number of decisions that reviewers can make is far superseded by the increasing number of pull requests submissions. To help reviewers to perform more decisions on pull requests within their limited working time, we propose a learning-to-rank (LtR) approach to recommend pull requests that can be quickly reviewed by reviewers. Different from a binary model for predicting the decisions of pull requests, our ranking approach complements the existing list of pull requests based on their likelihood of being quickly merged or rejected. We use 18 metrics to build LtR models and we use six different LtR algorithms, such as ListNet, RankNet, MART and random forest. We conduct empirical studies on 74 Java projects to compare the performances of the six LtR algorithms. We compare the best performing algorithm against two baselines obtained from previous research regarding pull requests prioritization: the first-in-and-first-out (FIFO) baseline and the small-size-first baseline. We then conduct a survey with GitHub reviewers to understand the perception of code reviewers regarding the usefulness of our approach. We observe that: (1) The random forest LtR algorithm outperforms other five well adapted LtR algorithms to rank quickly merged pull requests. (2) The random forest LtR algorithm performs better than both the FIFO and the small-size-first baselines, which means our LtR approach can help reviewers make more decisions and improve their productivity. (3) The contributor's social connections and contributor's experience are the most influential metrics to rank pull requests that can be quickly merged. (4) The GitHub reviewers that participated in our survey acknowledge that our approach complements existing prioritization baselines to help them to prioritize and to review more pull requests.
Keyword:
Pull requests
Learning-to-rank
Merged
Rejected
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

Q
queens university - canada
学者数:
1.8W
论文数: 1.7W
被引数: 29
U
university of otago
学者数:
1.8W
论文数: 1.6W
被引数: 15
引用论文

引用论文

Dandruff and Seborrhea
err1938-04-01
err0
errOAAI
errGeorge M. MacKee; George M. Lewis
err分享
err收藏
Y-Autosome Translocation Associated with Azoospermia
err2010-02-15
err0
PREAI
errIsoji Sasagawa; Teruhiro Nakada; Yuichi Adachi; Tomoyuki Kato; Toshihiro Sawamura; Manabu Ishigooka; Tohru Hashimoto
err分享
err收藏
Programmed sample delivery on a pressurized paper
err2014-10-24
err0
errOAAI
errJoong Ho Shin; Juhwan Park; Seung Hoon Kim; Je-Kyun Park
err分享
err收藏
Correction pen based paper fluidic device for the detection of multiple gene targets of Leptospira using Loop Mediated Isothermal Amplification
err2020-07-01
err0
PREAI
errVenkatesh Varsha; Sitaraman Aishwarya; Sarma Murchana; Gattuboyena Naveen; Mohandass Ramya; Pasupathi Rathinasabapathi
err分享
err收藏
Differential diagnosis of impotence in diabetics: The validity of sexual symptomatology
err2005-10-18
err0
PREAI
errGene G. Abel; Judith V. Becker; Jerry Cunningham‐Rathner; Mary Mittelman; Marshall Primack
err分享
err收藏
Pachytene analysis in a 17;21 reciprocal translocation carrier: role of the acrocentric chromosomes in male sterility
err1987-11-01
err0
PREAI
errJ. M. Luciani; M. R. Guichaoua; D. Delafontaine; M. O. North; O. Gabriel-Robez; Y. Rumpler
err分享
err收藏
学者 查看更多内容