[Paper Review] Grounded Copilot: How Programmers Interact with Code-Generating Models
This paper presents the first grounded theory of how programmers interact with Copilot, identifying two alternating modes—acceleration and exploration—and offering usability design recommendations for AI programming assistants.
Powered by recent advances in code-generating models, AI assistants like Github Copilot promise to change the face of programming forever. But what is this new face of programming? We present the first grounded theory analysis of how programmers interact with Copilot, based on observing 20 participants--with a range of prior experience using the assistant--as they solve diverse programming tasks across four languages. Our main finding is that interactions with programming assistants are bimodal: in acceleration mode, the programmer knows what to do next and uses Copilot to get there faster; in exploration mode, the programmer is unsure how to proceed and uses Copilot to explore their options. Based on our theory, we provide recommendations for improving the usability of future AI programming assistants.
Motivation & Objective
- Develop a data-driven theory of how programmers interact with Copilot using grounded theory.
- Observe Copilot-assisted programming across multiple languages to avoid language bias.
- Characterize interaction modes and their determinants to inform future tool design.
- Provide concrete recommendations to improve usability and integration of AI assistants in IDEs.
Proposed method
- 20 participants with varying experience used Copilot across Python, Rust, Haskell, and Java.
- Applied Straussian Grounded Theory to iteratively code and refine themes from video recordings and interviews.
- Used four evolving programming tasks to elicit acceleration and exploration behaviors.
- Employed theoretical sampling to test and refine the emerging theory across task variants.
- Supplemented with analysis of five live-streamed videos to corroborate patterns.
Experimental results
Research questions
- RQ1How do programmers interact with Copilot during coding tasks?
- RQ2What interaction modes emerge when using Copilot, and what conditions trigger them?
- RQ3How do programmers validate and repair Copilot-generated code?
- RQ4What design recommendations can improve Copilot-like tools for programmers?
Key findings
- Interactions with Copilot are bimodal, comprising acceleration (fast, flow-preserving) and exploration (deliberate, exploratory) modes.
- Acceleration mode occurs when programmers decompose tasks into microtasks and rely on Copilot for quick completions of logical units.
- Exploration mode is used for novel tasks, API discovery, and evaluating multiple alternatives, often via explicit prompts and validation.
- Long, multi-line Copilot suggestions can disrupt flow and be rejected or ignored, while short, contextual end-of-line hints are preferred in acceleration.
- Validation often relies on pattern matching and keyword/structure recognition to judge suggestion usefulness; users may repair rather than fully replace suggestions.
- Programmers’ propensity to explore is linked to task novelty and their confidence in the model; overreliance can hinder progress.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.