FAILURE MAP
← Case archive

FA-93014 / EV charging session scheduling / Member archive

PV surplus following with hysteresis: counter reset at start · case 04

Charging stops shortly after starting even though the sun never dipped.

Member previewVariant 4 · 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
regression: counter reset at start[[0, 2003, 0, 0, 0, 0, 0, 2432, 0, 3612, 0, 2403, 0, 0, 3028], 5][[0, 2003, 1380, 1823, 1380, 0, 0, 2432, 1380, 3612, 1380, 2403, 1380, 1431, 3028], 2]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 ↗