FA-93095 / EV charging session scheduling / Member archive
Round-robin port rotation: timeline membership · case 05
Timeline rows are in port order and differ between identical fleets.
Case contract
vehicles is [[id, need_slots]] in arrival order. Each slot, free ports are filled from the FIFO queue; a vehicle holds its port for quantum slots or until done, then goes to the back of the queue. Return [timeline of sorted charging ids per slot, [[id, finish]] sorted by id] where finish is the slot index after its last charging slot, 0 when nothing was needed, None if unfinished.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: timeline membership | [[["V0", "V1", "V2"], ["V0", "V1", "V2"], ["V0", "V1", "V2"], ["V4", "V0", "V1"], ["V4", "V0", "V1"], ["V4", "V2"], ["V2", "V4"], ["V2", "V4"]], [["V0", 5], ["V1", 5], ["V2", 8], ["V3", 0], ["V4", null]]] | [[["V0", "V1", "V2"], ["V0", "V1", "V2"], ["V0", "V1", "V2"], ["V0", "V1", "V4"], ["V0", "V1", "V4"], ["V2", "V4"], ["V2", "V4"], ["V2", "V4"]], [["V0", 5], ["V1", 5], ["V2", 8], ["V3", 0], ["V4", null]]] | 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 ↗