Unravel: A Fluent Code Explorer for Data Wrangling
Nischal Shrestha, Titus Barik, Chris Parnin
摘要
Data scientists have adopted a popular design pattern in programming called the fluent interface for composing data wrangling code. The fluent interface works by combining multiple transformations on a data table—or dataframes—with a single chain of expressions, which produces an output. Although fluent code promotes legibility, the intermediate dataframes are lost, forcing data scientists to unravel the chain through tedious code edits and re-execution. Existing tools for data scientists do not allow easy exploration or support understanding of fluent code. To address this gap, we designed a tool called Unravel that enables structural edits via drag-and-drop and toggle switch interactions to help data scientists explore and understand fluent code. Data scientists can apply simple structural edits via drag-and-drop and toggle switch interactions to reorder and (un)comment lines. To help data scientists understand fluent code, Unravel provides function summaries and always-on visualizations highlighting important changes to a dataframe. We discuss the design motivations behind Unravel and how it helps understand and explore fluent code. In a first-use study with 14 data scientists, we found that Unravel facilitated diverse activities such as validating assumptions about the code or data, exploring alternatives, and revealing function behavior.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Revealing the Semantics of Data Wrangling Scripts With Comantics 引用了 Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- Revealing the Semantics of Data Wrangling Scripts With Comantics 引用了 Datamations: Animated Explanations of Data Analysis Pipelines
- Governor: Turning Open Government Data Portals into Interactive Databases 引用了 Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
- Understanding and Supporting Debugging Workflows in CAD 引用了 Projection Boxes: On-the-fly Reconfigurable Visualization for Live Programming
- WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code Visualization 引用了 Datamations: Animated Explanations of Data Analysis Pipelines
引用它的顶会 Paper10
- WaitGPT: Monitoring and Steering Conversational LLM Agent in Data Analysis with On-the-Fly Code VisualizationLiwenhan Xie, Chengbo Zheng, Haijun Xia, Huamin Qu 等UIST 2024 · 45 次引用
- Revealing the Semantics of Data Wrangling Scripts With ComanticsKai Xiong, Zhongsu Luo, Siwei Fu, Yongheng Wang 等IEEE VIS 2022 · 13 次引用
- Meta-Manager: A Tool for Collecting and Exploring Meta Information about CodeAmber Horvath, Andrew Macvean, Brad A. MyersCHI 2024 · 13 次引用
- Governor: Turning Open Government Data Portals into Interactive DatabasesChang Liu, Arif Usta, Jian Zhao, Semih SalihogluCHI 2023 · 9 次引用
- Understanding and Supporting Debugging Workflows in CADFelix Hähnlein, Gilbert Bernstein, Adriana SchulzUIST 2024 · 5 次引用
它引用的 Paper6
- 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 次引用
- Fork It: Supporting Stateful Alternatives in Computational NotebooksNathaniel Weinman, Steven Mark Drucker, Titus Barik, Robert DeLineCHI 2021 · 55 次引用
- Projection Boxes: On-the-fly Reconfigurable Visualization for Live ProgrammingSorin LernerCHI 2020 · 52 次引用
- Small-Step Live Programming by ExampleKasra Ferdowsifard, Allen Ordookhanians, Hila Peleg, Sorin Lerner 等UIST 2020 · 40 次引用
- Datamations: Animated Explanations of Data Analysis PipelinesXiaoying Pu, Sean Kross, Jake M. Hofman, Daniel G. GoldsteinCHI 2021 · 33 次引用
相关 Paper
- Xavier: Toward Better Coding Assistance in Authoring Tabular Data Wrangling ScriptsYunfan Zhou, Xiwen Cai, Qiming Shi, Yanwei Huang 等CHI 2025 · 4 次引用
- Diff in the Loop: Supporting Data Comparison in Exploratory Data AnalysisApril Yi Wang, Will Epperson, Robert A. DeLine, Steven Mark DruckerCHI 2022 · 34 次引用
- TweakIt: Supporting End-User Programmers Who Transmogrify CodeSam Lau, Sruti Srinivasa Ragavan, Ken Milne, Titus Barik 等CHI 2021 · 26 次引用
- Ferry: Toward Better Understanding of Input/Output Space for Data Wrangling ScriptsZhongsu Luo, Kai Xiong, Jiajun Zhu, Ran Chen 等IEEE VIS 2024 · 4 次引用
- Subtle Bugs Everywhere: Generating Documentation for Data Wrangling CodeChenyang Yang, Shurui Zhou, Jin L. C. Guo, Christian KästnerASE 2021 · 25 次引用
