← スキル一覧に戻る

refactoring-03-config-reproducibility
by Silviase
⭐ 0🍴 0📅 2026年1月15日
SKILL.md
name: refactoring-03-config-reproducibility description: Use when improving run configuration, seeding, and reproducibility for Python research code.
Refactoring 03: Config and Reproducibility
Goal
Make experiments reproducible by centralizing configuration, controlling randomness, and recording run metadata.
Sequence
- Order: 03
- Previous: refactoring-02-dependencies-env
- Next: refactoring-04-data-io-validation
Workflow
- Centralize runtime parameters into a config object or file (YAML/TOML/argparse).
- Success: All run parameters are set through a single config surface.
- Seed all RNGs (Python, NumPy, framework) and make the seed a first class parameter.
- Success: Runs are repeatable with the same seed.
- Record metadata: config snapshot, git commit hash, and environment info with outputs.
- Success: Each run output includes config and environment metadata.
- Create a consistent output directory layout for artifacts and metrics.
- Success: Outputs follow a documented directory structure.
- Remove hidden global state and implicit defaults where possible.
- Success: Behavior is driven by explicit parameters.
Guardrails
- Keep config changes backward compatible when possible.
- Do not add heavy config frameworks unless required.
- Favor explicit parameters over environment variables.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です