arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.01072cs.SEcs.CE
收藏

缩小可重复性差距:面向学术Jupyter笔记本的自动化仓库级容器化

Containing the Reproducibility Gap: Automated Repository-Level Containerization for Scholarly Jupyter Notebooks

Chemnitz University of Technology(开姆尼茨工业大学);FIZ Karlsruhe — Leibniz Institute for Information Infrastructure(卡尔斯鲁厄FIZ——莱布尼茨信息基础设施研究所)

Sheeba Samuel, Daniel Mietchen, Hemanta Lo, Martin Gaedke

AI总结:

本文提出自动化可重复性工程流水线,通过依赖推断、容器生成和隔离执行,评估学术笔记本的执行环境,解决依赖问题并提升执行稳定性,但发现仍存在低输出保真度的可重复性差距。

摘要:

计算可重复性是可信科学的基础,但实际研究流程中,如发表于学术文章中的Jupyter笔记本,难以实现可重复性。环境漂移、未记录的依赖和隐含的执行假设常导致无法独立重执行。尽管有现有可重复性指南,但缺乏可扩展的自动化基础设施。本文提出一个自动化、面向网络的可重复性工程流水线,用于重建和评估学术笔记本的仓库级执行环境。系统通过依赖推断、自动化容器生成和隔离执行,近似笔记本的原始计算环境。在443个来自116个GitHub仓库的笔记本上进行了评估,执行结果分为四类:解决环境失败、持续逻辑或数据错误、可重复性漂移和容器诱导的回归。结果表明,容器化解决了66.7%的依赖问题,并显著提高了执行鲁棒性。然而,显著的可重复性差距仍存在:53.7%的笔记本表现出低输出保真度,主要由于持续的运行失败和随机非确定性。这些发现表明,标准化容器化对计算稳定性至关重要,但不足以实现位级可重复性。该框架为研究人员、编辑和档案馆提供了一种可扩展的解决方案,用于系统地自动化评估计算制品。

英文摘要:

Computational reproducibility is fundamental to trustworthy science, yet remains difficult to achieve in practice across various research workflows, including Jupyter notebooks published alongside scholarly articles. Environment drift, undocumented dependencies and implicit execution assumptions frequently prevent independent re-execution of published research. Despite existing reproducibility guidelines, scalable and systematic infrastructure for automated assessment remains limited. We present an automated, web-oriented reproducibility engineering pipeline that reconstructs and evaluates repository-level execution environments for scholarly notebooks. The system performs dependency inference, automated container generation, and isolated execution to approximate the notebook's original computational context. We evaluate the approach on 443 notebooks from 116 GitHub repositories referenced by publications in PubMed Central. Execution outcomes are classified into four categories: resolved environment failures, persistent logic or data errors, reproducibility drift, and container-induced regressions. Our results show that containerization resolves 66.7% of prior dependency-related failures and substantially improves execution robustness. However, a significant reproducibility gap remains: 53.7% of notebooks exhibit low output fidelity, largely due to persistent runtime failures and stochastic non-determinism. These findings indicate that standardized containerization is essential for computational stability but insufficient for full bit-wise reproducibility. The framework offers a scalable solution for researchers, editors, and archivists seeking systematic, automated assessment of computational artifacts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑