paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Towards Automatically Inferring Constraints to Identify Implicit Assumptions in Data Analysis

面向自动推断约束以识别数据分析中的隐式假设
ICSE Proceedings of the IEEE/ACM 48th International Conference on Software Engineering2026匹配度 3/10 · 论文将静态分析与抽象解释用于数据分析脚本(R/Python)以显式化隐式假设,虽属程序分析应用,但目标代码是数据分析而非机器学习系统或Agentic程序,也未涉及浮点程序分析或贝叶斯程序分析,与核心研究方向仅弱相关。引用 0 inbox
Florian Sihler, Lars Pfrenger, Oliver Gerstl, Matthias Tichy
crossref: 2026-09-12

AI 速览

一句话:提出用静态分析自动推断代码约束,显式化数据分析脚本中的隐式假设以提升可复现性。

在 R 或 Python 等高层语言中,数据分析常以脚本或 notebook 形式传播,却因作者未记录的隐式假设而难以复现;这些假设包括包版本、数据表形状以及手工设置步骤。本文提出一个统一的、由示例驱动的视角来刻画数据分析中的隐式假设,并给出探索性概念验证实现。方法上,作者主张用静态分析技术识别此类假设,并将其显式表达为针对数据分析问题的代码约束。这些约束可用于自动将脚本转换为可执行、可复现的工件,在运行时检查假设,并充当支持代码复用与理解的文档。评估以原型实现展示该思路的可行性。

问题
数据分析脚本或 notebook 因包版本、数据表形状和手工设置步骤等隐式假设而存在可复现性问题。
方法
提出统一的示例驱动视角,并用静态分析自动推断代码约束,以显式化数据分析中的隐式假设,并针对数据分析特有问题进行设计。
评估
通过探索性概念验证实现展示可行性,并说明约束可用于脚本转换、运行时检查与文档化。
原文摘要(Abstract)

High-level languages such as R or Python are used frequently to analyze and visualize data in the form of scripts or notebooks. However, these artifacts suffer from reproducibility issues due to what we frame as implicit assumptions made by the authors. Such assumptions range from package versions and shapes of involved data tables, to manual and often undocumented setup steps. Within this work, we provide a unified, example-driven perspective on implicit assumptions in data analysis backed by an explorative proof-of-concept implementation. With this perspective, we propose the use of static analysis techniques to identify such assumptions and to make them explicit in the form of code constraints, focusing on the inclusion of data-analysis-specific issues. Such constraints can then be used to automatically transform these scripts into executable and reproducible artifacts, to check these assumptions at runtime, and to serve as documentation to support code reuse and comprehension.

链接与引用

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

BibTeX
@inproceedings{paperbot12039,
  title = {Towards Automatically Inferring Constraints to Identify Implicit Assumptions in Data Analysis},
  author = {Florian Sihler and Lars Pfrenger and Oliver Gerstl and Matthias Tichy},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3786582.3786806}
}