BugMentor: Generating answers to follow-up questions from software bug reports using structured information retrieval and neural text generation

Software bug reports often lack crucial information (e.g., steps to reproduce), which makes bug resolution challenging. Developers thus ask follow-up questions to capture additional information. However, according to existing evidence, bug reporters often face difficulties answering them, which leads to the premature closing of bug reports without any resolution. Recent studies suggest follow-up questions to support the developers, but answering the follow-up questions still remains a major challenge. In this paper, we propose BugMentor, a novel approach that combines structured information retrieval and neural text generation (e.g., Mistral) to generate appropriate answers to the follow-up questions. Our technique identifies the past relevant bug reports to a given bug report, captures contextual information, and then leverages it to generate the answers. We evaluate our generated answers against the ground truth answers using four appropriate metrics, including BLEU Score and Semantic Similarity. We achieve a BLEU Score of up to 72 and Semantic Similarity of up to 92 indicating that our technique can generate understandable and good answers to the follow-up questions according to Google’s AutoML Translation documentation. Our technique also outperforms four existing baselines with a statistically significant margin. We also conduct a developer study involving 23 participants where the answers from our technique were found to be more accurate, more precise, more concise and more useful. • BugMentor combines structured retrieval and neural text generation for bug Q&A. • Incorporating the retrieved bug report context significantly improves the generated answers. • BugMentor outperforms four existing baselines. • BugMentor is compatible with multiple large language models (e.g., Llama or Mistral). • BugMentor aims to reduce developer time spent on follow-up question resolution.

Authors

Institutions

Publication Details

Journal
Journal of Systems and Software
Published
2025-09-29
DOI
https://doi.org/10.1016/j.jss.2025.112636
Citations
1
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
3.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

BugMentor: Generating answers to follow-up questions from software bug reports using structured information retrieval and neural text generation

Mohammad Masudur Rahman, Usmi Mukherjee
1 citations
Journal of Systems and Software
Software Engineering Research
3.25
article

BugMentor: Generating answers to follow-up questions from software bug reports using structured information retrieval and neural text generation

Mohammad Masudur Rahman, Usmi Mukherjee
article en
1 citations

Abstract

Software bug reports often lack crucial information (e.g., steps to reproduce), which makes bug resolution challenging. Developers thus ask follow-up questions to capture additional information. However, according to existing evidence, bug reporters often face difficulties answering them, which leads to the premature closing of bug reports without any resolution. Recent studies suggest follow-up questions to support the developers, but answering the follow-up questions still remains a major challenge. In this paper, we propose BugMentor, a novel approach that combines structured information retrieval and neural text generation (e.g., Mistral) to generate appropriate answers to the follow-up questions. Our technique identifies the past relevant bug reports to a given bug report, captures contextual information, and then leverages it to generate the answers. We evaluate our generated answers against the ground truth answers using four appropriate metrics, including BLEU Score and Semantic Similarity. We achieve a BLEU Score of up to 72 and Semantic Similarity of up to 92 indicating that our technique can generate understandable and good answers to the follow-up questions according to Google’s AutoML Translation documentation. Our technique also outperforms four existing baselines with a statistically significant margin. We also conduct a developer study involving 23 participants where the answers from our technique were found to be more accurate, more precise, more concise and more useful. • BugMentor combines structured retrieval and neural text generation for bug Q&A. • Incorporating the retrieved bug report context significantly improves the generated answers. • BugMentor outperforms four existing baselines. • BugMentor is compatible with multiple large language models (e.g., Llama or Mistral). • BugMentor aims to reduce developer time spent on follow-up question resolution.

Journal of Systems and SoftwareVol. 231
Dalhousie University (CA)
Openalex Percentile: Top 6%
Software Engineering Research
3.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

BugMentor: Generating answers to follow-up questions from software bug reports using structured information retrieval and neural text generation — Mohammad Masudur Rahman, Usmi Mukherjee · Journal of Systems and Software (2025) | TGRS Research Map | TGRS