EV-20 SPIKE-06 re-check: a stuck verdict does not hold Solar while no own current may stand (C14)
infra-pin / fresh (pull_request) Successful in 2s
checks / unit (pull_request) Failing after 1h12m24s

The exemption now applies whenever Solar is not live (also just after Solar
is chosen under a verdict Manual's refusals left), so Solar writes its 0 A
over the other current first and then the start rule runs. EV-13
T14 [8 A], T17 and T18 now assert that the energy meter does not flag the
frozen figure (PM accepted the trade-off); T14 [6 A] that it flags at +57 s.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VSY9UpTaUYnjJF5oVtbM1w
This commit is contained in:
Claude
2026-11-23 17:49:04 +01:00
parent 82dc77df62
commit b99f8c7e52
4 changed files with 54 additions and 12 deletions
+13 -2
View File
@@ -658,8 +658,13 @@ for TO_A in (8, 6):
check(f"T14 [{TO_A} A] ...the write was accepted", res[0][2] is True)
if TO_A == 6:
check(f"T14 [6 A] the energy meter flags the frozen figure (EV-18) "
f"within 120 s of the write (+{rel})",
rel is not None and rel <= 120)
f"at about +57 s after the write (+{rel})",
rel is not None and 50 <= rel <= 65)
else:
# The frozen figure is exactly 2x the real draw: CORR_RATIO 0.5 is
# not undercut, so EV-18 never flags it (PM accepted, SPIKE-06).
check(f"T14 [8 A] the energy meter does NOT flag the frozen figure "
f"(+{rel}); only the read-back cap bounds it", rel is None)
async def t17():
@@ -681,6 +686,9 @@ w, res, cs = run(t17())
T17_S = contra_report("T17 live refusals, then an ACCEPTED write to 12 A "
"under a frozen power", res[-1][0], cs,
12 * CH.CEILING_V * 3)
check(f"T17 the energy meter does NOT flag the frozen figure (+{T17_S}); "
f"only the read-back cap bounds it (PM accepted, SPIKE-06)",
T17_S is None)
check("T17 ...the last write was accepted, after the refusals",
res[-1][2] is True and res[0][2] is False)
@@ -704,6 +712,9 @@ w, res, cs = run(t18())
T18_S = contra_report("T18 an ACCEPTED write to 12 A under a frozen power, a "
"refusal 20 s later", res[0][0], cs,
12 * CH.CEILING_V * 3)
check(f"T18 the energy meter does NOT flag the frozen figure (+{T18_S}); "
f"only the read-back cap bounds it (PM accepted, SPIKE-06)",
T18_S is None)
check("T18 ...the second write was refused", len(res) >= 2
and res[1][2] is False)