BUGSPHP:一个用于 PHP 自动化程序修复的数据集
BUGSPHP: A dataset for Automated Program Repair in PHP
AI总结:
本文提出面向 PHP 的自动化程序修复基准数据集 BUGSPHP,包含超60万条训练提交和513条经人工验证并附带测试用例的测试提交,以填补 PHP 缺陷修复研究的数据空白。
摘要:
自动化程序修复(APR)通过节省调试和缺陷修复时间来提升开发者生产力。尽管 APR 已在 C/C++ 和 Java 程序上得到广泛探索,但由于缺乏基准 PHP 缺陷数据集,针对 PHP 程序缺陷的研究很少。考虑到 PHP 二十多年来一直是最广泛使用的服务器端语言之一,并被用于电子商务、社交网络和内容管理等多种场景,这一现状令人意外。本文提出了一个基于真实应用构建的 PHP 缺陷基准数据集 BUGSPHP,可为 PHP 程序的分析、测试和修复研究提供支持。该数据集由训练集和测试集组成,分别从 GitHub 中单独整理并在本地处理。训练集包含超过 600,000 个缺陷修复提交。测试集包含 513 个经人工验证的缺陷修复提交,并配备开发者提供的测试用例以评估补丁正确性。
英文摘要:
Automated Program Repair (APR) improves developer productivity by saving debugging and bug-fixing time. While APR has been extensively explored for C/C++ and Java programs, there is little research on bugs in PHP programs due to the lack of a benchmark PHP bug dataset. This is surprising given that PHP has been one of the most widely used server-side languages for over two decades, being used in a variety of contexts such as e-commerce, social networking, and content management. This paper presents a benchmark dataset of PHP bugs on real-world applications called BUGSPHP, which can enable research on analysis, testing, and repair for PHP programs. The dataset consists of training and test datasets, separately curated from GitHub and processed locally. The training dataset includes more than 600,000 bug-fixing commits. The test dataset contains 513 manually validated bug-fixing commits equipped with developer-provided test cases to assess patch correctness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。