Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
Top Cited Papers
Open Access
- 11 May 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-16
Abstract
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.Keywords
All Related Versions
This publication has 22 references indexed in Scilit:
- Don't Complete It! Preventing Unhelpful Code Completion for Productive and Sustainable Neural Code Completion Systems2023
- Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions2022
- When Code Completion Fails: A Case Study on Real-World Completions2019
- TEAMSCOPE: measuring software engineering processes with teamwork telemetry2018
- A Survey on the Usage of Eye-Tracking in Computer ProgrammingACM Computing Surveys, 2018
- User behavior patterns in the course of programming in C++2006
- The GOMS family of user interface analysis techniquesACM Transactions on Computer-Human Interaction, 1996
- Bridging the gulf between code and behavior in programming1995
- The entropy of Markov trajectoriesIEEE Transactions on Information Theory, 1993
- Towards a theory of the cognitive processes in computer programmingInternational Journal of Man-Machine Studies, 1977