FAILURE MAP
← Case archive

FA-67514 / Elevator dispatch scheduling / Member archive

Car call registration and cancellation: nuisance limit · case 04

An empty car accepts a sixth call from a prankster, or legitimate calls are refused.

Member previewVariant 4 · 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: child presses every button{"calls": [1, 2, 3, 4, 5, 6], "log": ["registered", "registered", "registered", "registered", "registered", "registered", "nuisance"]}{"calls": [1, 2, 3, 4, 5], "log": ["registered", "registered", "registered", "registered", "registered", "nuisance", "nuisance"]}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 ↗