GCRI · 数据与算力
可复现的流水线
A result can be trusted when others can rerun the same analysis on the same data and get the same answer, and when they can trace each number to its source. Reproducible pipelines combine versioned data and code, recorded environments, workflow systems and provenance. This page sets out why analyses fail to reproduce, how reproducibility is engineered and checked, and what evidence serves the researchers, publishers and agencies that depend on it.
工作如何开展。
数据平台与数据管道
可复现的流程 · 公共数据平台 · 目录 v9
数据集
| 洪水范围 | 打开 | 已完成 | 是 | 已发布 |
| 卫生设施清单 | 打开 | 已完成 | 是 | 已发布 |
| 移动轨迹 | 受限 | 部分 | n/a | 权利审查 |
| 住户调查 | 受限 | 已完成 | 是 | 按申请获取 |
流水线检查
图数据平台和数据管道:示例名称和示意数值,非记录,亦非运行中的系统。
可复现的流程:风险如何发展。
数据管线、模型和实验的来源追溯。下方档案说明风险如何发展、衡量什么、数据来自何处、如何建模以及由谁决定。
环境会发生漂移
Software libraries, operating systems and hardware change. An analysis that ran last year may give different results, or none, without a recorded environment.
数据版本会变化
Datasets are corrected and updated. Unless the exact version used is recorded, results cannot be traced or rerun.
Manual steps break chains
Steps done by hand in spreadsheets or interactive sessions are not recorded and cannot be repeated exactly.
Provenance links results to sources
Recording which inputs, code and parameters produced each output lets errors be traced and corrections propagate.
可复现的流水线使各领域的结果均可被检验。
Pipeline methods are designed for the Methods and Technical series. FAIR principles for research software (2022) and PROV-O (2013) guide practice; lineage would follow NS-3b of the proposed Nexus Standards.
- 可复现性审计。
- 带测试的管道模板。
衡量什么,以及衡量得如何。
每个指标都注明其单位、频率、背后的来源类型以及数值将附带的证据标签。此处不显示数值:数值由计划依据其自身权限提供。
| 指标 | 单位 | 节奏 | 来源类型 | 标签 |
|---|---|---|---|---|
| 已发表的分析,附有代码和数据 | 产出百分比 | 每次审计 | 出版审计 | 观测 |
| 由第三方成功重跑的分析 | 尝试重跑的百分比 | 每次审计 | Reproduction studies | 观测 |
| 带有持久标识符的数据集 | 数据集百分比 | 年度 | Repository metadata | 观测 |
| Pipelines with recorded environments | 生产管线百分比 | 每次评估 | 流水线代码仓库 | 已声明 |
| Corrections issued after reproduction checks | 计数 | 年度 | 更正记录 | 观测 |
| 附标识符归档的软件 | 计数 | 年度 | 软件存档记录 | 观测 |
证据来自何处。
具名公共数据集与机构记录,各自注明许可类别。依协议获得的来源仅按其条款使用,绝不再次发布。
| 来源 | 它提供什么 | 许可类别 |
|---|---|---|
| DataCite and Crossref metadata | 数据、软件和出版物的持久标识符 | 开放,CC0 元数据 |
| Software Heritage 档案库 | 带有内在标识符的存档源代码 | 开放,适用存档条款 |
| Zenodo 与机构知识库 | Deposited data and code with identifiers | 开放,许可按记录而定 |
| W3C PROV standard | 表示来源追溯的模型 | 开放标准,W3C 条款 |
| 已发表文献中的可复现性研究 | 田间实测的繁殖率 | 按出版物许可 |
由谁决定,以及证据服务于什么。
Data and Compute 负责准备证据。以下决定由所指明的主管机构依其自身规则作出,绝不由平台作出。
| 谁来决定 | 问题 | 本页面服务的证据 |
|---|---|---|
| Research teams and analysts | 如何构建数据管道,使结果可以重新运行 | 检查清单;流水线模板 |
| Publishers and report editors | 应要求提供哪些可重复性证据 | 审计方法 |
| 资助方和机构 | Whether to fund archiving and reproducibility support | Reproduction rate evidence |
该主题产生的产出
- 分析和报告的可重复性检查清单
- 带版本化数据、代码和环境的流水线模板
- 来源追溯记录设计
- 用于复现已发表结果的审计方法
专家对可复现性的提问。
- 该结果能否根据记录的输入重新生成,还是依赖未记录的步骤?
- Which exact version of the data, code and model produced it?
- 如果在上游发现错误,哪些下游结果会受到影响?
- 在软件和硬件更新换代多年之后,该管线是否仍能运行?
- 没有原团队参与的评审人员,能否理解每一步做了什么以及为什么这样做?
- 每项结果是否都记录了随机种子、模型权重和配置选择?
Why results become irreproducible.
Irreproducibility is rarely deliberate. It accumulates through small, reasonable shortcuts made under deadline pressure, each harmless alone. The cost appears later, when a result is questioned, a correction is needed or a team member leaves.
Software drift
库和依赖项会发生变化,因此同一代码会产生不同的结果或无法运行。
变动的输入
Datasets are updated in place without versioning, so the original input cannot be recovered.
Manual steps
Undocumented manual cleaning or parameter choices cannot be repeated by others.
如何使数据管线可复现。
- 01
版本控制
Tracking code, configuration and, where possible, data versions. Limits: large datasets need specialised tools.
- 02
容器化环境
将软件依赖打包,使其可以重建。局限:容器本身依赖会变化的底层 系统 。
- 03
工作流系统与来源追溯
Tools that run pipelines and record each step, studied under data engineering, interoperability and stewardship. Limits: adoption requires effort and discipline.
- 04
数值可复现性
在并行和加速硬件上,浮点结果在不同次运行之间可能略有差异,这属于 计算 专家关注的问题。局限:严格的按位复现有时并不现实,因此必须说明容差。
本页参考文献的去向。
阅读本页时所对照的机构和文件。状态和版本会变化;每个链接都指向发布机构。
问题与解答。
可重复性与可复现性有何区别?
什么是持久标识符?
什么是数据来源追溯?
可复现性等同于正确性吗?
为什么在不同硬件上结果可能不同?
平台是否审查其他团队的数据管道?
法律文件。
本网站上的地图、数据和图表仅作为背景和一般信息展示。它们不是建议、预测或预警;信息的局限见免责声明和数据说明。