Lune

CHI2023Top-tier venue

Code Code Evolution: Understanding How People Change Data Science Notebooks Over Time

Deepthi Raghunandan, Aayushi Roy, Shenzhi Shi, Niklas Elmqvist, Leilani Battle

Abstract

Sensemaking is the iterative process of identifying, extracting, and explaining insights from data, where each iteration is referred to as the "sensemaking loop." Although recent work observes snapshots of the sensemaking loop within computational notebooks, none measure shifts in sensemaking behaviors over time-between exploration and explanation. This gap limits our ability to understand the full scope of the sensemaking process and thus our ability to design tools to fully support sensemaking. We contribute the first quantitative method to characterize how sensemaking evolves within data science computational notebooks. To this end, we conducted a quantitative study of 2,574 Jupyter notebooks mined from GitHub. First, we identify data science-focused notebooks that have undergone significant iterations. Second, we present regression models that automatically characterize sensemaking activity within individual notebooks by assigning them a score representing their position within the sensemaking spectrum. Finally, we use our regression models to calculate and analyze shifts in notebook scores across GitHub versions. Our results show that notebook authors participate in a diverse range of sensemaking tasks over time, such as annotation, branching analysis, and documentation. Finally, we propose design recommendations for extending notebook environments to support the sensemaking behaviors we observed.

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.

8 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

  • Pagebreaks: Multi-Cell Scopes in Computational Notebooks cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Evaluating Navigation and Comparison Performance of Computational Notebooks on Desktop and in Virtual Reality cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • Small, Medium, Large? A Meta-Study of Effect Sizes at CHI to Aid Interpretation of Effect Sizes and Power Calculation cites Paths Explored, Paths Omitted, Paths Obscured: Decision Points & Selective Reporting in End-to-End Data Analysis
  • Enhancing Computational Notebooks with Code+Data Space Versioning cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • How Do Data Analysts Respond to AI Assistance? A Wizard-of-Oz Study cites What's Wrong with Computational Notebooks? Pain Points, Needs, and Design Opportunities
  • How Do Data Analysts Respond to AI Assistance? A Wizard-of-Oz Study cites Paths Explored, Paths Omitted, Paths Obscured: Decision Points & Selective Reporting in End-to-End Data Analysis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. How Do Data Analysts Respond to AI Assistance? A Wizard-of-Oz StudyKen Gu, Madeleine Grunde-McLaughlin, Andrew M. McNutt, Jeffrey Heer et al.CHI 2024 · 37 citations
  2. Evaluating Navigation and Comparison Performance of Computational Notebooks on Desktop and in Virtual RealitySungwon In, Eric Krokos, Kirsten Whitley, Chris North et al.CHI 2024 · 17 citations
  3. Small, Medium, Large? A Meta-Study of Effect Sizes at CHI to Aid Interpretation of Effect Sizes and Power CalculationAnna-Marie Ortloff, Florin Martius, Mischa Meier, Theo Raimbault et al.CHI 2025 · 17 citations
  4. Enhancing Computational Notebooks with Code+Data Space VersioningHanxi Fang, Supawit Chockchowwat, Hari Sundaram, Yongjoo ParkCHI 2025 · 6 citations
  5. Pagebreaks: Multi-Cell Scopes in Computational NotebooksEric Rawn, Sarah E. ChasinsCHI 2025 · 4 citations

Builds on3

  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. Auto-Suggest: Learning-to-Recommend Data Preparation Steps Using Data Science NotebooksCong Yan, Yeye HeSIGMOD 2020 · 64 citations
  3. Paths Explored, Paths Omitted, Paths Obscured: Decision Points & Selective Reporting in End-to-End Data AnalysisYang Liu, Tim Althoff, Jeffrey HeerCHI 2020 · 40 citations

Related papers

  1. Loops: Leveraging Provenance and Visualization to Support Exploratory Data Analysis in NotebooksKlaus Eckelt, Kiran Gadhave, Alexander Lex, Marc StreitIEEE VIS 2024 · 7 citations
  2. Eliciting Best Practices for Collaboration with Computational NotebooksLuigi Quaranta, Fabio Calefato, Filippo LanubileCSCW 2022 · 29 citations
  3. NBSearch: Semantic Search and Visual Exploration of Computational NotebooksXingjun Li, Yuanxin Wang, Hong Wang, Yang Wang et al.CHI 2021 · 22 citations
  4. Characterizing Practices, Limitations, and Opportunities Related to Text Information Extraction Workflows: A Human-in-the-loop PerspectiveSajjadur Rahman, Eser KandoganCHI 2022 · 20 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