paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Engineering Pitfalls in AI Coding Tools: An Empirical Study of Bugs in Claude Code, Codex, and Gemini CLI

AI 编程工具的工程陷阱:Claude Code、Codex 与 Gemini CLI 中 bug 的实证研究
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 6/10 · 论文聚焦 Claude Code、Codex、Gemini CLI 等 Agentic 编程工具的 bug 实证,与用户关注的 Agentic 程序可靠性有直接关联,也能为在 AI 编程工具上做分析提供失败模式背景;但它并未涉及静态分析、形式化验证、浮点或贝叶斯程序分析,也不属于 LLM/Agent 作为静态分析工具的研究,因此匹配度中等。引用 8 inbox
Ruixin Zhang, Wuyang Dai, Hung Viet Pham, Gias Uddin, Jinqiu Yang, Song Wang
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:首个针对 AI 编程工具的大规模 bug 实证研究,基于 3.8K+ GitHub 报告刻画其失败模式与工程挑战。

LLM 正快速融入软件开发流程,催生了 Claude Code、Codex CLI、Gemini CLI 等 AI 辅助编程工具。这些工具处于传统软件工程、AI 系统设计与人机交互的交叉点,其构建过程存在独特且缺乏理解的工程难题。本文首次对 AI 编程工具中的工程陷阱开展实证研究,系统人工分析了来自这三款工具的 3.8K 余条公开 GitHub bug 报告。作者采用开放编码,考察 issue 描述、用户讨论与开发者回复,并按 bug 类型、位置、根因与症状进行标注,以刻画常见失败模式与反复出现的工程挑战。结果显示:超过 67% 的 bug 与功能相关;根因方面,37.3% 源于 API、集成或配置错误;用户报告最多的症状是 API 错误(18.3%)、终端问题(14%)与命令失败(12.7%);这些 bug 主要影响系统工作流中的工具调用(37.6%)与命令执行(25%)阶段。该研究为设计下一代可靠、鲁棒的 AI 编程工具提供了关键路线图。

问题
AI 编程工具在传统软件工程、AI 系统设计与 HCI 交叉处构建,其工程 bug 的失败模式与根因尚缺乏系统性理解。
方法
对 Claude Code、Codex CLI、Gemini CLI 的 3.8K 余条公开 GitHub bug 报告进行开放编码的手工分析,标注 bug 类型、位置、根因与症状。
评估
通过统计 bug 类型、根因、症状与受影响工作流阶段的分布,定量刻画三类工具的常见失败模式与工程挑战。
原文摘要(Abstract)

The rapid integration of Large Language Models (LLMs) into software development workflows has given rise to a new class of AI-assisted coding tools, such as Claude Code, Codex, and Gemini CLIs. While promising significant productivity gains, the engineering process of building these tools, which sit at the complex intersection of traditional software engineering, AI system design, and human-computer interaction, is fraught with unique and poorly understood challenges. This paper presents the first empirical study of engineering pitfalls in AI coding tools, based on a systematic manual analysis of over 3.8K publicly reported GitHub bugs from Claude Code, Codex CLI, and Gemini CLI. Using open coding, we examine issue descriptions, user discussions, and developer responses, and annotate each bug by type, location, root cause, and symptom to characterize common failure patterns and recurring engineering challenges. Our results show that more than 67% of the bugs in these tools are related to functionality. In terms of root causes, 37.3% of the bugs stem from API, integration, or configuration errors. Consequently, the most commonly observed symptoms reported by users are API errors (18.3%), terminal problems (14%), and command failures (12.7%). These bugs predominantly affect the tool invocation (37.6%) and command execution (25%) stages of the system workflow. Collectively, our findings provide a critical roadmap for developers seeking to design the next generation of reliable and robust AI coding tools.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2603-20847,
  title = {Engineering Pitfalls in AI Coding Tools: An Empirical Study of Bugs in Claude Code, Codex, and Gemini CLI},
  author = {Ruixin Zhang and Wuyang Dai and Hung Viet Pham and Gias Uddin and Jinqiu Yang and Song Wang},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3805213}
}