paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Exploit those code reviews! bigger data for deeper learning

利用那些代码评审!为更深入的深度学习提供更大规模数据
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 3/10 · 论文构建代码评审数据集并关联评审评论与 AST 节点,属于机器学习与程序语言交叉,但未涉及静态分析、Agentic 程序、浮点程序分析或贝叶斯程序分析等用户核心方向,因此匹配度较低。引用 7 inbox
Robert Heumüller, Sebastian Nielebock, Frank Ortmeier
crossref: 2026-09-12

AI 速览

一句话:提出从 GitHub 挖掘代码评审数据集的 ETCR 基础设施,并构建关联评审评论与 AST 节点的大规模数据集。

现代代码评审(MCR)在软件开发中普遍存在,GitHub 等平台积累了大量评审数据,但缺乏面向深度学习的大规模标准数据集。本文提出 ETCR 基础设施,用于从任何采用 pull-request 开发的 GitHub 项目挖掘 MCR 数据集。作者以 Elasticsearch 项目为例构建 ETCR-Elasticsearch,包含来自 4 万余个 pull request、4.7 万余个 Java 文件修订的超过 23.1 万条评审评论。该数据集针对深度学习任务设计,相较于先前数据集,额外包含将评审评论链接到程序抽象语法树(AST)节点的全部信息,从而支持更深入的代码评审学习与分析。

问题
现有代码评审数据分散在 GitHub 等平台,缺少面向深度学习的大规模标准数据集,尤其缺少评审评论与代码结构之间的链接信息。
方法
提出 ETCR 基础设施,从任意基于 pull-request 的 GitHub 项目挖掘 MCR 数据集,并以 Elasticsearch 项目为例构建包含 AST 节点链接信息的 ETCR-Elasticsearch 数据集。
评估
通过从 Elasticsearch 项目挖掘出超过 23.1 万条评审评论、4.7 万 Java 文件修订和 4 万 pull request 的数据集,展示 ETCR 的有效性。
原文摘要(Abstract)

Modern code review (MCR) processes are prevalent in most organizations that develop software due to benefits in quality assurance and knowledge transfer. With the rise of collaborative software development platforms like GitHub and Bitbucket, today, millions of projects share not only their code but also their review data. Although researchers have tried to exploit this data for more than a decade, most of that knowledge remains a buried treasure. A crucial catalyst for many advances in deep learning, however, is the accessibility of large-scale standard datasets for different learning tasks. This paper presents the ETCR (Exploit Those Code Reviews!) infrastructure for mining MCR datasets from any GitHub project practicing pull-request-based development. We demonstrate its effectiveness with ETCR-Elasticsearch, a dataset of >231𝑘 review comments for >47𝑘 Java file revisions in >40𝑘 pull-requests from the Elasticsearch project. ETCR is designed with the challenge of deep learning in mind. Compared to previous datasets, ETCR datasets include all information for linking review comments to nodes in the respective program’s Abstract Syntax Tree.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot6339,
  title = {Exploit those code reviews! bigger data for deeper learning},
  author = {Robert Heumüller and Sebastian Nielebock and Frank Ortmeier},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3473110}
}