Automatic Bug Report Generation for Open Source Projects via QLoRA Fine-Tuning, CTQRS-Structured Prompting, and the Integration of CoT and Few-Shot Strategies 


Vol. 53,  No. 3, pp. 217-229, Mar.  2026
10.5626/JOK.2026.53.3.217


PDF

  Abstract

Bug reports are crucial for tracking defects and maintaining software. However, in open-source environments, they are often created by non-experts, which can result in incomplete, inconsistent and less reproducible reports. Previous studies have primarily focused on template-based methods or simple fine-tuning, without fully utilizing multidimensional quality metrics like CTQRS or systematically assessing the effectiveness of few-shot prompting. This paper proposes a novel approach that integrates QLoRA-4bit fine-tuning of large language models with CTQRS-based structured prompting, Chain-of-Thought reasoning, and one or two-shot examples. Experiments conducted on a Bugzilla dataset of 3,966 pairs demonstrated significant improvements: CTQRS increased from 77% to 94%, ROUGE-1 Recall rose from 0.61 to 0.87, and SBERT similarity improved from 85 to 90. Additionally, QLoRA alone outperformed the baseline, with the supplementary strategies contributing complementary gains. These findings empirically validate that structured prompting, reasoning guidance, and minimal example provision are critical factors in enhancing performance, highlighting the practical potential of resource-efficient fine-tuning for open-source software maintenance.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

S. Choi and G. Yang, "Automatic Bug Report Generation for Open Source Projects via QLoRA Fine-Tuning, CTQRS-Structured Prompting, and the Integration of CoT and Few-Shot Strategies," Journal of KIISE, JOK, vol. 53, no. 3, pp. 217-229, 2026. DOI: 10.5626/JOK.2026.53.3.217.


[ACM Style]

Seojin Choi and Geunseok Yang. 2026. Automatic Bug Report Generation for Open Source Projects via QLoRA Fine-Tuning, CTQRS-Structured Prompting, and the Integration of CoT and Few-Shot Strategies. Journal of KIISE, JOK, 53, 3, (2026), 217-229. DOI: 10.5626/JOK.2026.53.3.217.


[KCI Style]

최서진, 양근석, "QLoRA와 CTQRS 구조화 프롬프트, CoT·Few-shot 전략을 결합한 오픈 소스 버그 리포트 자동 생성 기법," 한국정보과학회 논문지, 제53권, 제3호, 217~229쪽, 2026. DOI: 10.5626/JOK.2026.53.3.217.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr