Skip to content

a5c-ai/babysitter / library/specializations/data-science-ml/skills/pytest-ml-tester

pytest-ml-tester

Verified

ML-specific testing skill using pytest with fixtures for data, models, and predictions.

FileKindSize
README.mdmarkdown1.1 KB
SKILL.mdskill md4.2 KB
# 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
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall