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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers8
- 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
- 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
- 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
- Enhancing Computational Notebooks with Code+Data Space VersioningHanxi Fang, Supawit Chockchowwat, Hari Sundaram, Yongjoo ParkCHI 2025 · 6 citations
- Pagebreaks: Multi-Cell Scopes in Computational NotebooksEric Rawn, Sarah E. ChasinsCHI 2025 · 4 citations
Builds on3
- 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
- Auto-Suggest: Learning-to-Recommend Data Preparation Steps Using Data Science NotebooksCong Yan, Yeye HeSIGMOD 2020 · 64 citations
- 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
- Loops: Leveraging Provenance and Visualization to Support Exploratory Data Analysis in NotebooksKlaus Eckelt, Kiran Gadhave, Alexander Lex, Marc StreitIEEE VIS 2024 · 7 citations
- NBSearch: Semantic Search and Visual Exploration of Computational NotebooksXingjun Li, Yuanxin Wang, Hong Wang, Yang Wang et al.CHI 2021 · 22 citations
- Characterizing Practices, Limitations, and Opportunities Related to Text Information Extraction Workflows: A Human-in-the-loop PerspectiveSajjadur Rahman, Eser KandoganCHI 2022 · 20 citations
- How Scientists Use Jupyter Notebooks: Goals, Quality Attributes, and OpportunitiesRuanqianqian (Lisa) Huang, Savitha Ravi, Michael He, Boyu Tian et al.ICSE 2025 · 3 citations
- NoteFlow: Leveraging Charts as Sight Glasses for Consistent and Continuous Data Flow TracingYuan Tian, Dazhen Deng, Sen Yang, Huawei Zheng et al.CHI 2026 · 1 citation
