EV-28: the phase select is written only when the charger reads under 100 W (mode3 only without a power reading). A car still drawing after 20 s gets no select: its current comes back at once, one failed try, next try 10 minutes later.
EV-28: the phase select is written only when the charger reads under 100 W (mode3 only without a power reading). A car still drawing after 20 s gets no select: its current comes back at once, one failed try, next try 10 minutes later.
Tests: test_ev28.py (new), test_ev04.py (slow_stop rewritten, fuzz power check). Brief v2, R3.
Generated with Claude Code
Stage zero counted mode3 B as quiet whatever the power and selected at the
20 s timeout under load. A power reading now decides (under 100 W); mode3
(not C, not D) only without one. Still drawing at 20 s: no select, the
current comes back at once, one failed try, next try PHASE_GAP_S later.
Co-Authored-By: Claude <noreply@anthropic.com>
Review fixes, no logic change:
- T17a now asserts the restore is the first write once the charger is back
(it was only checked to happen at some point); mutant M3 (restore after
SETTLE_S) now turns T17a red.
- T15 now asserts the refused restore is counted once (`fails == 1`);
a mutant without `_failed` there now turns T15 red.
- DECISIONS "The phase sequence" and the carmode docstring reflowed to 79
columns; DECISIONS says D counts as drawing too, as the code does.
Co-Authored-By: Claude <noreply@anthropic.com>
ems-agent
merged commit 76f4de23c7 into release/1.02026-11-21 23:28:04 +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-28: the phase select is written only when the charger reads under 100 W (mode3 only without a power reading). A car still drawing after 20 s gets no select: its current comes back at once, one failed try, next try 10 minutes later.
Tests: test_ev28.py (new), test_ev04.py (slow_stop rewritten, fuzz power check). Brief v2, R3.
Generated with Claude Code