a5c-ai/babysitter / library/specializations/data-science-ml/skills/pytest-ml-tester
pytest-ml-tester
VerifiedML-specific testing skill using pytest with fixtures for data, models, and predictions.
README.md
View on GitHub# pytest-ml-tester
ML-specific testing skill using pytest with fixtures for data, models, and predictions.
## Purpose
This skill provides comprehensive ML testing capabilities using pytest, enabling teams to write and run tests for data validation, model inference, performance regression, and integration testing.
## Key Features
- **ML Fixtures**: Specialized fixtures for data and models
- **Property-Based Testing**: Hypothesis integration for robust testing
- **Performance Tests**: Regression testing for inference latency
- **Coverage Reports**: Track test coverage for ML code
- **Test Generation**: Automatic test scaffolding
## When to Use
- Testing data validation pipelines
- Verifying model inference correctness
- Regression testing model performance
- Integration testing ML systems
- Ensuring code quality in ML projects
## Integration
Works seamlessly with:
- `great-expectations-validator` for data validation
- `sklearn-model-trainer` for model testing
- `bentoml-model-packager` for serving tests
- `mlflow-experiment-tracker` for experiment validation
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |