EV-16: the Car Why no longer alternates between "are at {pct}" and "give all they can" while the car-over row holds.
Cause (confirmed red on base): _car_manual_why read the live peak_guard.floor_limited, which toggles at the reserve.
Fix: display only. The text is held in c._car_why_hold and changes only after the other state has stood for 180 s (the car_over off hold). SoC unread is never "are at". Cleared when car_over drops, on unplug and with cover off. No wording or control change.
Tests: new test_ev16.py (T1-T15, T17); T14/T15 compare against base digests.
EV-16: the Car Why no longer alternates between "are at {pct}" and "give all they can" while the car-over row holds.
Cause (confirmed red on base): `_car_manual_why` read the live `peak_guard.floor_limited`, which toggles at the reserve.
Fix: display only. The text is held in `c._car_why_hold` and changes only after the other state has stood for 180 s (the car_over off hold). SoC unread is never "are at". Cleared when car_over drops, on unplug and with cover off. No wording or control change.
Tests: new `test_ev16.py` (T1-T15, T17); T14/T15 compare against base digests.
🤖 Generated with [Claude Code](https://claude.ai/code)
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
Display only: the 'are at' / 'give all they can' text changes only when the
other state has stood for 180 s (the car_over off hold); SoC unread is never
'are at'. Cleared when car_over drops, on unplug and with cover off.
Co-Authored-By: Claude <noreply@anthropic.com>
Control bumps _car_over_ep at each start and end of car_over; the display
ignores a hold of another episode, so a read overlapping the end cannot bring
a stale text back.
Co-Authored-By: Claude <noreply@anthropic.com>
car_cycle ends with _car_why_tick (display only: control writes, never reads);
the Why reads the record. Adds read-gap tests (A, B, cover off/on), a long
guard-None test and a lower bound for the hold.
Co-Authored-By: Claude <noreply@anthropic.com>
The fallback (no record yet, or a record of an ended episode) had no check;
reading floor_limited alone there survived test_ev16. Test only.
Co-Authored-By: Claude <noreply@anthropic.com>
admin
merged commit 00b116e5b2 into release/1.02026-11-21 16:08:08 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
EV-16: the Car Why no longer alternates between "are at {pct}" and "give all they can" while the car-over row holds.
Cause (confirmed red on base):
_car_manual_whyread the livepeak_guard.floor_limited, which toggles at the reserve.Fix: display only. The text is held in
c._car_why_holdand changes only after the other state has stood for 180 s (the car_over off hold). SoC unread is never "are at". Cleared when car_over drops, on unplug and with cover off. No wording or control change.Tests: new
test_ev16.py(T1-T15, T17); T14/T15 compare against base digests.🤖 Generated with Claude Code
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w