数据科学笔记本的静态分析框架
A Static Analysis Framework for Data Science Notebooks
摘要:
笔记本为程序员提供了一个交互式环境,可以在单一环境中开发代码,分析数据并注入交错可视化。尽管具有灵活性,但数据科学家遇到的一个主要陷阱是由笔记本电脑独特的乱序执行模型引起的意外行为。因此,数据科学家面临着各种挑战,包括笔记本的正确性、可重复性和清洁性。在本文中,我们提出了一个框架,执行静态分析的笔记本电脑,将其独特的执行语义。我们的框架是通用的,因为它可以容纳广泛的分析,适用于各种笔记本用例。我们已经在一组不同的分析中实例化了我们的框架,并在2211个真实世界的笔记本上对其进行了评估。我们的评估表明,绝大多数(98.7%)的笔记本电脑可以在不到一秒的时间内进行分析,完全在交互式笔记本电脑客户端所需的时间范围内
英文摘要:
Notebooks provide an interactive environment for programmers to develop code, analyse data and inject interleaved visualizations in a single environment. Despite their flexibility, a major pitfall that data scientists encounter is unexpected behaviour caused by the unique out-of-order execution model of notebooks. As a result, data scientists face various challenges ranging from notebook correctness, reproducibility and cleaning. In this paper, we propose a framework that performs static analysis on notebooks, incorporating their unique execution semantics. Our framework is general in the sense that it accommodate for a wide range of analyses, useful for various notebook use cases. We have instantiated our framework on a diverse set of analyses and have evaluated them on 2211 real world notebooks. Our evaluation demonstrates that the vast majority (98.7%) of notebooks can be analysed in less than a second, well within the time frame required by interactive notebook clients
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。