4 Commits
Author SHA1 Message Date
Claude 7628cacdb7 EV-59 review: CHANGELOG line; T21 power-unknown check exact
checks / unit (pull_request) Successful in 50m12s
infra-pin / fresh (pull_request) Successful in 1s
Reviewer fixes, Minor only, no implementation change:
- CHANGELOG.md: the user-visible change under "Not in a release yet".
- test_ev59 T21 (power unknown): assert the 3 restore tries at 20, 25, 30,
  the give-up and one REF, instead of "at most 3" (which passed with 0).
  Red on 1b909fb (20, 25, 30, 90, 150).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-01 09:19:38 +01:00
Claude e522e6ffbb EV-59: test_ev59 gains T14c, T17, T18, T11c, N3, N7, N11, N12; docstring
infra-pin / fresh (pull_request) Successful in 2s
checks / unit (pull_request) Successful in 51m36s
T14c drives SolarWriter._advance with a moving close value (pinned to the
base result). T17, T18, T11c and N11 are source checks on the edited test
files. N3 is asserted in every run, N7 with an answering charger, N12 on the
tracker notes. The docstring now says which row is here, which is carried by
another suite, and which existing tests are edited.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-01 05:32:29 +01:00
Claude e83b2e315b EV-59: test_ev13 T26 goldens, N4/N8/N10 tests, stronger T12b/T11a
infra-pin / fresh (pull_request) Successful in 2s
checks / unit (pull_request) Failing after 1h13m10s
PM ruling: drop the 4th and 5th tries (1095, 1155) from the test_ev13 T26
goldens T20-beside and T20-inside. test_ev59 gains T13e (a give-up never
blocks _undo, abandon or _begin), N8 and N10, and the fails-at-select and
fails-at-timeout asserts that kill mutant M12.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-01 02:50:45 +01:00
Claude 009393a5ee EV-59: Manual gives one value at most MAX_TRIES tries per user change
A refused phase-change close ended its sequence with one `_failed`, so the
same value got 5 tries (3 closes, then 2 on the normal path). Manual now
counts the not-taken closes of the value owed since the last user change
(`_close_k`); at the capped close end `fails` = that count, so `gave_up` and
CHARGER_REFUSED come at the 3rd refused close, and a value changed during the
retries still gets 3 tries. SolarWriter overrides the end hook and is
unchanged (EV-60).

Tests: new test_ev59.py; test_ev56 T5, T5b and the T20 T5 [R] golden,
test_ev28 T15 and the test_ev13 T13 text per the brief rulings.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-01 02:40:49 +01:00