You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forecast-trust slider is locked whenever pv_forecast_safety_k exists in config.yaml #1017
Owner report: the Plan card's "Follow the forecast" slider cannot be dragged. The note under it says why — "Forecast haircut is set in config.yaml — that value wins over this slider" — which is a config file acting as a user interface, against the project's UI-first rule (#1016 stated it for OCPP; this is the planner's version of the same defect).
Planner.EffectiveSafetyK prefers an explicit pv_forecast_safety_k over the trust mapping and YAMLCustomK tells the UI to disable the slider. Any site that ever tuned the haircut in YAML (the reporter's box has pv_forecast_safety_k: 1 — the same value as "balanced", so the lock buys nothing) loses the slider forever.
Fix: the field becomes a first-boot seed — mapped to the nearest trust step once when no preference is stored (k ≤ 0.25 → bold, < 1.5 → balanced, else cautious) — and the slider owns the live value afterwards, the same stored-wins contract forecast_trust got in #968.
Activity
fix(planner): the trust slider always works — YAML k is a first-boot …