EV-10 round 3: grade the floor case on the same landing with and without the car; per-quarter latches independent of the cover option; stricter write-mute test
checks / unit (pull_request) Successful in 20m56s
infra-pin / fresh (pull_request) Successful in 1s

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-16 19:28:02 +01:00
parent 646f61e730
commit 269b89d6b0
3 changed files with 100 additions and 42 deletions
@@ -86,18 +86,21 @@ up to 1.8 kW; the 40 Wh floor fixes that.)
## EV-10, EV-11, EV-12: the rig's three findings (EV-04 test F-1 to F-3)
- **The car is the cause when the alarm's own test says so** (EV-10).
`car_cycle` (`_car_explains_alarm`) grades the alarm's test on the period as it
is and on the period without the car's fresh, corroborated average
(`car_exclude`): the car explains the alarm only if the test is true with it
and false without it. The test is the alarm's own landing (`_car_grade`: the
batteries give only what they still can, `load_too_high` for a saturated guard
and for a floor with other batteries, `misses_aim` for a floor with none), not
the plain projection, which still counts the batteries' help. So the car alone
taking the batteries to the reserve is silent (rig: 5888 W against 6000 W),
while a house-caused drain with a small car still alarms. No minimum car power
is needed: a car that changes nothing cannot flip the test. A stale, stuck or
uncorroborated figure is `None` and the normal alarms stand.
- **The car is the cause when the alarm's own test says so, on the same
landing** (EV-10). `car_cycle` (`_car_explains_alarm`) runs the alarm's test on
the period as it is and on the period without the car's fresh, corroborated
average (`car_exclude`): the car explains the alarm only if it is true with the
car and false without it. A saturated guard, and a floor with other batteries
left, use `load_too_high` on the landing (the batteries give only what they
still can). A floor that leaves nothing uses SAFETY-126's `misses_aim` (the
batteries at 0 W from now on), which is latched for the quarter; the add-on keeps
that latch twice, with and without the car, from the same readings. Both reset
at a new quarter and when the guard stops wanting power, and they run every
cycle, so the cover option does not touch them. This holds with the projection
still under the aim (rig: 5888 W against 6000 W). A car of 0 W makes the two the
same, so it explains nothing; a stale, stuck or uncorroborated figure is `None`,
sets the latch without the car, and the normal alarms stand. There is no minimum
car power: the comparison itself is what separates car from house.
- **Steady row, no hold on the alarm** (EV-11). Cause: after the car's own quarter
became the month peak, the aim sat on the grid it made (14.04 kW +-40 W), so
the test crossed the aim every few seconds. `car_over` (row, card, notice) now