FAILURE MAP
← Case archive

FA-95238 / Warehouse slotting and bin packing / Member archive

Pick sequence: padded codes rejected · case 03

Scanner input with trailing newline or leading tab is reported invalid.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

codes "aisle-bay-level" with decimal parts and optional surrounding whitespace. Valid aisles 1-40, levels 1-6. Canonical form "AA-BB-L" (two-digit aisle and bay). Duplicates collapse. Sequence: aisles ascending; odd aisles walk bays ascending, even aisles descending; level ascending within a bay. Invalid codes are returned as given, sorted, duplicates kept. Return [sequence, invalid].

Why this case matters

Pick paths are sequenced from location codes in a serpentine walk.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 18[[], ["\t01-7-1 ", "01-7-2 ", "40-7-6\n", "X 40-05-2 ", "X03-1-1"]][["01-07-1", "01-07-2", "40-07-6"], ["X 40-05-2 ", "X03-1-1"]]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 ↗