Skip to main content

build-a-reproducible-analysis-notebook

Build a reproducible analysis notebook with pinned inputs, explicit transformations, deterministic execution, validation, and interpretable outputs. Use when research results must be rerunnable and reviewable.

ソース情報

リポジトリ
protosphinx/sphinxstack
ソースの最終更新活動
2026年7月29日 13:55
検出された SKILL.md の言語
英語
スター
2
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
2 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
build-a-reproducible-analysis-notebook
category
school
description
Build a reproducible analysis notebook with pinned inputs, explicit transformations, deterministic execution, validation, and interpretable outputs. Use when research results must be rerunnable and reviewable.
# build-a-reproducible-analysis-notebook The notebook is evidence only if a clean run reproduces it. ## When to use - Use for coursework, research, audits, experiments, or published analyses. - Never embed secrets, unauthorized personal data, or unexplained manual edits. ## Preconditions - Define source authority, data rights, environment, expected outputs, review audience, and retention. ## Procedure 1. Record source versions, checksums, retrieval dates, licenses, schemas, and exclusions. 2. Separate immutable raw inputs, cleaning, analysis, charts, and exported artifacts. 3. Pin runtime and package versions and document platform dependencies. 4. Make parameters, random seeds, time zones, locales, units, and missing-data rules explicit. 5. Add assertions for schema, row identity, ranges, joins, denominators, and invariants. 6. Explain why each transformation and method supports the question. 7. Run top-to-bottom in a clean environment and compare expected hashes or tolerances. 8. Export a readable report plus machine-readable environment and validation records. ## Failure plan - If source data cannot be shared, publish a lawful synthetic or access-controlled reproduction path. - If results vary, identify nondeterminism and report tolerances rather than hiding it. ## Worked example A notebook rebuilds an enrollment chart from a hashed source snapshot, checks student uniqueness and denominators, pins packages, and reproduces its report in a clean environment. ## Done - A notebook repository contains source manifest, code, environment lock, assertions, outputs, and a rerun document - Clean-run, checksum, schema, invariant, seed, privacy, and output-comparison tests verify reproducibility
GitHubで見る