FAILURE MAP
← Case archive

FA-67462 / Elevator dispatch scheduling / Member archive

Floor label and index mapping: unlucky floor skip · case 02

Floor 12 disappears instead of 13 in buildings with a mezzanine.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Physical indices 0..floors-1 are labelled bottom-up: basements Bk..B1, then G, then M if there is a mezzanine, then 1, 2, 3 ... skipping 13 when skip13. label:i returns the label of index i (None outside the range); index:L returns the index of label L (case-insensitive) or None.

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
sampled regression 44[null, null, null, 14, 1, "2"][null, null, null, null, 1, "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 ↗