EV-59: Manual gives one value at most MAX_TRIES tries per user change, the phase-change closes included.
Cause: a refused close sequence ended with one _failed, so the normal path gave the same value 2 more tries (5 in all).
Fix (carmode.py): Manual counts the not-taken closes of the value owed (_close_k); at the capped close end fails is that count, so the give-up and CHARGER_REFUSED come at the 3rd refused close. A value changed mid-retries gets exactly 3 tries. SolarWriter overrides the new _close_end hook with its old _failed: Solar unchanged (EV-60).
Tests: new test_ev59.py; test_ev56 T5, T5b and golden "T20 T5 [R]"; test_ev28 T15; test_ev13 T13 text and T26 goldens (PM rulings).
EV-59: Manual gives one value at most MAX_TRIES tries per user change, the phase-change closes included.
- Cause: a refused close sequence ended with one `_failed`, so the normal path gave the same value 2 more tries (5 in all).
- Fix (carmode.py): Manual counts the not-taken closes of the value owed (`_close_k`); at the capped close end `fails` is that count, so the give-up and CHARGER_REFUSED come at the 3rd refused close. A value changed mid-retries gets exactly 3 tries. SolarWriter overrides the new `_close_end` hook with its old `_failed`: Solar unchanged (EV-60).
- Tests: new test_ev59.py; test_ev56 T5, T5b and golden "T20 T5 [R]"; test_ev28 T15; test_ev13 T13 text and T26 goldens (PM rulings).
Dev report: reports/EV-59-dev-report.md
🤖 Generated with [Claude Code](https://claude.ai/code)
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
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>
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>
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>
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>
ems-agent
merged commit 2e09622fe1 into release/1.02026-12-01 10:10:12 +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-59: Manual gives one value at most MAX_TRIES tries per user change, the phase-change closes included.
_failed, so the normal path gave the same value 2 more tries (5 in all)._close_k); at the capped close endfailsis that count, so the give-up and CHARGER_REFUSED come at the 3rd refused close. A value changed mid-retries gets exactly 3 tries. SolarWriter overrides the new_close_endhook with its old_failed: Solar unchanged (EV-60).Dev report: reports/EV-59-dev-report.md
🤖 Generated with Claude Code
https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w