FAILURE MAP
← Case archive

FA-67505 / Elevator dispatch scheduling / Member archive

Car call registration and cancellation: floor range check · case 05

A non-existent floor is registered as a car call.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Car buttons are processed in order. Pressing the current floor with doors open reopens the doors. Floors outside 0..floors-1 are invalid. Pressing an already registered floor cancels it, unless it is the only call (kept). With load under 20 kg, a new call is refused as nuisance once five calls are registered. Otherwise the call is registered. Return the sorted calls and the per-press log.

Why this case matters

Lift group controllers make these decisions many times per minute; a wrong answer strands passengers, wastes trips or overrides a safety rule.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: basement button that does not exist{"calls": [-1, 3], "log": ["registered", "registered"]}{"calls": [3], "log": ["invalid", "registered"]}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 ↗