Lune

CHI2023Top-tier venue

On the Design of AI-powered Code Assistants for Notebooks

Andrew M. McNutt, Chenglong Wang, Robert A. DeLine, Steven Mark Drucker

Abstract

AI-powered code assistants, such as Copilot, are quickly becoming a ubiquitous component of contemporary coding contexts. Among these environments, computational notebooks, such as Jupyter, are of particular interest as they provide rich interface affordances that interleave code and output in a manner that allows for both exploratory and presentational work. Despite their popularity, little is known about the appropriate design of code assistants in notebooks. We investigate the potential of code assistants in computational notebooks by creating a design space (reified from a survey of extant tools) and through an interview-design study (with 15 practicing data scientists). Through this work, we identify challenges and opportunities for future systems in this space, such as the value of disambiguation for tasks like data visualization, the potential of tightly scoped domain-specific tools (like linters), and the importance of polite assistants.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

28 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challenges cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis cites InCoder: A Generative Model for Code Infilling and Synthesis
  • Grounded Copilot: How Programmers Interact with Code-Generating Models cites InCoder: A Generative Model for Code Infilling and Synthesis
  • Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement cites Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models
  • PromptCharm: Text-to-Image Generation through Multi-modal Prompting and Refinement cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
  • The Metacognitive Demands and Opportunities of Generative AI cites Grounded Copilot: How Programmers Interact with Code-Generating Models
  • The Metacognitive Demands and Opportunities of Generative AI cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers28

  1. The Metacognitive Demands and Opportunities of Generative AILev Tankelevitch, Viktor Kewenig, Auste Simkute, Ava Elizabeth Scott et al.CHI 2024 · 279 citations
  2. A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and ChallengesJenny T. Liang, Chenyang Yang, Brad A. MyersICSE 2024 · 126 citations
  3. PromptCharm: Text-to-Image Generation through Multi-modal Prompting and RefinementZhijie Wang, Yuheng Huang, Da Song, Lei Ma et al.CHI 2024 · 111 citations
  4. Synthetic Data Generation with Large Language Models for Text Classification: Potential and LimitationsZhuoyan Li, Hangxiao Zhu, Zhuoran Lu, Ming YinEMNLP 2023 · 102 citations
  5. Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task DecompositionMajeed Kazemitabaar, Jack Williams, Ian Drosos, Tovi Grossman et al.UIST 2024 · 49 citations

Builds on23

  1. AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model PromptsTongshuang Wu, Michael Terry, Carrie Jun CaiCHI 2022 · 465 citations
  2. Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 citations
  3. CodeGen: An Open Large Language Model for Code with Multi-Turn Program SynthesisErik Nijkamp, Bo Pang, Hiroaki Hayashi, Lifu Tu et al.ICLR 2023 · 234 citations
  4. Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language ModelsHendrik Strobelt, Albert Webson, Victor Sanh, Benjamin Hoover et al.IEEE VIS 2022 · 191 citations
  5. InCoder: A Generative Model for Code Infilling and SynthesisDaniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang et al.ICLR 2023 · 140 citations

Related papers

  1. Validating AI-Generated Code with Live ProgrammingKasra Ferdowsi, Ruanqianqian (Lisa) Huang, Michael B. James, Nadia Polikarpova et al.CHI 2024 · 27 citations
  2. Code with Me or for Me? How Increasing AI Automation Transforms Developer WorkflowsValerie Chen, Ameet Talwalkar, Robert Brennan, Graham NeubigCHI 2026 · 2 citations
  3. Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI CollaborationFengjie Wang, Xuye Liu, Oujing Liu, Ali Neshati et al.CHI 2023 · 37 citations
  4. Programmers Who Use Screen Readers in the Vibe Coding Era: Adaptation, Empowerment, and New Accessibility LandscapeNan Chen, Luna K. Qiu, Arran Zeyu Wang, Zilong Wang et al.CHI 2026 · 2 citations
  5. How Scientists Use Jupyter Notebooks: Goals, Quality Attributes, and OpportunitiesRuanqianqian (Lisa) Huang, Savitha Ravi, Michael He, Boyu Tian et al.ICSE 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines