Test Coverage: V200+ Predictor Tests
Resolved 💬 3 comments Opened Dec 6, 2025 by ingoldsby Closed Feb 5, 2026
Overview
Add comprehensive tests for V200+ predictor modules which currently have 0% coverage.
Target Files
| File | Lines | Current Coverage | Target |
|------|-------|------------------|--------|
| src/ml/v200_predictor.py | ~200 | 0% | 70% |
| src/ml/v202_total_predictor.py | ~200 | 0% | 70% |
Test Categories Needed
1. V200 Predictor Tests
- [ ]
test_load_models- Test loading ensemble models - [ ]
test_predict_game- Test game prediction with valid inputs - [ ]
test_predict_game_missing_data- Handle missing features gracefully - [ ]
test_feature_engineering- Test feature preparation - [ ]
test_model_ensemble_weights- Verify ensemble combination
2. V202 Total Predictor Tests
- [ ]
test_predict_total- Test over/under prediction - [ ]
test_predict_with_pace_adjustments- Pace factor handling - [ ]
test_edge_cases- Zero/negative inputs, missing data
Acceptance Criteria
- [ ] V200 predictor tests added
- [ ] V202 total predictor tests added
- [ ] Combined coverage ≥70%
- [ ] All tests pass in CI
Labels
test-coverage, ml, priority-medium
---
Part of test coverage improvement initiative
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗