Nudge: Accelerating Overdue Pull Requests toward Completion

Author:

Maddila Chandra1ORCID,Upadrasta Sai Surya1ORCID,Bansal Chetan1ORCID,Nagappan Nachiappan1ORCID,Gousios Georgios2ORCID,van Deursen Arie2ORCID

Affiliation:

1. Microsoft Research, Redmond, WA, USA

2. Delft University of Technology, XE Delft, The Netherlands

Abstract

Pull requests are a key part of the collaborative software development and code review process today. However, pull requests can also slow down the software development process when the reviewer(s) or the author do not actively engage with the pull request. In this work, we design an end-to-end service, Nudge, for accelerating overdue pull requests toward completion by reminding the author or the reviewer(s) to engage with their overdue pull requests. First, we use models based on effort estimation and machine learning to predict the completion time for a given pull request. Second, we use activity detection to filter out pull requests that may be overdue but for which sufficient action is taking place nonetheless. Last, we use actor identification to understand who the blocker of the pull request is and nudge the appropriate actor (author or reviewer(s)). The key novelty of Nudge is that it succeeds in reducing pull request resolution time, while ensuring that developers perceive the notifications sent as useful, at the scale of thousands of repositories. In a randomized trial on 147 repositories in use at Microsoft, Nudge was able to reduce pull request resolution time by 60% for 8,500 pull requests, when compared to overdue pull requests for which Nudge did not send a notification. Furthermore, developers receiving Nudge notifications resolved 73% of these notifications as positive. We observed similar results when scaling up the deployment of Nudge to 8,000 repositories at Microsoft, for which Nudge sent 210,000 notifications during a full year. This demonstrates Nudge’s ability to scale to thousands of repositories. Last, our qualitative analysis of a selection of Nudge notifications indicates areas for future research, such as taking dependencies among pull requests and developer availability into account.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference49 articles.

1. Azure DevOps REST API. Retrieved 2020 from https://docs.microsoft.com/en-us/rest/api/azure/devops/?view=azure-devops-rest-5.0.

2. GitHub. Retrieved 2020 from https://flow.microsoft.com/en-us/.

3. Accessed 2020. GitHub. Retrieved 2020 from https://flow.microsoft.com/en-us/blog/sending-pull-request-review-reminders-using-ms-flows/.

4. GitHub. Retrieved 2020 from https://www.openml.org/a/estimation-procedures/9.

5. GitHub Marketplace. Retrieved 2020 from https://github.com/marketplace.

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Does code review speed matter for practitioners?;Empirical Software Engineering;2023-11-22

2. Are We Speeding Up or Slowing Down? On Temporal Aspects of Code Velocity;2023 IEEE/ACM 20th International Conference on Mining Software Repositories (MSR);2023-05

3. CatAlyst: Domain-Extensible Intervention for Preventing Task Procrastination Using Large Generative Models;Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems;2023-04-19

4. Understanding why we cannot model how long a code review will take: an industrial case study;Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2022-11-07

5. Using nudges to accelerate code reviews at scale;Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2022-11-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3