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

Deepthi Raghunandan·Aayushi Roy·Shenzhi Shi·Niklas Elmqvist·Leilani Battle
ACM CHI · 2023
Research portal ↗DOI ↗

Abstract

Sensemaking is the iterative process of identifying, extracting, and explaining insights from data, where each iteration is referred to as the "sensemaking loop."However, little is known about how sensemaking behavior evolves from exploration and explanation during this process. This gap limits our ability to understand the full scope of sensemaking, which in turn inhibits the design of tools that support the process. We contribute the first mixed-method to characterize how sensemaking evolves within computational notebooks. We study 2,574 Jupyter notebooks mined from GitHub by identifying data science notebooks that have undergone significant iterations, presenting a regression model that automatically characterizes sensemaking activity, and using this regression model to calculate and analyze shifts in activity across GitHub versions. Our results show that notebook authors participate in various sensemaking tasks over time, such as annotation, branching analysis, and documentation. We use our insights to recommend extensions to current notebook environments.

Related

Lodestar: Supporting rapid prototyping of data science workflows through data-driven analysis recommendations
Deepthi Raghunandan·Zhe Cui·Kartik Krishnan·Segen Tirfe·Shenzhi Shi·Tejaswi Darshan Shrestha·Leilani Battle·Niklas Elmqvist
Information Visualization · 2024
“I Feel Like Iron Man”: Authoring, Exploring, and Presenting Data Visualizations in Immersive AR
Marcel Borowski·Peter W.S. Butcher·Shannon J. Jones·Panagiotis D. Ritsos·Clemens N. Klokmose·Niklas Elmqvist
IEEE TVCG · 2026