Pagebreaks: Multi-Cell Scopes in Computational Notebooks
摘要
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].
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- B2: Bridging Code and Interactive Visualization in Computational Notebooks 引用了 What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
- Tidynote: Always-Clear Notebook Authoring 引用了 What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
- Tidynote: Always-Clear Notebook Authoring 引用了 Fork It: Supporting Stateful Alternatives in Computational Notebooks
引用它的顶会 Paper1
它引用的 Paper15
- What's Wrong with Computational Notebooks? Pain Points, Needs, and Design OpportunitiesSouti Chattopadhyay, Ishita Prasad, Austin Z. Henley, Anita Sarma 等CHI 2020 · 162 次引用
- B2: Bridging Code and Interactive Visualization in Computational NotebooksYifan Wu, Joseph M. Hellerstein, Arvind SatyanarayanUIST 2020 · 71 次引用
- Assessing and Restoring Reproducibility of Jupyter NotebooksJiawei Wang, Tzu-yang Kuo, Li Li, Andreas ZellerASE 2020 · 68 次引用
- mage: Fluid Moves Between Code and Graphical Work in Computational NotebooksMary Beth Kery, Donghao Ren, Fred Hohman, Dominik Moritz 等UIST 2020 · 66 次引用
- Fork It: Supporting Stateful Alternatives in Computational NotebooksNathaniel Weinman, Steven Mark Drucker, Titus Barik, Robert DeLineCHI 2021 · 55 次引用
相关 Paper
- Enhancing Computational Notebooks with Code+Data Space VersioningHanxi Fang, Supawit Chockchowwat, Hari Sundaram, Yongjoo ParkCHI 2025 · 6 次引用
- 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 次引用
- Multiverse Notebook: Shifting Data Scientists to Time TravelersShigeyuki Sato, Tomoki NakamaruOOPSLA 2024 · 3 次引用
- On the Design of AI-powered Code Assistants for NotebooksAndrew M. McNutt, Chenglong Wang, Robert A. DeLine, Steven Mark DruckerCHI 2023 · 78 次引用
- InterLink: Linking Text with Code and Output in Computational NotebooksYanna Lin, Leni Yang, Haotian Li, Huamin Qu 等CHI 2025 · 10 次引用
