From 2bbf88862a22b505b06326ca19cf034db8cd8989 Mon Sep 17 00:00:00 2001 From: glenn schrooyen Date: Sun, 1 Nov 2026 04:00:00 +0100 Subject: [PATCH] MAINT-20 part 2: main.py keeps the FCST-04 windowing caveat a test pins Co-Authored-By: Claude --- goodwe_controller/app/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/goodwe_controller/app/main.py b/goodwe_controller/app/main.py index 679ac67..321ad00 100644 --- a/goodwe_controller/app/main.py +++ b/goodwe_controller/app/main.py @@ -630,9 +630,9 @@ class Controller: # few Brussels days) so unprinted hours can be filled from yesterday # and FLAGGED. An instrument's backing file, not a strategy. Carrying # widens what the optimiser SEES, never what it may act on (carried - # hours are provisional). The windowing DOES move energy: hours already - # elapsed leave the spread, so a past cheap night no longer sets the - # day's cheapest hour; this caveat must always travel with the + # hours are provisional). The windowing DOES move energy: hours + # ALREADY ELAPSED leave the spread, so a past cheap night no longer + # sets the day's cheapest hour; this caveat must always travel with the # guarantee (`resolve_tariff()`, DOCS.md, CHANGELOG). A broken or # absent store answers `no_data`; `PriceHistory._load()` drops # unreadable records (the constructor and `.words` are unguarded).