arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.14306cs.SEcs.HCcs.LG
收藏

读懂字里行间:在AI辅助编程中对用户行为与成本的建模

Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming

Massachusetts Institute of Technology(麻省理工学院);Microsoft Research(微软研究院)

Hussein Mozannar, Gagan Bansal, Adam Fourney, Eric Horvitz

AI总结:

研究程序员与GitHub Copilot等代码推荐系统的交互,提出CUPS行为分类体系,通过21名程序员实验揭示交互低效与时间成本,为界面设计和评估指标提供依据。

摘要:

代码推荐系统(如Copilot和CodeWhisperer)通过建议和自动补全代码,有望提升程序员的生产力。然而,要充分发挥其潜力,我们必须了解程序员如何与这些系统交互,并寻找改进该交互的方法。为了寻求关于人与AI在代码推荐系统上协作的见解,我们研究了GitHub Copilot,这是一个每天被数百万程序员使用的代码推荐系统。我们开发了CUPS,即程序员与Copilot交互时常见活动的分类体系。我们对21名程序员进行了研究,他们完成了编码任务,并使用CUPS对其会话进行了回顾性标注。研究表明,CUPS能帮助我们理解程序员如何与代码推荐系统交互,揭示了其中的低效问题和时间成本。我们的见解揭示了程序员如何与Copilot交互,并为新的界面设计和评估指标提供了动机。

英文摘要:

Code-recommendation systems, such as Copilot and CodeWhisperer, have the potential to improve programmer productivity by suggesting and auto-completing code. However, to fully realize their potential, we must understand how programmers interact with these systems and identify ways to improve that interaction. To seek insights about human-AI collaboration with code recommendations systems, we studied GitHub Copilot, a code-recommendation system used by millions of programmers daily. We developed CUPS, a taxonomy of common programmer activities when interacting with Copilot. Our study of 21 programmers, who completed coding tasks and retrospectively labeled their sessions with CUPS, showed that CUPS can help us understand how programmers interact with code-recommendation systems, revealing inefficiencies and time costs. Our insights reveal how programmers interact with Copilot and motivate new interface designs and metrics.

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

↑