FAILURE MAP
← Case archive

FA-93022 / EV charging session scheduling / Member archive

PV surplus following with hysteresis: stop delay comparison · case 02

Charging continues one sample longer than the configured stop delay.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

samples are per-minute PV surplus watts. Charging starts on the sample completing start_delay consecutive samples >= start_w, and stops on the sample completing stop_delay consecutive samples < stop_w; counters reset on each transition and on any interrupting sample. While charging the power is the surplus clamped to [1380, 3680] W, else 0. Return [powers, number of starts].

Why this case matters

Depot, workplace and public EV chargers schedule sessions against prices, circuit limits and departure deadlines; a wrong decision silently strands a driver or overloads a feeder.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
boundary: surplus exactly at start threshold[[0, 2000, 2000, 1380], 1][[0, 2000, 2000, 0], 1]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗