paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Improving data scientist efficiency with provenance

利用 provenance 提升数据科学家效率
ICSE Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering2020匹配度 2/10 · 该论文聚焦数据科学脚本的语言级 provenance 与调试效率,属于软件工程/开发者工具方向,未涉及用户核心关注的 LLM/Agent 与静态分析交叉、浮点程序分析或贝叶斯程序分析。虽与程序分析和调试相关,但研究目标与技术路线与画像匹配度很低。引用 6 inbox
Jingmei Hu, Jiwon Joung, Maia Jacobs, Krzysztof Z. Gajos, Margo I. Seltzer
crossref: 2026-09-12

AI 速览

一句话:提出 ProvBuild,利用语言级 provenance 跟踪脚本依赖并生成简化调试脚本,降低认知负荷与调试时间。

数据科学家常通过编写脚本分析数据,但参数调优高度迭代,调试耗时。随着脚本演化变复杂,分析者难以把握工作流,编辑后也难以精确判断哪些代码块受影响,因而常重跑整个脚本而非必要部分。本文提出 ProvBuild,利用语言级 provenance 跟踪脚本依赖;调试时自动生成仅包含调试特定问题所需信息的简化脚本,从而降低程序员认知负荷并加快重执行。定量与定性评估表明,尽管首次执行会引入开销,ProvBuild 能帮助用户更高效地调试和调优复杂工作流。该工作展示了语言级 provenance 的新用法:主动提升程序员生产力,而非仅事后理解代码。

问题
数据科学家在脚本迭代调试时难以确定编辑影响哪些代码块,常重跑整个脚本,导致调试耗时且认知负荷高。
方法
提出 ProvBuild,基于语言级 provenance 跟踪脚本依赖,在调试时生成仅含必要信息的简化脚本。
评估
通过定量与定性评估表明,虽有首次执行开销,但简化脚本降低认知负荷并加快重执行,缩短整体调试时间。
原文摘要(Abstract)

Data scientists frequently analyze data by writing scripts. We conducted a contextual inquiry with interdisciplinary researchers, which revealed that parameter tuning is a highly iterative process and that debugging is time-consuming. As analysis scripts evolve and become more complex, analysts have difficulty conceptualizing their workflow. In particular, after editing a script, it becomes difficult to determine precisely which code blocks depend on the edit. Consequently, scientists frequently re-run entire scripts instead of re-running only the necessary parts. We present ProvBuild, a tool that leverages language-level provenance to streamline the debugging process by reducing programmer cognitive load and decreasing subsequent runtimes, leading to an overall reduction in elapsed debugging time. ProvBuild uses provenance to track dependencies in a script. When an analyst debugs a script, ProvBuild generates a simplifed script that contains only the information necessary to debug a particular problem. We demonstrate that debugging the simplified script lowers a programmer's cognitive load and permits faster re-execution when testing changes. The combination of reduced cognitive load and shorter runtime reduces the time necessary to debug a script. We quantitatively and qualitatively show that even though ProvBuild introduces overhead during a script's first execution, it is a more efficient way for users to debug and tune complex workflows. ProvBuild demonstrates a novel use of language-level provenance, in which it is used to proactively improve programmer productively rather than merely providing a way to retroactively gain insight into a body of code.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5645,
  title = {Improving data scientist efficiency with provenance},
  author = {Jingmei Hu and Jiwon Joung and Maia Jacobs and Krzysztof Z. Gajos and Margo I. Seltzer},
  booktitle = {ICSE},
  year = {2020},
  doi = {10.1145/3377811.3380366}
}