自动化无效bug报告的根因子类划分及无代码修复生成
Automated Root-Cause Subclassification and No-Code Fix Generation for Invalid Bug Reports
AI总结:
本研究旨在引入一个标准化的根因导向的无效bug报告子类划分体系,并通过实验测试不同方法在无效子类划分和无代码修复生成中的准确性。研究还分析了不同配置在我们创建的黄金标准基准上的表现。
摘要:
在使用软件时遇到的问题会以bug报告的形式被报告。然而,许多bug报告是无效的,意味着它们不需要代码更改,而是通过无代码修复解决。手动确定无效bug报告的根因并由客户支持提供可行的解决方案会造成严重的资源浪费。我们的目标是引入一个标准化的根因导向的无效bug报告子类划分体系,并通过实验测试各种方法在无效子类划分和无代码修复生成中的准确性。我们研究了不同配置在我们创建的黄金标准基准上的表现。使用人工整理的基准进行更高质量的分析,我们尝试了 vanilla LLMs、检索增强生成和代理网络搜索来识别无效子类并生成无代码修复。我们将结果与包含原始bug报告中无效子类和无代码修复的手动标注的地面真实数据进行了评估。我们用加权F1分数衡量子类检测性能,并用BERTScore和Judge LLM成功率评估无代码修复建议。对于子类划分,检索增强生成在总体性能上最高,达到0.66加权F1,略微优于vanilla LLMs的0.65和代理网络搜索的0.64。在子类级别,性能在非可复现上达到0.85 F1,在功能请求和问题上达到0.79,而错误版本仍然是最具有挑战性的,分数在0.00到0.29之间。对于无代码修复生成,代理网络搜索在总体Judge LLM成功率上最高,达到68.9%,相比检索增强生成的64.4%和vanilla LLMs的64.9%。在子类级别,最高峰值为工作正常的设计达到87.4%,问题达到72.2%。
英文摘要:
Issues faced when using software are reported in the form of bug reports. However, many bug reports are invalid, meaning they do not require code changes, and are resolved with a no-code fix. Manually determining the root cause of the invalid bug reports and providing actionable resolutions by the customer support causes a serious waste of resources. Our goal is to introduce a standardized taxonomy for root-cause oriented invalid bug report subclassification, and perform experiments to test the accuracy of various approaches on invalid subclassification and no-code fix generation. We study how different configurations perform on a gold-standard benchmark we have created. Using a manually curated benchmark for higher quality analysis, we experimented with vanilla LLMs, Retrieval Augmented Generation, and agentic web search to identify invalid subclasses and generate no-code fixes. We evaluated the results against manually labeled ground truth data that includes the invalid subclass and no-code fixes from the original bug reports. We measured subclass detection performance with weighted F1-Score, and assessed no-code fix suggestions using BERTScore and Judge LLM success rates. For subclassification, retrieval augmented generation achieves the highest overall performance with 0.66 weighted F1, slightly outperforming vanilla LLMs at 0.65 and agentic web search at 0.64. At the subclass level, performance peaks at 0.85 F1 for Non-reproducibility and 0.79 for Feature Request and Question, while Wrong Version remains the most challenging with scores between 0.00 and 0.29. For no-code fix generation, agentic web search achieves the highest overall Judge LLM success rate at 68.9%, compared to 64.4% for RAG applications and 64.9% for vanilla LLMs, with subclass-level peaks of 87.4% for Working as Designed and 72.2% for Question.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。