FA-95252 / Warehouse slotting and bin packing / Member archive
Pick sequence: canonical code not padded · case 02
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 4 | [["2-1-6"], ["\t41-1-2 ", "0 -05-7 "]] | [["02-01-6"], ["\t41-1-2 ", "0 -05-7 "]] | 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 ↗