Lune

CHI2024顶会

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

Hussein Mozannar, Gagan Bansal, Adam Fourney, Eric Horvitz

摘要

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. 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. Thinking/ Verifying Suggestion 22.4% Deferring thought for later 1.39% Looking up Documentation 7.45% Debugging/ Testing Code 11.31% Prompt crafting 11.56% Writing Documentation 0.53% Editing Last Suggestion 11.90% Editing Written Code 4.28% Writing New Functionality 14.05%

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 49 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
  • A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges 引用了 Discovering the Syntax and Strategies of Natural Language Programming with Generative Language Models
  • Grounded Copilot: How Programmers Interact with Code-Generating Models 引用了 Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions
  • Grounded Copilot: How Programmers Interact with Code-Generating Models 引用了 Language Models are Few-Shot Learners
  • Grounded Copilot: How Programmers Interact with Code-Generating Models 引用了 Discovering the Syntax and Strategies of Natural Language Programming with Generative Language Models
  • Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributions 引用了 Language Models are Few-Shot Learners
  • Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
  • Using an LLM to Help With Code Understanding 引用了 A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges
  • Using an LLM to Help With Code Understanding 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
  • Discovering the Syntax and Strategies of Natural Language Programming with Generative Language Models 引用了 Language Models are Few-Shot Learners
  • Spellburst: A Node-based Interface for Exploratory Creative Coding with Natural Language Prompts 引用了 Grounded Copilot: How Programmers Interact with Code-Generating Models
  • Spellburst: A Node-based Interface for Exploratory Creative Coding with Natural Language Prompts 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper49

  1. Using an LLM to Help With Code UnderstandingDaye Nam, Andrew Macvean, Vincent J. Hellendoorn, Bogdan Vasilescu 等ICSE 2024 · 264 次引用
  2. A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and ChallengesJenny T. Liang, Chenyang Yang, Brad A. MyersICSE 2024 · 126 次引用
  3. Spellburst: A Node-based Interface for Exploratory Creative Coding with Natural Language PromptsTyler Angert, Miroslav Ivan Suzara, Jenny Han, Christopher Lawrence Pondoc 等UIST 2023 · 72 次引用
  4. ALGO: Synthesizing Algorithmic Programs with Generated Oracle VerifiersKexun Zhang, Danqing Wang, Jingtao Xia, William Yang Wang 等NeurIPS 2023 · 68 次引用
  5. Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task DecompositionMajeed Kazemitabaar, Jack Williams, Ian Drosos, Tovi Grossman 等UIST 2024 · 49 次引用

它引用的 Paper4

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code ContributionsHammond Pearce, Baleegh Ahmad, Benjamin Tan, Brendan Dolan-Gavitt 等S&P 2022 · 725 次引用
  3. Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 次引用
  4. Discovering the Syntax and Strategies of Natural Language Programming with Generative Language ModelsEllen Jiang, Edwin Toh, Alejandra Molina, Kristen Olson 等CHI 2022 · 76 次引用

相关 Paper

  1. When to Show a Suggestion? Integrating Human Feedback in AI-Assisted ProgrammingHussein Mozannar, Gagan Bansal, Adam Fourney, Eric HorvitzAAAI 2024 · 39 次引用
  2. An Eye for AI: Eye-Tracking the Micro-Interruptions of GenAI Code SuggestionsTarek Alakmeh, Sarah D’Angelo, Thomas FritzICSE 2026 · 1 次引用
  3. An Empirical Study of Knowledge Transfer in AI Pair ProgrammingAlisa Welter, Niklas Schneider, Tobias Dick, Kallistos Weis 等ASE 2025
  4. A User-centered Security Evaluation of CopilotOwura Asare, Meiyappan Nagappan, N. AsokanICSE 2024 · 11 次引用
  5. Validating AI-Generated Code with Live ProgrammingKasra Ferdowsi, Ruanqianqian (Lisa) Huang, Michael B. James, Nadia Polikarpova 等CHI 2024 · 27 次引用
黄昏的海面,两侧是细线勾勒的悬崖