Author
Listed:
- Mustafa Bilal
(Department of Computer Science and IT, University of Malakand, Pakistan)
- Nasir Rashid
(Department of Computer Science and IT, University of Malakand, Pakistan)
- Muneeb Babar
(Department of Computer Science and IT, University of Malakand, Pakistan)
- Sheraz Babar
(Department of Applied AI, School of Convergence, College of Computing and Informatics, Sungkyunkwan University, South Korea)
- Pervez Khan
(Department of Computer Science and IT, University of Malakand, Pakistan)
- Muhammad Salam
(Department of Computer Science and IT, University of Malakand, Pakistan)
Abstract
Accurate prediction of bug report severity is essential for prioritizing software-maintenance activities, but manual severity assignment is costly, time-consuming, and potentially inconsistent. This study investigates prompt-based open-weight Large Language Models for automatically classifying bug reports as severe or non-severe without task-specific fine-tuning. The experiments used 3,535 bug reports from the CDT, JDT, Bugzilla, and Thunderbird projects. The original severity labels were mapped into two categories: blocker, critical, and major as severe, and normal, minor, and trivial as non-severe. LLaMA 3.1:8B and Qwen3:8B were evaluated under zero-shot and few-shot prompting and compared with Support Vector Machine, Multinomial Naive Bayes, Random Forest, and Long Short-Term Memory models using TF-IDF and Word2Vec representations. On the held-out test set, Qwen3:8B with few-shot prompting achieved 98.6% accuracy, 100% precision, 97.5% recall, and a 98.7% F1-score. Compared with the strongest conventional baseline, Random Forest with TF-IDF, it improved accuracy and F1-score by 26.6 and 24.2 percentage points, respectively. On an additional dataset of 200 synthetically generated bug reports, LLaMA 3.1:8B with zero-shot prompting achieved 97.99% accuracy and a 98.51% F1-score, while Qwen3:8B with few-shot prompting achieved 97.9% accuracy and a 97.5% F1-score. These results indicate that prompt-based LLMs can substantially reduce task-specific preprocessing and training requirements while providing high predictive performance. However, further evaluation on independent, human-authored, cross-project datasets is required before making broad claims regarding real-world generalization.
Suggested Citation
Mustafa Bilal & Nasir Rashid & Muneeb Babar & Sheraz Babar & Pervez Khan & Muhammad Salam, 2026.
"Automating Severity Prediction of Bug Reports Using Large Language Models (LLM),"
International Journal of Innovations in Science & Technology, 50sea, vol. 8(3), pages 1485-1511, June.
Handle:
RePEc:abq:ijist1:v:8:y:2026:i:3:p:1485-1511
DOI: https://doi.org/10.33411/IJIST/1941
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:abq:ijist1:v:8:y:2026:i:3:p:1485-1511. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Iqra Nazeer (email available below). General contact details of provider: .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.