FA-95254 / Warehouse slotting and bin packing / Member archive
Pick sequence: canonical code not padded · case 04
Sequenced codes lose zero padding and fail to match labels on the rack.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| generated mix 21 | [["1-5-1", "1-12-1", "2-12-2", "2-5-2", "3-5-2"], ["1 -12-7\n", "40-7-0 "]] | [["01-05-1", "01-12-1", "02-12-2", "02-05-2", "03-05-2"], ["1 -12-7\n", "40-7-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 ↗