← Back to list

refactoring-04-data-io-validation
by Silviase
⭐ 0🍴 0📅 Jan 15, 2026
SKILL.md
name: refactoring-04-data-io-validation description: Use when improving data loading, validation, and IO boundaries in Python research code.
Refactoring 04: Data IO and Validation
Goal
Make data handling reliable with clear schemas, validated inputs, and consistent IO boundaries.
Sequence
- Order: 04
- Previous: refactoring-03-config-reproducibility
- Next: refactoring-05-testing-regression
Workflow
- Create a single data access layer (loaders, paths, caching) used by all entrypoints.
- Success: Entrypoints share one data loading API.
- Define expected schemas (columns, dtypes, shapes) and validate inputs early.
- Success: Invalid inputs are rejected with clear errors.
- Add light weight checksums or version tags to datasets where practical.
- Success: Dataset versions are recorded and comparable.
- Keep preprocessing steps deterministic and logged.
- Success: Preprocessing outputs are repeatable and traceable.
- Separate raw, intermediate, and final outputs with clear folder names.
- Success: Output folders are consistent and documented.
Guardrails
- Avoid changing dataset content unless explicitly requested.
- Keep validation checks fast and focused on critical assumptions.
- Do not duplicate IO logic across scripts and notebooks.
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon