mlops-validation-cn
Rigorous validation with typing, linting, testing, and security
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- mlops-validation-cn
- license
- MIT
- version
- 1.0.0
- description
- Rigorous validation with typing, linting, testing, and security
03 SKILL.md 正文
MLOps Validation ✅
Automated quality and security checks.
Features
1. Pre-commit Hooks 🔧
Setup automated checks:
cp references/pre-commit-config.yaml ../your-project/.pre-commit-config.yaml
cd ../your-project
pre-commit install
Runs on every commit:
- Ruff (linting + formatting)
- MyPy (type checking)
- Bandit (security)
2. Test Fixtures 🧪
Shared pytest setup:
cp references/conftest.py ../your-project/tests/
Provides fixtures:
sample_df- Test dataframetemp_dir- Temporary directorysample_config- Config dicttrain_test_split- Pre-split data
Quick Start
# Copy pre-commit config
cp references/pre-commit-config.yaml ./.pre-commit-config.yaml
# Install hooks
pre-commit install
# Run manually
pre-commit run --all-files
# Setup test fixtures
cp references/conftest.py tests/
# Run tests
pytest tests/ -v --cov=src
Commands
# Type check
mypy src/
# Lint
ruff check src/ tests/
# Format
ruff format src/ tests/
# Test
pytest tests/ --cov=src
# Security scan
bandit -r src/
Author
Converted from MLOps Coding Course
Changelog
v1.0.0 (2026-02-18)
- Initial OpenClaw conversion
- Added pre-commit config
- Added test fixtures
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.