Repository navigation
Codex/closing gaps mvp - #16
Merged
Merged
Conversation
- start automatic ticks when the simulation enters RUNNING - stop and cleanly cancel the runner on request or application shutdown - use a fresh SQLAlchemy session for every automatic tick - prevent duplicate runners and overlapping manual or automatic ticks - recover from isolated tick failures without advancing the clock - preserve the manual tick endpoint - add deterministic runner, shutdown, recovery, and energy invariant tests - document the single-backend-instance coordination limitation
- prevent temporal leakage with a 60-minute purge gap - add deterministic ML demo data preparation - persist and validate model, feature, and sklearn versions - report model and baseline metrics with an explicit winner - integrate demand prediction into the Sprint 3 demo - demonstrate HIGH peak risk without changing thresholds - verify predictions do not affect energy allocation - expand ML, inference, artifact, and demo coverage - update README and Phase 7, Phase 9, and Sprint 3 documentation
- evaluate baseline and three classical regressors using a temporal split - select the winner by RMSE while allowing the baseline to win - add deterministic training and segmented error analysis - version and validate the complete inference artifact contract - expand tests for selection, persistence, compatibility, and fallback - document evaluation results and limitations
- validate migrations, seed, ML preparation, and the complete Golden Path - run the real application against disposable PostgreSQL 16 - verify authentication, energy allocation, alerts, billing, ESG, dashboards, OpenAPI, and frontend - generate ephemeral credentials and safely clean up test resources - add an opt-in CI workflow and execution documentation - make the simulation runner interval configurable for deterministic manual ticks - fix datetime serialization in ML preparation output
- split login, admin, operations, and user dashboard routes - add an accessible Suspense loading state - keep Recharts out of the initial bundle - preserve role protection and redirects - add coverage for async loading and ADMIN/USER authorization
- add three-fold walk-forward validation with expanding training windows - preserve the 60-minute purge gap to prevent temporal leakage - select the model using aggregated out-of-sample RMSE - report metrics by fold and demand range - retain the baseline and strictly advisory predictions - update tests, reproduced metrics, and documentation
- add frontend HTTP healthcheck and automatic failure diagnostics - retry only transient read-only web surface requests - clarify durable checkpoint authority and tick resume behavior - expand idempotency and frontend readiness tests - fix Ruff warning in PostgreSQL lock handling - update operational documentation and verified test evidence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adicionando parte final do mvp