Outlook to Live, humidity calibration, Models tab rebuilt without scrollers

Seven day outlook moves from History to Live, which now runs four rows.
Conditions ahead tightened so the Live column no longer needs a scroller.

Adds HumidityCompensator: an additive RH offset estimated by one-step RLS from
a trusted hygrometer, clamped to +/-35%, persisted, exposed at
POST /api/calibrate/humidity and on the renamed Models and calibration tab.

It also implements the psychrometric term (RH moved from element temperature
onto air temperature via conserved vapour pressure) but leaves it OFF by
default. The thermal argument predicts a hot element reads low; measured
against a reference hygrometer this board read 75.4% where the truth was
50.4%, so it reads HIGH and that correction would push it the wrong way. When
the flag is enabled, simulate.py applies the exact inverse, per the
simulator/compensator trap in DESIGN.md section 2.

Models pane rebuilt: the scorecard is one column per target so all 18 heads
are visible, and no panel on the tab uses an internal scroller. Verified in
Chromium at 1600x900: Live, History and Models all report zero scrollbars,
zero clipping, no page scroll, zero console errors. Backtest is numerically
identical to the previous commit, confirming the humidity work is a no-op
while the flag is off.
This commit is contained in:
2026-08-15 21:36:10 +01:00
parent 49c0aee2e1
commit e27a4b41c8
9 changed files with 336 additions and 96 deletions
+2 -2
View File
@@ -166,9 +166,9 @@ eight-pixel type.
| Tab | Answers |
| --- | --- |
| **Live** | What is it doing now, what it expects next, and how sure it is |
| **Live** | What is it doing now, what it expects next, how sure it is, and the week ahead |
| **History** | What did it do, over any timeframe you ask for |
| **Models** | Has the model earned its confidence |
| **Models and calibration** | Has the model earned its confidence, and the calibration inputs |
| **Methods** | How the whole thing is wired, and how each stage fails |
Live carries the current readings, the observed-and-forecast chart with its 90%