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

Hussein Mozannar, Gagan Bansal, Adam Fourney, Eric Horvitz
10/25/2022
cs.SEcs.HCcs.LG

Official code: microsoft/coderec_programming_states (33 stars, Jupyter Notebook, MIT, last commit 2024-02-23).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

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

337Jupyter Notebook, PythonOct 28, 20222 years agoMIT

Similar Papers

Cite this paper

@article{mozannar2022reading,
  title  = {Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming},
  author = {Hussein Mozannar and Gagan Bansal and Adam Fourney and Eric Horvitz},
  year   = {2022},
  eprint = {2210.14306},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.14306}
}

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/2210.14306.svg)](https://codeofpaper.com/paper/2210.14306)

Discussion