论文标题
使用开发人员讨论指导软件中的错误修复错误
Using Developer Discussions to Guide Fixing Bugs in Software
论文作者
论文摘要
自动修复软件错误是一项具有挑战性的任务。虽然最近的工作表明自然语言上下文对于指导固定错误模型很有用,但该方法需要提示开发人员提供此上下文,该上下文是通过对错误固定代码进行更改后编写的提交消息进行模拟的。相反,我们建议使用错误报告讨论,这些讨论可以在执行任务之前可用并且自然发生,从而避免了开发人员需要任何其他信息。为此,我们通过错误报告讨论来增强标准错误的数据集。使用这些新编译的数据集,我们证明了从此类讨论中得出的各种形式的自然语言上下文可以帮助固定错误,甚至可以改善性能,而不是使用对应于Oracle bug-fum-fixing提交的提交消息。
Automatically fixing software bugs is a challenging task. While recent work showed that natural language context is useful in guiding bug-fixing models, the approach required prompting developers to provide this context, which was simulated through commit messages written after the bug-fixing code changes were made. We instead propose using bug report discussions, which are available before the task is performed and are also naturally occurring, avoiding the need for any additional information from developers. For this, we augment standard bug-fixing datasets with bug report discussions. Using these newly compiled datasets, we demonstrate that various forms of natural language context derived from such discussions can aid bug-fixing, even leading to improved performance over using commit messages corresponding to the oracle bug-fixing commits.