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

10/25/2022
by   Hussein Mozannar, et al.
0

AI code-recommendation systems (CodeRec), such as Copilot, can assist programmers inside an IDE by suggesting and autocompleting arbitrary code; potentially improving their productivity. To understand how these AI improve programmers in a coding session, we need to understand how they affect programmers' behavior. To make progress, we studied GitHub Copilot, and developed CUPS – a taxonomy of 12 programmer activities common to AI code completion systems. We then conducted a study with 21 programmers who completed coding tasks and used our labeling tool to retrospectively label their sessions with CUPS. We analyze over 3000 label instances, and visualize the results with timelines and state machines to profile programmer-CodeRec interaction. This reveals novel insights into the distribution and patterns of programmer behavior, as well as inefficiencies and time costs. Finally, we use these insights to inform future interventions to improve AI-assisted programming and human-AI interaction.

READ FULL TEXT

page 12

page 15

page 28

page 35

page 36

page 37

page 38

page 39

research
06/08/2023

When to Show a Suggestion? Integrating Human Feedback in AI-Assisted Programming

AI powered code-recommendation systems, such as Copilot and CodeWhispere...
research
04/12/2023

Feasibility, Opportunities, and Challenges of Utilizing AI for Collaborative Qualitative Analysis

While individual-level AI-assisted analysis has been fairly examined in ...
research
11/07/2022

Do Users Write More Insecure Code with AI Assistants?

We conduct the first large-scale user study examining how users interact...
research
09/19/2023

How Do Analysts Understand and Verify AI-Assisted Data Analyses?

Data analysis is challenging as it requires synthesizing domain knowledg...
research
05/28/2020

Empathic AI Painter: A Computational Creativity System with Embodied Conversational Interaction

There is a growing recognition that artists use valuable ways to underst...
research
02/24/2023

CARE: Collaborative AI-Assisted Reading Environment

Recent years have seen impressive progress in AI-assisted writing, yet t...
research
01/05/2023

Chatbots As Fluent Polyglots: Revisiting Breakthrough Code Snippets

The research applies AI-driven code assistants to analyze a selection of...

Please sign up or login with your details

Forgot password? Click here to reset