收藏切换
A Multi-Agent Collaboration for Completing and Optimizing Bug Reports
收藏切换
Wei Wei, Xing Yuan, Junwei Du*, Yuying Li
Journal of Computer Research and Development | 2026, 63(4) : 900 - 917
Less
收藏切换
Journal of Computer Research and Development | 2026, 63(4): 900-917
• Special Issue on LLMs and Software Engineering •
A Multi-Agent Collaboration for Completing and Optimizing Bug Reports
Full
Wei Wei, Xing Yuan, Junwei Du*, Yuying Li
Affiliations
  • School of Data Science, Qingdao University of Science and Technology, Qingdao, Shandong 266100
  • born in 1996. PhD candidate. Her main research interests include intelligent software engineering and bug triage

    born in 1999. Master candidate. His main research interests include code generation and code summarization

    born in 1974. Professor. Senior member of CCF. His main research interests include natural language processing and software test

    born in 1994. Lecturer. Her main research interest includes intelligent software engineering

About Author:

born in 1996. PhD candidate. Her main research interests include intelligent software engineering and bug triage

born in 1999. Master candidate. His main research interests include code generation and code summarization

born in 1974. Professor. Senior member of CCF. His main research interests include natural language processing and software test

born in 1994. Lecturer. Her main research interest includes intelligent software engineering

Published: 2026-04-01 doi: 10.7544/issn1000-1239.202550693
Outline
收藏切换

Bug reports serve as a critical foundation for developers to identify and resolve software bugs, with their quality directly influencing the efficiency of software maintenance. While prior research has demonstrated that high-quality bug reports can significantly reduce repair time, information incompleteness remains a prevalent issue in open-source projects. Although current approaches leveraging machine learning and large language models (LLMs) for automatic report completion improve content completeness, they exhibit notable limitations: traditional retrieval-based methods often concatenate fragments from similar reports, leading to semantic discontinuities and logical inconsistencies; while LLM-generated content tends to be fluent, it may introduce factual hallucinations. Inspired by the human expert practice of “phased processing and multi-role collaboration”, we propose a novel multi-agent collaborative framework for bug report completion and optimization. Our approach ensures high-quality output through three key design principles: 1) Decomposing the completion task into three distinct phases that are bug analysis, report completion, and quality assessment with each managed by a dedicated agent, thereby reducing the cognitive burden on individual models; 2) Employing structured prompt templates to precisely guide LLMs in assuming specialized roles as domain expert agents (e.g., analyst, completer, reviewer), clearly defining responsibilities at each stage and enhancing output accuracy; 3) Incorporating a dynamic feedback mechanism that enables iterative cross-validation and collaborative refinement among agents, effectively mitigating semantic drift and ensuring both logical coherence and factual consistency in the final output. Extensive experiments on four public datasets demonstrate that our method outperforms baseline approaches, achieving improvements of 10.41%, 7.52%, 13.55%, and 16.64% on BLEU, Sentence-BERT, ROUGE-L, and METEOR scores, respectively. Furthermore, manual evaluation confirms that the completed reports exhibit superior completeness, clarity, and practical utility compared with existing methods, offering robust support for bug management in open-source communities.

software maintenance  /  bug report completion  /  large language models  /  multi-agent collaboration  /  iterative feedback mechanism
魏威, 苑兴, 杜军威, 李玉莹. 多代理协作实现缺陷报告补全和优化. 计算机研究与发展, 2026 , 63 (4) : 900 -917 . DOI: 10.7544/issn1000-1239.202550693
Wei Wei, Xing Yuan, Junwei Du, Yuying Li. A Multi-Agent Collaboration for Completing and Optimizing Bug Reports[J]. Journal of Computer Research and Development, 2026 , 63 (4) : 900 -917 . DOI: 10.7544/issn1000-1239.202550693
Year 2026 volume 63 Issue 4
88
41
Cite this Article
BibTeX
Article Info
doi: 10.7544/issn1000-1239.202550693
  • Receive Date:2025-09-21
  • Online Date:2026-11-17
  • Published:2026-04-01
Article Data
Affiliations
History
  • Received:2025-09-21
  • Revised:2025-12-29
Affiliations
    School of Data Science, Qingdao University of Science and Technology, Qingdao, Shandong 266100
References
Share
https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202550693
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT