TRACTUS: Understanding and Supporting Source Code Experimentation in Hypothesis-Driven Data Science
Abstract
Data scientists experiment heavily with their code, compromising code quality to obtain insights faster. We observed ten data scientists perform hypothesis-driven data science tasks, and analyzed their coding, commenting, and analysis practice. We found that they have difficulty keeping track of their code experiments. When revisiting exploratory code to write production code later, they struggle to retrace their steps and capture the decisions made and insights obtained, and have to rerun code frequently. To address these issues, we designed TRACTUS, a system extending the popular RStudio IDE, that detects, tracks, and visualizes code experiments in hypothesis-driven data science tasks. TRACTUS helps recall decisions and insights by grouping code experiments into hypotheses, and structuring information like code execution output and documentation. Our user studies show how TRACTUS improves data scientists' workflows, and suggest additional opportunities for improvement. TRACTUS is available as an open source RStudio IDE addin at http://hci.rwth-aachen.de/tractus.
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.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI Collaboration cites NBSearch: Semantic Search and Visual Exploration of Computational Notebooks
- OutlineSpark: Igniting AI-powered Presentation Slides Creation from Computational Notebooks through Outlines cites Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI Collaboration
- OutlineSpark: Igniting AI-powered Presentation Slides Creation from Computational Notebooks through Outlines cites NBSearch: Semantic Search and Visual Exploration of Computational Notebooks
Cited by top-tier papers5
- A Critical Reflection on Visualization Research: Where Do Decision Making Tasks Hide?Evanthia Dimara, John T. StaskoIEEE VIS 2021 · 56 citations
- Slide4N: Creating Presentation Slides from Computational Notebooks with Human-AI CollaborationFengjie Wang, Xuye Liu, Oujing Liu, Ali Neshati et al.CHI 2023 · 37 citations
- NBSearch: Semantic Search and Visual Exploration of Computational NotebooksXingjun Li, Yuanxin Wang, Hong Wang, Yang Wang et al.CHI 2021 · 22 citations
- OutlineSpark: Igniting AI-powered Presentation Slides Creation from Computational Notebooks through OutlinesFengjie Wang, Yanna Lin, Leni Yang, Haotian Li et al.CHI 2024 · 19 citations
- ReSpark: Leveraging Previous Data Reports as References to Generate New Reports with LLMsYuan Tian, Chuhan Zhang, Xiaotong Wang, Sitong Pan et al.UIST 2025 · 3 citations
Related papers
- Diff in the Loop: Supporting Data Comparison in Exploratory Data AnalysisApril Yi Wang, Will Epperson, Robert A. DeLine, Steven Mark DruckerCHI 2022 · 34 citations
- Improving data scientist efficiency with provenanceJingmei Hu, Jiwon Joung, Maia L. Jacobs, Krzysztof Z. Gajos et al.ICSE 2020 · 6 citations
- Callisto: Capturing the "Why" by Connecting Conversations with Computational NarrativesApril Yi Wang, Zihan Wu, Christopher Brooks, Steve OneyCHI 2020 · 44 citations
- On Understanding Data Worker Interaction BehaviorsLei Han, Tianwa Chen, Gianluca Demartini, Marta Indulska et al.SIGIR 2020 · 12 citations
- Subtle Bugs Everywhere: Generating Documentation for Data Wrangling CodeChenyang Yang, Shurui Zhou, Jin L. C. Guo, Christian KästnerASE 2021 · 25 citations
