FAILURE MAP
← Case archive

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

Pick sequence: padded codes rejected · case 04

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

Member previewVariant 4 · 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 26[[], ["\t03-12-2 ", "\t41-05-7", " 01-12-0 ", " 03-12-7", "1-7-1\n", "3-1-2\n", "X2 -1-0 "]][["01-07-1", "03-01-2", "03-12-2"], ["\t41-05-7", " 01-12-0 ", " 03-12-7", "X2 -1-0 "]]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 ↗