Improving Bug Reporting by Fine-Tuning the T5 Model: An Evaluation in a Software Industry
Context: Bug reporting is essential in software development to ensure product quality. Within testing teams, testers report multiple bugs daily through manual reports describing test details. Problem: Manual bug reporting is exhausting and time-consuming, leading to potential errors and missing information. These issues can compromise the product if developers cannot understand the bug’s cause. Solution: We explore training Large Language Models (LLMs) to automatically generate bug reports from brief user descriptions. Methodology: We collected 1,800 bugs reported in 2024 to build a dataset and fine-tuned the T5 model (Text-to-Text Transfer Transformer). Three fine-tuning iterations were performed and evaluated using BLEU, METEOR, Precision, Recall, and F1-Score metrics. Summary of Results: The best-performing model, trained with two low-complexity bug report types, achieved BLEU of 0.9845, METEOR of 0.9634, Precision of 0.9898, Recall of 0.9886, and F1-Score of 0.9892. In testing, this model achieved 70% success rate with responses matching user input without hallucinations. The results indicate LLMs are viable for automatic bug report generation.
Authors
- Lennon Chaves (ORCID: https://orcid.org/0000-0003-4097-2851)
- Flávia Oliveira (ORCID: https://orcid.org/0000-0002-7958-8913)
- Davi Gonzaga
- Leonardo Tiago
- Ana Paula Silva (ORCID: https://orcid.org/0000-0002-3721-3873)
Institutions
- Institute of Technology of Cambodia (KH)
- Institute of Science and Technology
Publication Details
- Published
- 2025-09-17
- DOI
- https://doi.org/10.5753/sast.2025.13591
- Citations
- 1
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 3.25
Funders
- Samsung Eletrônica da Amazônia
- Samsung