TODO: 修复Gemini造成的混乱:迈向理解GenAI引发的自我承认的技术债务
"TODO: Fix the Mess Gemini Created": Towards Understanding GenAI-Induced Self-Admitted Technical Debt
AI总结:
本文研究了GenAI在软件开发中导致的技术债务问题,提出GIST概念框架,分析开发者在使用AI生成代码时的自我承认行为及技术债务的产生原因。
摘要:
随着大型语言模型(如ChatGPT、Copilot、Claude和Gemini)被整合到软件开发流程中,开发者越来越多地在代码注释中留下AI参与的痕迹。其中,一些注释明确承认了生成式AI的使用以及存在的技术缺陷。分析了来自公共Python和JavaScript基于GitHub仓库的6,540个LLM参考代码注释(2022年11月至2025年7月),我们识别出81个同时自我承认技术债务(SATD)的注释。开发者最常描述推迟测试、不完整适应和对AI生成代码有限理解,这表明AI协助影响了技术债务出现的时间和原因。我们提出将GenAI引发的自我承认技术债务(GIST)作为概念框架,描述反复出现的情况,即开发者在明确表达对AI生成代码行为或正确性的不确定时,纳入AI生成的代码。
英文摘要:
As large language models (LLMs) such as ChatGPT, Copilot, Claude, and Gemini become integrated into software development workflows, developers increasingly leave traces of AI involvement in their code comments. Among these, some comments explicitly acknowledge both the use of generative AI and the presence of technical shortcomings. Analyzing 6,540 LLM-referencing code comments from public Python and JavaScript-based GitHub repositories (November 2022-July 2025), we identified 81 that also self-admit technical debt(SATD). Developers most often describe postponed testing, incomplete adaptation, and limited understanding of AI-generated code, suggesting that AI assistance affects both when and why technical debt emerges. We term GenAI-Induced Self-admitted Technical debt (GIST) as a proposed conceptual lens to describe recurring cases where developers incorporate AI-generated code while explicitly expressing uncertainty about its behavior or correctness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。