Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ensuring-reproducibility

БесплатноЗапускает вложенные скриптыНе проверен

Use when a result, figure, or analysis must be reproducible by others or at a later date. Triggers: make this reproducible, capture provenance, pin the…

uw-ssecот uw-ssec★ 33 звезды на GitHub

Об этом скилле

Ensuring Reproducibility

Record enough provenance to re-obtain a result exactly, then prove the record works by reproducing it.

Default mode: Direct (protocol: ai-research-workflows:using-research-workflows).

Purpose: when to use

A result must be re-runnable by others, or no longer reproduces. Not for handing work to the next session (ai-research-workflows:creating-handoffs) or proving numbers correct rather than unchanged (ai-research-workflows:hardening-research-code).

Iron Law: a record is not done until it has been reproduced

An unverified record is a hypothesis. Defer the clean-room run ONLY when a fresh run is technically impossible (the hardware, proprietary data, or licensed software is genuinely unavailable). Being short on time is never a valid reason. If a full re-run is too long, run a minimal reproduction (a smaller subset, fewer steps, one seed) in a clean environment: verify something, never nothing. Until it reproduces, the record says unverified and why, even if the user asked you to mark it reproducible.

What the record captures

Field Record
Environment interpreter version, OS, active lockfile (none: record installed versions and say so)
Code commit hash (git rev-parse HEAD) and whether the tree was dirty
Hardware GPU/accelerator, CUDA/driver version, thread counts
Data path or URL plus version tag or content hash (sha256); retrieval date if remote
Seeds every RNG's seed; if code reads seeds from config, pin that config file
Config non-default flags, hyperparameters, config file contents
Commands exact copy-pasteable commands, in order, plus the result values they produce

Result no longer reproduces? Compare each row between the original run and now; rows that differ, or were never recorded, are the diagnosis.

Read references/provenance-record.md when writing the record: full field list, no-lockfile steps, tolerance format, skeleton.

Where: append a ## Reproducibility section to the result's docs/rse/specs/experiment-<slug>.md or implement-<slug>.md (or its legacy .agents/ copy); if neither exists, create docs/rse/specs/reproducibility-<slug>.md with that heading.

Verify: clean-room reproduction

  1. Fresh clone or copy and a new environment (keeps the original outputs intact).
  2. Install from the lockfile or recorded versions only; no upgrades.
  3. Run the recorded commands exactly.
  4. Compare with the original result and write the outcome into the record. A mismatch is reported as a failure, never edited to match.

For nondeterministic outputs (GPU, parallelism), document a tolerance and the hardware that produced it:

Expected: 0.847 ± 0.003 (3 runs, seeds 42, 123, 999)

Red flags: STOP, you're rationalizing the skip

Thought Reality
"The env is right here, it'll reproduce fine" Not a clean room. Run it fresh.
"No time to spin up a clean environment" Time is never a valid reason. Run a minimal one.
"Mark it reproducible now, verify after submission" By then the number is in the paper. Verify first.
"It's deterministic, so it obviously reproduces" Deps, hardware, unseeded RNGs drift.
Полный SKILL.md на GitHub

Установить ensuring-reproducibility в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.jsonevals/files/baseline-classifier/configs/baseline.jsonevals/files/baseline-classifier/data/measurements.csvevals/files/baseline-classifier/requirements.txtevals/files/baseline-classifier/train.pyevals/files/figure-3/data/fig3.csvevals/files/figure-3/figures/fig3.svgevals/files/figure-3/requirements.txtevals/files/figure-3/scripts/make_fig3.pyevals/files/gpu-finetune/data/train_v3.jsonlevals/files/gpu-finetune/finetune.pyevals/files/gpu-finetune/requirements.txtevals/files/integrator/integrate.pyevals/files/latency-analysis/analysis/latency.pyevals/files/latency-analysis/data/latency.csvevals/files/latency-analysis/requirements.txtevals/files/latency-analysis/results/run-2026-11-01.jsonevals/files/validation-f1/data/val_predictions.csvevals/files/validation-f1/evaluate.pyevals/files/validation-f1/requirements.txtreferences/provenance-record.mdskill-card.md

FAQ

Что делает скилл ensuring-reproducibility?

Use when a result, figure, or analysis must be reproducible by others or at a later date. Triggers: make this reproducible, capture provenance, pin the environment for this result, can't reproduce a result, numbers differ across runs or machines, a reviewer or journal asks for code and data availability, before reporting a number in a paper. Not for writing a lockfile (scientific-python-development:pixi-package-manager) or proving numbers correct (ai-research-workflows:hardening-research-code).

Как установить скилл ensuring-reproducibility?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ensuring-reproducibility запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить ensuring-reproducibility с