SECLNov 11, 2022

Using Developer Discussions to Guide Fixing Bugs in Software

arXiv:2211.06335v1291 citationsh-index: 88
Originality Incremental advance
AI Analysis

This work addresses the challenge of bug-fixing in software development by leveraging existing discussions, offering a practical improvement for developers and tools.

The paper tackles the problem of automatically fixing software bugs by using bug report discussions as natural language context, which are available before fixes are made, and shows that this approach improves performance over using commit messages, with concrete gains demonstrated on augmented datasets.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes