Validating AI-Generated Code with Live Programming
Kasra Ferdowsi, Ruanqianqian (Lisa) Huang, Michael B. James, Nadia Polikarpova, Sorin Lerner
摘要
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 in subtle ways. As a result, developers face a new challenge: validating AI’s suggestions. This paper explores whether Live Programming (LP), a continuous display of a program’s runtime values, can help address this challenge. To answer this question, we built a Python editor that combines an AI-powered programming assistant with an existing LP environment. Using this environment in a between-subjects study (N = 17), we found that by lowering the cost of validation by execution, LP can mitigate over- and under-reliance on AI-generated programs and reduce the cognitive load of validation for certain types of tasks.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Grounded Copilot: How Programmers Interact with Code-Generating Models 引用了 Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About It 引用了 Ivie: Lightweight Anchored Explanations of Just-Generated Code
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About It 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About It 引用了 How Beginning Programmers and Code LLMs (Mis)read Each Other
- Ivie: Lightweight Anchored Explanations of Just-Generated Code 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Ivie: Lightweight Anchored Explanations of Just-Generated Code 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- Do Users Write More Insecure Code with AI Assistants? 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Need Help? Designing Proactive AI Assistants for Programming 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- Need Help? Designing Proactive AI Assistants for Programming 引用了 Ivie: Lightweight Anchored Explanations of Just-Generated Code
- Need Help? Designing Proactive AI Assistants for Programming 引用了 Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming
- Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programming 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
- How Beginning Programmers and Code LLMs (Mis)read Each Other 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
引用它的顶会 Paper11
- How Beginning Programmers and Code LLMs (Mis)read Each OtherSydney Nguyen, Hannah McLean Babe, Yangtian Zi, Arjun Guha 等CHI 2024 · 66 次引用
- Ivie: Lightweight Anchored Explanations of Just-Generated CodeLitao Yan, Alyssa Hwang, Zhiyuan Wu, Andrew HeadCHI 2024 · 40 次引用
- How CO2STLY Is CHI? The Carbon Footprint of Generative AI in HCI Research and What We Should Do About ItNanna Inie, Jeanette Falk, Raghavendra SelvanCHI 2025 · 33 次引用
- VideoDiff: Human-AI Video Co-Creation with AlternativesMina Huh, Ding Li, Kim Pimmel, Hijung Valentina Shin 等CHI 2025 · 26 次引用
- Need Help? Designing Proactive AI Assistants for ProgrammingValerie Chen, Alan Zhu, Sebastian Zhao, Hussein Mozannar 等CHI 2025 · 23 次引用
它引用的 Paper12
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 次引用
- Explanations Can Reduce Overreliance on AI Systems During Decision-MakingHelena Vasconcelos, Matthew Jörke, Madeleine Grunde-McLaughlin, Tobias Gerstenberg 等CSCW 2023 · 362 次引用
- Do Users Write More Insecure Code with AI Assistants?Neil Perry, Megha Srivastava, Deepak Kumar, Dan BonehCCS 2023 · 150 次引用
- Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data ScientistsIan Drosos, Titus Barik, Philip J. Guo, Robert DeLine 等CHI 2020 · 110 次引用
- Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted ProgrammingHussein Mozannar, Gagan Bansal, Adam Fourney, Eric HorvitzCHI 2024 · 88 次引用
相关 Paper
- A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and ChallengesJenny T. Liang, Chenyang Yang, Brad A. MyersICSE 2024 · 126 次引用
- On the Design of AI-powered Code Assistants for NotebooksAndrew M. McNutt, Chenglong Wang, Robert A. DeLine, Steven Mark DruckerCHI 2023 · 78 次引用
- An Eye for AI: Eye-Tracking the Micro-Interruptions of GenAI Code SuggestionsTarek Alakmeh, Sarah D’Angelo, Thomas FritzICSE 2026 · 1 次引用
- Measuring the Runtime Performance of C++ Code Written by Humans Using Github CopilotDaniel Erhabor, Sreeharsha Udayashankar, Meiyappan Nagappan, Samer Al-KiswanyICSE 2025 · 1 次引用
- "My productivity is boosted, but ..." Demystifying Users' Perception on AI Coding AssistantsYunbo Lyu, Zhou Yang, Jieke Shi, Jianming Chang 等ASE 2025 · 8 次引用
