FAILURE MAP
← Case archive

FA-93185 / EV charging session scheduling / Member archive

Demand-response curtailment of a charge plan: floor applies only to curtailment · case 05

Slots planned below the floor, even zero-power slots, are raised to the floor power.

Member previewVariant 5 · 3 implementations · 7 checks per implementation

Case contract

profile is planned watts per slot. events are [start, end, pct, opt_out]; during [start, end) a non-opted-out event limits power to pct percent of plan (integer floor of p*pct/100), and overlapping events apply the lowest pct. Curtailed power never drops below min(plan, floor_w). Return [new profile, total curtailed watts over slots].

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: plan below floor[[1380, 1380], 5640][[1000, 1380], 6020]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 ↗