model-evaluation-runner
Agent: AI/ML Engineer
L2 AI/ML engineer (Nx) responsible for feasibility assessment, model requirements, ML architecture design, model training, MLOps pipeline building, evaluation, and performance monitoring.
Department ethos: ideal-engineering.md
Skill Description
Runs model evaluation suites to measure accuracy, fairness, robustness, and performance metrics against defined requirements and baselines.
When to Use
- When a newly trained model needs validation before promotion to production.
- When a retrained model must be compared against the current production model.
- When regulatory or ethical requirements mandate fairness and bias evaluation.
Workflow
- Evaluation Dataset Preparation: Prepare held-out test sets, stratified by critical segments (user cohorts, data sources, edge cases). Ensure no data leakage from training. Deliverable: versioned evaluation datasets with segment labels.
- Accuracy Metric Computation: Compute task-appropriate metrics: precision, recall, F1, AUC-ROC for classification; RMSE, MAE, R-squared for regression; BLEU, ROUGE for generation; NDCG, MAP for ranking. Deliverable: accuracy metric report with confidence intervals.
- Fairness Assessment: Evaluate model predictions across protected attributes (gender, age, ethnicity where applicable) using fairness metrics: demographic parity, equalized odds, predictive parity. Deliverable: fairness evaluation report with disparity measurements.
- Robustness Testing: Test model behavior on adversarial inputs, out-of-distribution samples, missing features, and noisy data. Deliverable: robustness test results with failure case catalog.
- Baseline Comparison: Compare the candidate model against baselines (rule-based, previous production model, simple heuristic) across all metrics. Deliverable: comparative evaluation table with statistical significance tests.
- Promotion Decision: Synthesize evaluation results into a promote/reject recommendation against the defined requirements. Deliverable: evaluation summary with promotion verdict.
Anti-Patterns
- Single-metric evaluation: Judging a model by accuracy alone without fairness, latency, or robustness metrics. Why: a high-accuracy model can be biased, fragile, or too slow for production serving.
- Evaluating on training data distribution only: Not testing on out-of-distribution or adversarial samples. Why: production data inevitably differs from training data; models that are not robustness-tested fail silently on real-world edge cases.
- Missing confidence intervals: Reporting point estimates without statistical significance or confidence intervals. Why: small evaluation sets produce noisy metrics; a 0.5% accuracy improvement may not be statistically significant.
Output
On success: Produces a model evaluation report containing accuracy metrics with confidence intervals, fairness assessment, robustness test results, baseline comparison, and a promotion verdict. Delivered as an evaluation artifact linked to the model registry entry.
On failure: Report which evaluation dimensions could not be completed (e.g., missing protected attribute labels, insufficient test data for significance), what partial results exist, and recommended data collection to enable full evaluation.
Related Skills
1---2name: model-evaluation-runner3description: This skill runs model evaluation suites to measure accuracy, fairness, and performance metrics. Use when asked to evaluate a model, benchmark against baselines, or assess model fairness. Also consider when a model is promoted without evaluation evidence. Suggest when the user trains a model without defining evaluation criteria.4---56# model-evaluation-runner78## Agent: AI/ML Engineer910L2 AI/ML engineer (Nx) responsible for feasibility assessment, model requirements, ML architecture design, model training, MLOps pipeline building, evaluation, and performance monitoring.1112Department ethos: [ideal-engineering.md](../../../../departments/engineering/ideal-engineering.md)1314## Skill Description1516Runs model evaluation suites to measure accuracy, fairness, robustness, and performance metrics against defined requirements and baselines.1718## When to Use1920- When a newly trained model needs validation before promotion to production.21- When a retrained model must be compared against the current production model.22- When regulatory or ethical requirements mandate fairness and bias evaluation.2324## Workflow25261. **Evaluation Dataset Preparation**: Prepare held-out test sets, stratified by critical segments (user cohorts, data sources, edge cases). Ensure no data leakage from training. Deliverable: versioned evaluation datasets with segment labels.272. **Accuracy Metric Computation**: Compute task-appropriate metrics: precision, recall, F1, AUC-ROC for classification; RMSE, MAE, R-squared for regression; BLEU, ROUGE for generation; NDCG, MAP for ranking. Deliverable: accuracy metric report with confidence intervals.283. **Fairness Assessment**: Evaluate model predictions across protected attributes (gender, age, ethnicity where applicable) using fairness metrics: demographic parity, equalized odds, predictive parity. Deliverable: fairness evaluation report with disparity measurements.294. **Robustness Testing**: Test model behavior on adversarial inputs, out-of-distribution samples, missing features, and noisy data. Deliverable: robustness test results with failure case catalog.305. **Baseline Comparison**: Compare the candidate model against baselines (rule-based, previous production model, simple heuristic) across all metrics. Deliverable: comparative evaluation table with statistical significance tests.316. **Promotion Decision**: Synthesize evaluation results into a promote/reject recommendation against the defined requirements. Deliverable: evaluation summary with promotion verdict.3233## Anti-Patterns3435- **Single-metric evaluation**: Judging a model by accuracy alone without fairness, latency, or robustness metrics. *Why*: a high-accuracy model can be biased, fragile, or too slow for production serving.36- **Evaluating on training data distribution only**: Not testing on out-of-distribution or adversarial samples. *Why*: production data inevitably differs from training data; models that are not robustness-tested fail silently on real-world edge cases.37- **Missing confidence intervals**: Reporting point estimates without statistical significance or confidence intervals. *Why*: small evaluation sets produce noisy metrics; a 0.5% accuracy improvement may not be statistically significant.3839## Output4041**On success**: Produces a model evaluation report containing accuracy metrics with confidence intervals, fairness assessment, robustness test results, baseline comparison, and a promotion verdict. Delivered as an evaluation artifact linked to the model registry entry.4243**On failure**: Report which evaluation dimensions could not be completed (e.g., missing protected attribute labels, insufficient test data for significance), what partial results exist, and recommended data collection to enable full evaluation.4445## Related Skills4647- [`model-trainer`](../model-trainer/SKILL.md) -- Produces the model this skill evaluates.48- [`mlops-pipeline-builder`](../mlops-pipeline-builder/SKILL.md) -- Embeds evaluation logic as an automated gate in the MLOps pipeline.49- [`model-requirements-definer`](../model-requirements-definer/SKILL.md) -- Defines the requirements evaluation validates against.