Skip to content

Codex/fase 7 - #13

Merged
mathsant-js merged 5 commits into
mainfrom
codex/fase-7
Sep 24, 2026
Merged

mathsant-js merged 5 commits into
mainfrom
codex/fase-7

Conversation

@mathsant-js

Copy link
Copy Markdown
Owner

Adicionando desenvolvimento da fase 7 na branch main

- train a RandomForestRegressor using the chronological dataset split
- calculate MAE, RMSE, and R² for the model and baseline
- persist the model and training metadata with Joblib
- validate artifact format and feature compatibility on load
- add explicit errors for missing or incompatible artifacts
- add reproducible training command and document actual metrics
- cover training, persistence, temporal split, and baseline comparison
- add admin endpoint for explicit demand prediction execution
- build causal inference features from available station data
- persist 60-minute forecasts with effective capacity and risk levels
- generate deterministic recommendations and deduplicated PEAK_RISK alerts
- keep ML advisory without changing energy allocations
- add authorization, boundary, persistence, failure, and safety tests
- update OpenAPI, Docker configuration, and Phase 7 documentation
…oard

- display forecast demand, target time, model version, and recommendation
- translate peak risk levels and add accessible visual indicators
- distinguish expired, missing, insufficient-data, unavailable-model, and communication-error states
- prevent forecasts from leaking across station filters
- add responsive styling and comprehensive dashboard tests
@mathsant-js mathsant-js self-assigned this Sep 24, 2026
@mathsant-js mathsant-js added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 24, 2026
@mathsant-js
mathsant-js merged commit 13df381 into main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant