arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.26277cs.SE
收藏

开发者与生成式AI:开源项目中自我声明的使用研究

Developers and Generative AI: A Study of Self-Admitted Usage in Open Source Projects

Università della Svizzera italiana(瑞士意大利语大学);University of Sannio(萨尼奥大学);William & Mary(威廉与玛丽学院);JetBrains Research(JetBrains 研究)

Rosalia Tufano, Federica Pepe, Fiorella Zampetti, Antonio Mastropaolo, Ozren Dabić, Massimiliano Di Penta, Gabriele Bavota

AI总结:

本文研究了ChatGPT和GitHub Copilot在开源项目中的自我声明使用,通过分析GitHub提交、问题和拉取请求,构建了64种使用任务的分类体系,揭示了生成式AI在软件开发中的应用扩展和开发者认知变化。

摘要:

生成式人工智能工具(如ChatGPT或GitHub Copilot)的可用性正在改变软件开发、演进和维护的方式。开发者常常在软件 artifacts 中留下使用痕迹,这不仅有助于理解AI在软件开发中的使用方式,还能让他人了解这些 artifacts 是如何创建的,例如用于许可或可信度目的。本文基于我们在MSR 2024上发表的初步工作,旨在定性研究ChatGPT和GitHub Copilot在软件开发中的自我声明使用。为此,我们通过分析提交、问题和拉取请求(PRs)挖掘GitHub中的痕迹。然后,通过手动编码,我们创建了64种不同的ChatGPT和GitHub Copilot使用任务的分类,分为7个类别。通过重复之前的分析并将其扩展到GitHub Copilot,我们展示了使用途径的扩展程度,开发者如何看待这种生成式AI的使用价值,以及一些超过一年前出现的担忧是否已不再存在。从这种定性研究中得出的任务分类为(i)开发者提供了有价值的见解,了解生成式AI如何整合到他们的工作流中,以及(ii)研究人员提供了清晰的概述,说明开发者认为哪些任务适合自动化。

英文摘要:

The availability of generative Artificial Intelligence (AI) tools such as ChatGPT or GitHub Copilot is reshaping the way in which software is developed, evolved, and maintained. Oftentimes, developers leave traces of such an usage in software artifacts. This allows not only to understand how AI is used in software development, but also to let others be aware how such software artifacts were created, e.g., for licensing or trustworthiness purposes. This paper-building upon our preliminary work presented at MSR 2024-aims at qualitatively investigating on the self-admitted use of two very popular generative AI tools - ChatGPT and GitHub Copilot - in software development. To this aim, we mined GitHub for such traces, by looking at commits, issues and pull requests (PRs). Then, through a manual coding, we create a taxonomy of 64 different ChatGPT and GitHub Copilot usage tasks, grouped into 7 categories. By repeating our previous analysis two years after and by extending it to GitHub Copilot, we show how the usage avenues have been expanded, the extent to which developers perceived such a generative AI usage useful, and whether some concerns occurring more than one year ago are no longer present. The taxonomy of tasks we derived from such a qualitative study provided (i) developers with valuable insights into how generative AI can be integrated into their workflows, and (ii) researchers with a clear overview of tasks that developers perceive as well-suited for automation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑