Copilot还是Culprit?AI如何改变开源软件缺陷报告与维护
Copilot or Culprit? How AI Is Changing Open-Source Bug Reporting and Maintenance
一项覆盖101个开源项目、120,918份缺陷报告的大规模研究追踪了2024年1月至2026年9月AI在缺陷发现、报告、验证与修复中的参与情况。AI参与的缺陷报告随时间推移更趋完整,被确认为有效的比例持续上升;AI用于复现和诊断与更高有效性相关,而用于撰写报告则不然。维护者对AI辅助报告投入的精力多于AI自主发现的缺陷报告,研究团队据此提交的53份AI发现缺陷报告中69.81%已被接受。
arXiv:2611.25605v1 Announce Type: cross Abstract: AI-generated bug reports have drawn criticism for unreliable claims and faulty reproducers that burden maintainers. However, as LLM capabilities improve, some maintainers have begun to express more positive views on AI use in bug reporting and maintenance. Understanding this evolution requires examining whether AI-involved reports are becoming more reliable, which uses of AI are associated with valid findings, and how maintainers investigate these reports and act on them. To this end, we conduct the first large-scale study of 120,918 bug reports from 101 open-source projects between January 2024 and September 2026, tracing AI involvement from discovery and reporting through validation and resolution. Our findings show that AI-involved reports become more complete over time, with a growing share of reports confirmed as valid. In bug reporting, AI for reproduction and diagnosis are associated with higher validity, whereas report writing is not. Extends into maintenance, maintainers increasingly use AI to investigate code and recommend fixes. However, they devote more effort to AI-assisted reports of human-discovered bugs than to reports of AI-discovered bugs. These findings highlight both AI's growing participation in bug investigation and the continuing need for verification and follow-up. Drawing on these findings, we provide practical guidance for turning AI-generated findings into verifiable reports: emphasizing reproducibility, verification, and accountability. We followed this guidance when submitting 53 reports on AI-discovered bugs, of which 69.81% were accepted by maintainers as of writing.
来源:arXiv (AI + Vision + Imaging) · arxiv.org