An oversized print stops the drying rack selection early
Level 2 · node · Reliability · Continue scanning after an ineligible item
Scenario
A fictional printmaking studio selects prints for a drying rack with a fixed maximum width per print. Prints that are too wide must stay on the workbench, while later eligible prints should still be selected. Some suitable prints never reach the rack list.
Requirements
Return the IDs of all prints whose width is at most the rack limit, preserving their original order. An oversized print must not prevent later prints from being considered.
Acceptance criteria
- Return every print that fits when all prints are eligible.
- Skip oversized prints and still select later eligible prints.
- Include prints exactly as wide as the rack limit.
- Return an empty list if no prints fit.