改进代码审查者推荐:准确性、延迟、工作负载与旁观者
Improving Code Reviewer Recommendation: Accuracy, Latency, Workload, and Bystanders
AI总结:
本文通过三项大规模 A/B 测试评估 Meta 代码审查推荐器的改进,发现低延迟特征推荐器提升准确性与延迟、工作负载均衡推荐器结果混合、明确分配个体可大幅缩短审查时间,并揭示回测与在线实验存在差异。
摘要:
Meta 的代码审查团队正在持续改进代码审查流程。为了评估新的推荐器,我们进行了三项 A/B 测试,这是一种随机对照实验。实验 1:我们基于文献中已成功使用且能够以低延迟计算的特征开发了一个新的推荐器。在 2022 年春季对 82k 个 diff 进行的 A/B 测试中,我们发现新的推荐器更准确且延迟更低。实验 2:审查者工作负载分布不均,我们的目标是减少顶级审查者的工作负载。随后,我们在 2023 年冬季对 28k 名 diff 作者运行了一项关于工作负载均衡推荐器的 A/B 测试。我们的 A/B 测试得出了混合结果。实验 3:我们怀疑旁观者效应可能减缓了仅分配团队的那些 diff 的审查速度。我们在 2023 年春季对 12.5k 名作者进行了 A/B 测试,发现当明确分配推荐的个体时,diff 被审查所需的时间大幅减少。我们的发现还表明,历史回测与 A/B 测试实验结果之间可能存在差异。
英文摘要:
The code review team at Meta is continuously improving the code review process. To evaluate the new recommenders, we conduct three A/B tests which are a type of randomized controlled experimental trial. Expt 1. We developed a new recommender based on features that had been successfully used in the literature and that could be calculated with low latency. In an A/B test on 82k diffs in Spring of 2022, we found that the new recommender was more accurate and had lower latency. Expt 2. Reviewer workload is not evenly distributed, our goal was to reduce the workload of top reviewers. We then ran an A/B test on 28k diff authors in Winter 2023 on a workload balanced recommender. Our A/B test led to mixed results. Expt 3. We suspected the bystander effect might be slowing down reviews of diffs where only a team was assigned. We conducted an A/B test on 12.5k authors in Spring 2023 and found a large decrease in the amount of time it took for diffs to be reviewed when a recommended individual was explicitly assigned. Our findings also suggest there can be a discrepancy between historical back-testing and A/B test experimental findings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。