迈向自动推断约束以识别数据分析中的隐含假设
Towards Automatically Inferring Constraints to Identify Implicit Assumptions in Data Analysis
AI总结:
研究以R或Python脚本分析数据时因隐含假设导致的可重复性问题,提出用静态分析技术识别假设并转化为代码约束,以实现脚本可执行、可重现及辅助代码复用理解。
摘要:
诸如R或Python之类的高级语言常用于以脚本或笔记本形式分析和可视化数据。然而,由于作者所做的隐含假设,这些工件存在可重复性问题。本文提供了一个统一的、以示例为驱动的视角来分析数据分析中的隐含假设,并通过探索性的概念验证实现来支持。我们建议使用静态分析技术来识别这些假设,并将其以代码约束的形式明确化,重点关注数据分析特定问题。这些约束可用于将这些脚本自动转换为可执行和可重现的工件,在运行时检查这些假设,并作为文档支持代码重用和理解。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。