本文へ移動
The Consortium

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.

01キャンバス

作業の進め方。

システム ・この主題の周辺説明用

データ・プラットフォームとパイプライン

Reproducible pipelines · Public data platform · Catalogue v9

権利審査中GCRI・データと計算資源

データセット

浸水範囲開く完了はい公開済み
保健施設リスト開く完了はい公開済み
移動の軌跡制限付き一部n/a権利審査
世帯調査制限付き完了はいリクエストによるアクセス

パイプラインのチェック

固定された依存関係(%)76 of 100 required決定論的出力(%)必要な 95 件のうち 90 件記録された来歴(%)必要な 100 件のうち 95 件
データ・プラットフォームとパイプライン:Reproducible pipelines の画面構造、用語、状態。例示の名称と説明用の値です。設計であり、記録でも稼働中のシステムでもありません。

図データ・プラットフォームとパイプライン:名称と値は例示であり、記録でも稼働中のシステムでもない。

02質問

再現可能なパイプライン:リスクがどのように発展するか。

パイプライン、モデル、実験の来歴。以下のドシエでは、リスクがどのように展開するか、何を測定するか、データの出典、モデル化の方法、そして誰が判断するかを示します。

メカニズム

環境は変化していく

ソフトウェア・ライブラリ、オペレーティング システム 、ハードウェアは変化します。環境が記録されていなければ、昨年実行できた分析が異なる結果を出すか、結果を出せなくなることがあります。

メカニズム

データのバージョンは変わります

データセットは訂正され、更新される。使用した正確な版が記録されていなければ、結果を追跡することも再実行することもできない。

メカニズム

Manual steps break chains

Steps done by hand in spreadsheets or interactive sessions are not recorded and cannot be repeated exactly.

メカニズム

Recording which inputs, code and parameters produced each output lets errors be traced and corrections propagate.

03分野を横断して

再現可能なパイプラインにより、各分野の結果を検証できます。

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.

  • 再現性の監査。
  • テスト付きのパイプライン・テンプレート。
04指標

何を、どの程度うまく測定しているか。

各指標には、その単位、更新頻度、背後にある出典の種類、値が持つことになるエビデンスのラベルが付いています。値は表示しません:プログラムが自らの権限のもとで値を提供します。

指標単位周期出典の種類ラベル
Published analyses with code and data available成果物の割合(%)監査あたり公開監査観測
第三者によって再実行に成功した分析試行された再実行に対する割合(パーセント)監査あたりReproduction studies観測
Datasets with persistent identifiersデータセットの割合(パーセント)年次Repository metadata観測
Pipelines with recorded environments生産パイプラインの割合(パーセント)評価ごとパイプライン・リポジトリ申告済み
再現性確認の後に出された訂正件数年次訂正履歴観測
識別子付きで保存されたソフトウェア件数年次ソフトウェア・アーカイブ記録観測
05出典

エビデンスの出所。

名前の明示された公開データセットと機関の記録。それぞれにライセンス区分があります。合意に基づく出典は、その条件のもとでのみ使用し、再公開することはありません。

出典提供するものライセンス区分
DataCite and Crossref metadataPersistent identifiers for data, software and publicationsOpen, CC0 metadata
Software Heritage アーカイブ固有の識別子を持つアーカイブ済みソースコードオープン、アーカイブ条件
Zenodo と機関リポジトリDeposited data and code with identifiersオープン、ライセンスは記録ごと
W3C PROV 標準来歴を表現するためのモデルOpen standard, W3C terms
公表文献における再現性研究圃場で実測された繁殖率出版物ごとのライセンス
06決定

誰が決め、エビデンスが何に役立つか。

Data and Compute はエビデンスを準備します。以下の決定は、名称が示された当局が各自の規則に基づいて行うものであり、プラットフォームが行うことは決してありません。

誰が決定するか質問このページが提供するエビデンス
研究チームとアナリスト結果を再実行できるようにパイプラインを構成する方法チェックリスト、パイプライン・テンプレート
Publishers and report editors求めるべき再現性のエビデンス監査手法
資金提供者と機関Whether to fund archiving and reproducibility supportReproduction rate evidence

このトピックが生み出す成果物

  • Reproducibility checklists for analyses and reports
  • バージョン管理されたデータ、コード、環境を備えたパイプライン・テンプレート
  • Provenance recording designs
  • Audit methods for reproduction of published results
07中核となる問い

再現性について専門家が尋ねること。

  • この結果は、記録された入力から再現できるか。それとも、文書化されていない手順に依存しているか。
  • Which exact version of the data, code and model produced it?
  • 上流で誤りが見つかった場合、下流のどの結果が影響を受けるか。
  • ソフトウェアやハードウェアが変わった後も、パイプラインは何年にもわたって稼働し続けるか。
  • 元のチームに属さない査読者が、各ステップが何をするのか、またその理由を理解できますか。
  • ランダムシード、モデルの重み、設定の選択は、各結果とともに記録されていますか。
08メカニズム

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.

環境

ソフトウェアのドリフト

ライブラリや依存関係は変化するため、同じコードでも結果が異なったり、実行できなくなったりする。

データ

変動する入力

Datasets are updated in place without versioning, so the original input cannot be recovered.

プロセス

手作業の手順

Undocumented manual cleaning or parameter choices cannot be repeated by others.

09手法と限界

パイプラインを再現可能にする方法。

  1. 01

    バージョン管理

    Tracking code, configuration and, where possible, data versions. Limits: large datasets need specialised tools.

  2. 02

    Containerised environments

    Packaging software dependencies so they can be rebuilt. Limits: containers themselves depend on underlying systems that change.

  3. 03

    ワークフロー・システムと来歴

    パイプラインを実行し各ステップを記録するツールで、 データ・エンジニアリング、相互運用性、スチュワードシップの下で学びます。限界:導入には労力と規律が必要です。

  4. 04

    Numerical reproducibility

    On parallel and accelerated hardware, floating-point results can differ slightly between runs, a matter for computing specialists. Limits: exact bitwise reproducibility is sometimes impractical, so tolerances must be stated.

11このページの参照先の所在

このページの参考文献の行き先。

このページの読解の基準となる機関と文書。状態と版は変わります。各リンクは発行機関へ移動します。

12質問

質問と回答。

再現性(reproducibility)と追試可能性(replicability)の違いは何か。
Reproducibility usually means getting the same results from the same data and code. Replicability means getting consistent results from new data, though usage varies by field.
What is a persistent identifier?
A long-lasting reference to a digital object, such as a DOI, that continues to resolve even if the object's location changes.
What is data provenance?
A record of the origin of data and every transformation applied to it on the way to a result.
Is reproducibility the same as correctness?
No. A wrong analysis can be perfectly reproducible. Reproducibility makes errors findable and correctable.
異なるハードウェアで結果が異なることがあるのはなぜですか。
Parallel computations can add numbers in different orders, and floating-point arithmetic is not perfectly associative, so tiny differences can arise.
プラットフォームは他のチームのパイプラインをレビューしますか。
いいえ。チームが自ら適用できるパターンを公開しています。
データと計算資源

手法、データセット、または問いを持ち込んでください。

情報提供と問い合わせは本日から受け付けています。問い合わせには参照番号が付き、次の手順が示されます。申請、支払い、計算資源の割り当て、登録は、担当チーム、規約、審査体制が整ってから開始します。