Lune

CHI2025Top-tier venue

Pagebreaks: Multi-Cell Scopes in Computational Notebooks

Eric Rawn, Sarah E. Chasins

Abstract

Figure 1: A Pagebreak is a language construct for adding a scope around multiple Jupyter Notebook cells. Left: A notebook using Pagebreaks. A Variables defined within the indented cells can only be used within a defined portion of the notebook. Unlike defining the same variables inside a function, the Pagebreak does not interfere with key exploratory interactions, such as B: interleaving code and its output, C: using cells as impromptu versions, and D: iteratively composing programs with single-line cells. E: Only variables exported at the bottom of a Pagebreak are available for other cells. For example mean_ratings is available in the bottom Pagebreak, but ratings_by_title is not. Right: In contrast, functions provide scopes at the cost of these exploratory interactions. F: Functions prevent iterative composition or using cells as impromptu versions inside a function body. G: Functions prevent interleaving code and output; instead all printed output from a function appears together at the call site, not interleaved with the function body. Example adapted from [30].

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.

1 top-tier paper has 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

  • B2: Bridging Code and Interactive Visualization in Computational Notebooks cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Tidynote: Always-Clear Notebook Authoring cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Tidynote: Always-Clear Notebook Authoring cites Fork It: Supporting Stateful Alternatives in Computational Notebooks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Tidynote: Always-Clear Notebook AuthoringRuanqianqian (Lisa) Huang, Brian Hempel, Yining Cao, James D. Hollan et al.CHI 2026 · 1 citation

Builds on15

  1. What's Wrong with Computational Notebooks? Pain Points, Needs, and Design OpportunitiesSouti Chattopadhyay, Ishita Prasad, Austin Z. Henley, Anita Sarma et al.CHI 2020 · 162 citations
  2. B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 citations
  3. Assessing and Restoring Reproducibility of Jupyter NotebooksJiawei Wang, Tzu-yang Kuo, Li Li, Andreas ZellerASE 2020 · 68 citations
  4. mage: Fluid Moves Between Code and Graphical Work in Computational NotebooksMary Beth Kery, Donghao Ren, Fred Hohman, Dominik Moritz et al.UIST 2020 · 66 citations
  5. Fork It: Supporting Stateful Alternatives in Computational NotebooksNathaniel Weinman, Steven Mark Drucker, Titus Barik, Robert DeLineCHI 2021 · 55 citations

Related papers

  1. Enhancing Computational Notebooks with Code+Data Space VersioningHanxi Fang, Supawit Chockchowwat, Hari Sundaram, Yongjoo ParkCHI 2025 · 6 citations
  2. Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data ScientistsIan Drosos, Titus Barik, Philip J. Guo, Robert DeLine et al.CHI 2020 · 110 citations
  3. Multiverse Notebook: Shifting Data Scientists to Time TravelersShigeyuki Sato, Tomoki NakamaruOOPSLA 2024 · 3 citations
  4. On the Design of AI-powered Code Assistants for NotebooksAndrew M. McNutt, Chenglong Wang, Robert A. DeLine, Steven Mark DruckerCHI 2023 · 78 citations
  5. InterLink: Linking Text with Code and Output in Computational NotebooksYanna Lin, Leni Yang, Haotian Li, Huamin Qu et al.CHI 2025 · 10 citations
Dusk over the sea between two cliffs drawn in fine vertical lines