arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.11516cs.SEcs.AI
收藏

破解 CodeWhisperer:分析开发者在编程任务中的交互与模式

Cracking CodeWhisperer: Analyzing Developers' Interactions and Patterns During Programming Tasks

University of British Columbia(不列颠哥伦比亚大学);Federal University of Pará(帕拉联邦大学)

Jeena Javahar, Tanya Budhrani, Manaal Basha, Cleidson R. B. de Souza, Ivan Beschastnikh, Gema Rodriguez-Perez

AI总结:

本研究通过两项各10人的用户研究,利用定制遥测插件收集底层交互数据,分析了开发者使用基于LLM的代码生成工具CodeWhisperer的行为,识别出四种关键编程模式并进行了全面分析。

摘要:

AI 代码生成工具的使用日益普遍,了解软件开发者如何采用这些工具变得十分重要。在本研究中,我们调查了开发者如何使用亚马逊的 CodeWhisperer,这是一种基于 LLM 的代码生成工具。我们进行了两项用户研究,每组 10 名参与者,与 CodeWhisperer 进行交互——第一项旨在了解哪些交互是关键且需要捕获的,第二项则使用定制的遥测插件来收集底层交互数据。我们的混合方法分析识别出四种行为模式:1)增量代码细化,2)使用自然语言注释进行显式指令,3)利用模型建议进行基线结构化,以及 4)与外部来源的集成使用。我们对这些模式提供了全面的分析。

英文摘要:

The use of AI code-generation tools is becoming increasingly common, making it important to understand how software developers are adopting these tools. In this study, we investigate how developers engage with Amazon's CodeWhisperer, an LLM-based code-generation tool. We conducted two user studies with two groups of 10 participants each, interacting with CodeWhisperer - the first to understand which interactions were critical to capture and the second to collect low-level interaction data using a custom telemetry plugin. Our mixed-methods analysis identified four behavioral patterns: 1) incremental code refinement, 2) explicit instruction using natural language comments, 3) baseline structuring with model suggestions, and 4) integrative use with external sources. We provide a comprehensive analysis of these patterns .

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

↑