基于多重关系超图的代码评审者推荐
Code Reviewer Recommendation Based on a Hypergraph with Multiplex Relationships
AI总结:
本文提出 MIRRec,利用多重关系超图和无度数超边建模拉取请求与开发者的高阶关联,以推荐代码评审者;在 GitHub 十个项目的 48,374 个 PR 上验证,其 ACC 和 MRR 优于现有方法。
摘要:
代码评审是软件开发的重要组成部分,在确保全面检查代码变更方面发挥着关键作用。然而,拉取请求的持续涌入以及可用评审者候选池有限,给评审流程带来了重大挑战,使得为每个评审请求分配合适评审者的任务变得日益困难。为解决该问题,我们提出 MIRRec,这是一种利用具有多重关系的超图的新型代码评审者推荐方法。MIRRec 通过拉取请求与开发者之间无度数限制的超边,编码超越传统成对连接的高阶关联。这样,它能够捕获高阶隐式连接并识别潜在评审者。为验证 MIRRec 的有效性,我们使用一个包含来自 GitHub 上十个热门开源软件项目的 48,374 个拉取请求的数据集开展实验。实验结果表明,MIRRec(尤其是在不使用 PR-Review Commenters 关系时)在 ACC 和 MRR 方面优于现有最先进的代码评审者推荐方法,突显了其在改进代码评审流程方面的重要意义。
英文摘要:
Code review is an essential component of software development, playing a vital role in ensuring a comprehensive check of code changes. However, the continuous influx of pull requests and the limited pool of available reviewer candidates pose a significant challenge to the review process, making the task of assigning suitable reviewers to each review request increasingly difficult. To tackle this issue, we present MIRRec, a novel code reviewer recommendation method that leverages a hypergraph with multiplex relationships. MIRRec encodes high-order correlations that go beyond traditional pairwise connections using degree-free hyperedges among pull requests and developers. This way, it can capture high-order implicit connectivity and identify potential reviewers. To validate the effectiveness of MIRRec, we conducted experiments using a dataset comprising 48,374 pull requests from ten popular open-source software projects hosted on GitHub. The experiment results demonstrate that MIRRec, especially without PR-Review Commenters relationship, outperforms existing stateof-the-art code reviewer recommendation methods in terms of ACC and MRR, highlighting its significance in improving the code review process.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。