English

Learning to Describe Solutions for Bug Reports Based on Developer Discussions

Computation and Language 2022-03-31 v2 Software Engineering

Abstract

When a software bug is reported, developers engage in a discussion to collaboratively resolve it. While the solution is likely formulated within the discussion, it is often buried in a large amount of text, making it difficult to comprehend and delaying its implementation. To expedite bug resolution, we propose generating a concise natural language description of the solution by synthesizing relevant content within the discussion, which encompasses both natural language and source code. We build a corpus for this task using a novel technique for obtaining noisy supervision from repository changes linked to bug reports, with which we establish benchmarks. We also design two systems for generating a description during an ongoing discussion by classifying when sufficient context for performing the task emerges in real-time. With automated and human evaluation, we find this task to form an ideal testbed for complex reasoning in long, bimodal dialogue context.

Keywords

Cite

@article{arxiv.2110.04353,
  title  = {Learning to Describe Solutions for Bug Reports Based on Developer Discussions},
  author = {Sheena Panthaplackel and Junyi Jessy Li and Milos Gligoric and Raymond J. Mooney},
  journal= {arXiv preprint arXiv:2110.04353},
  year   = {2022}
}

Comments

Accepted in Findings of ACL 2022

R2 v1 2026-06-24T06:44:59.286Z