Grounded Copilot: How Programmers Interact with Code-Generating Models

Shraddha Barke, Michael B. James, Nadia Polikarpova
6/30/2022
cs.HCcs.PL

Official code: michaelbjames/copilot-study (4 stars, Python, last commit 2023-05-30).

Abstract

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?

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

44Python, RustNov 30, 20213 years ago

Similar Papers

Cite this paper

@article{barke2022grounded,
  title  = {Grounded Copilot: How Programmers Interact with Code-Generating Models},
  author = {Shraddha Barke and Michael B. James and Nadia Polikarpova},
  year   = {2022},
  eprint = {2206.15000},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.15000}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.15000.svg)](https://codeofpaper.com/paper/2206.15000)

Discussion