FA-95249 / Warehouse slotting and bin packing / Member archive
Pick sequence: invalid list unsorted · case 04
Exception reports list invalid codes in scan order.
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 32 | [[], ["\t41-7-2", "X01-7-1", " 0 -12-1\n", " 0-1-6\n", "X 3-1-7\n"]] | [[], ["\t41-7-2", " 0 -12-1\n", " 0-1-6\n", "X 3-1-7\n", "X01-7-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 ↗