Live Exploration of AI-Generated Programs

06/15/2023
by   Kasra Ferdowsi, et al.
0

AI-powered programming assistants are increasingly gaining popularity, with GitHub Copilot alone used by over a million developers worldwide. These tools are far from perfect, however, producing code suggestions that may be incorrect or incomplete in subtle ways. As a result, developers face a new set of challenges when they need to understand, validate, and choose between AI's suggestions. This paper explores whether Live Programming, a continuous display of a program's runtime values, can help address these challenges. We introduce Live Exploration of AI-Generated Programs, a new interaction model for AI programming assistants that supports exploring multiple code suggestions through Live Programming. We implement this interaction model in a prototype Python environment LEAP and evaluate it through a between-subject study. Our results motivate several design opportunities for future AI-powered programming tools.

READ FULL TEXT
research
05/18/2023

Investigating and Designing for Trust in AI-powered Code Generation Tools

As AI-powered code generation tools such as GitHub Copilot become popula...
research
02/01/2019

Babylonian-style Programming: Design and Implementation of an Integration of Live Examples into General-purpose Source Code

When working on a program, developers traditionally have to simulate the...
research
05/31/2023

AI for Low-Code for AI

Low-code programming allows citizen developers to create programs with m...
research
06/30/2022

Grounded Copilot: How Programmers Interact with Code-Generating Models

Powered by recent advances in code-generating models, AI assistants like...
research
12/07/2022

"It would work for me too": How Online Communities Shape Software Developers' Trust in AI-Powered Code Generation Tools

Software developers commonly engage in online communities to learn about...
research
07/20/2023

Empirical Evaluation of a Live Environment for Extract Method Refactoring

Complex software can be hard to read, adapt, and maintain. Refactoring i...
research
08/07/2023

Spellburst: A Node-based Interface for Exploratory Creative Coding with Natural Language Prompts

Creative coding tasks are often exploratory in nature. When producing di...

Please sign up or login with your details

Forgot password? Click here to reset