BISCUIT: Scaffolding LLM-Generated Code with Ephemeral UIs in Computational Notebooks

Ruijia Cheng, Titus Barik, Alan Leung, Fred Hohman, Jeffrey Nichols
4/10/2024
cs.HCcs.AI

No confident code implementation found for this paper.

Abstract

Programmers frequently engage with machine learning tutorials in computational notebooks and have been adopting code generation technologies based on large language models (LLMs). However, they encounter difficulties in understanding and working with code produced by LLMs. To mitigate these challenges, we introduce a novel workflow into computational notebooks that augments LLM-based code generation with an additional ephemeral UI step, offering users UI scaffolds as an intermediate stage between user prompts and code generation. We present this workflow in BISCUIT, an extension for JupyterLab that provides users with ephemeral UIs generated by LLMs based on the context of their code and intentions, scaffolding users to understand, guide, and explore with LLM-generated code. Through a user study where 10 novices used BISCUIT for machine learning tutorials, we found that BISCUIT offers users representations of code to aid their understanding, reduces the complexity of prompt engineering, and creates a playground for users to explore different variables and iterate on their ideas.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cheng2024biscuit,
  title  = {BISCUIT: Scaffolding LLM-Generated Code with Ephemeral UIs in Computational Notebooks},
  author = {Ruijia Cheng and Titus Barik and Alan Leung and Fred Hohman and Jeffrey Nichols},
  year   = {2024},
  eprint = {2404.07387},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.07387v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.07387.svg)](https://codeofpaper.com/paper/2404.07387)

Discussion