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에서 보기