Grounded Copilot: How Programmers Interact with Code-Generating Models

Shraddha Barke, Michael B. James, Nadia Polikarpova

Published
Lab
UC San Diego
Citations
780

Summary

TL;DR

A grounded-theory study of 20 programmers using Copilot, identifying two modes: acceleration (knowing what to write) and exploration (figuring it out).

Why builders care

Editor's note

Users switch between modes, and your coding UX should support both.

How to apply it

Editor's note
  1. 1Design for both: fast inline completion for acceleration, and richer explanation for exploration.

Key results

From the abstract
  1. 1

    Based on our theory, we provide recommendations for improving the usability of future 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.

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.

Everything on this page is written from this abstract. For methods and full results, read the paper PDF.

Ask the paper

Not live yet
Answers will quote the passages of the paper they come from.

Try one of these about “Grounded Copilot: How Programmers Interact with Code-Generating Models”: