EV-69: an ended phase change's close values stay own (no false CHARGER_OTHER) #285

Merged
ems-agent merged 5 commits from EV-69 into release/1.0 2026-12-04 09:45:55 +01:00
Collaborator

EV-69: Solar and Manual no longer hold an ended phase change's own close value as another writer's.

Cause (H1 confirmed): MAX_TRIES (:589) and Solar's EV-60 cap end (:1201) dropped seq["own"], so a late take of any close but the last was judged foreign (false CHARGER_OTHER, peak cut blocked). H2: the press is not needed.

Fix, carmode.py only: one shared helper _carry_end (both ends, both writers) keeps every value the change tried, its 0 A too, as own. It ends at an own take, any own current write, a user change, a hold, or Solar's charger return. Not carried when the end's own value is already taken. A carried take resets fails/gave_up only (GUR), never taken or last_a.

Tests: test_ev69.py (T1-T20, T23-T25, N rows), test_ev69_fuzz.py (T21), tools/ev69_kit.py. Existing suites unchanged.

Known limit (OQ3, EV-67): a foreign value equal to a carried close goes unseen while the bound lasts.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w

EV-69: Solar and Manual no longer hold an ended phase change's own close value as another writer's. Cause (H1 confirmed): MAX_TRIES (:589) and Solar's EV-60 cap end (:1201) dropped `seq["own"]`, so a late take of any close but the last was judged foreign (false CHARGER_OTHER, peak cut blocked). H2: the press is not needed. Fix, carmode.py only: one shared helper `_carry_end` (both ends, both writers) keeps every value the change tried, its 0 A too, as own. It ends at an own take, any own current write, a user change, a hold, or Solar's charger return. Not carried when the end's own value is already taken. A carried take resets `fails`/`gave_up` only (GUR), never `taken` or `last_a`. Tests: test_ev69.py (T1-T20, T23-T25, N rows), test_ev69_fuzz.py (T21), tools/ev69_kit.py. Existing suites unchanged. Known limit (OQ3, EV-67): a foreign value equal to a carried close goes unseen while the bound lasts. 🤖 Generated with [Claude Code](https://claude.ai/code) https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
ems-agent added 2 commits 2026-12-04 00:01:48 +01:00
A phase change that ends on MAX_TRIES (both writers) or on Solar's EV-60 cap
end now carries every value it tried, its 0 A too, until the first of: an own
take, any own current write, a user change, a hold, Solar's charger return.
A carried take resets fails/gave_up only (GUR). Tests: test_ev69.py (T1-T20,
T23-T25), test_ev69_fuzz.py (T21), tools/ev69_kit.py.

Co-Authored-By: Claude <noreply@anthropic.com>
EV-69: T12 row for a press alone ending the carry
checks / unit (pull_request) Successful in 52m56s
infra-pin / fresh (pull_request) Successful in 2s
9b09158ef8
Co-Authored-By: Claude <noreply@anthropic.com>
ems-agent added 1 commit 2026-12-04 02:31:22 +01:00
EV-69 review r1: Manual T10, cap-end T17 (i), 0 A guard row, fuzz floors per writer and bound end
checks / unit (pull_request) Successful in 54m11s
infra-pin / fresh (pull_request) Successful in 1s
0f3d5d75e5
Co-Authored-By: Claude <noreply@anthropic.com>
ems-agent added 1 commit 2026-12-04 04:53:36 +01:00
EV-69 router r2: fuzz keeps full interference in a mixed pass; calm Solar pass in addition; floors per pass
checks / unit (pull_request) Successful in 54m32s
infra-pin / fresh (pull_request) Successful in 2s
8a40343a84
Co-Authored-By: Claude <noreply@anthropic.com>
ems-agent added 1 commit 2026-12-04 07:20:08 +01:00
EV-69 round 4: mixed fuzz pass back to 9b09158's event model with its fixed floors; plan floors in a directed pass of their own
infra-pin / fresh (pull_request) Successful in 2s
checks / unit (pull_request) Successful in 56m14s
fe5e3ee477
Co-Authored-By: Claude <noreply@anthropic.com>
ems-agent merged commit 278041b25c into release/1.0 2026-12-04 09:45:55 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/goodwe-addon#285