Metrics
All metrics are collected under controlled load conditions to ensure comparability across runs.
Measurement Flowchart
The validation pipeline runs benchmarks, collects samples, computes statistics, and applies the regression gate.Statistical Protocol
PerformanceValidation uses a bootstrap confidence interval protocol to reduce noise and false positives.- Minimum sample size: 100 requests per load profile. (Engineering assumption)
- Warmup: 10 requests executed and discarded before measurement.
- Bootstrap: 10,000 resamples with replacement to compute a 95% CI for the mean of each metric.
- Comparison: The new model passes if the upper bound of its 95% CI is below the baseline mean plus the regression threshold.
Threshold values are engineering assumptions. Final values will be calibrated in OQ-006 after reference benchmark runs.
Regression Gate
The regression gate compares the new candidate against the current production baseline. If any metric exceeds its regression threshold, the candidate fails and cannot proceed to canary or production.- Failure is recorded in ExperimentTracker with full sample distributions.
- The candidate status is set to REGRESSION.
- DeploymentManager blocks promotion.
Load Profiles
Every candidate is tested against all three profiles. Results are stored in ArtifactStore and linked to the model lineage.