Repository navigation
Packvium 1.2.0
Execution plans, and a fix for items going missing on the quality profile. Nothing breaks 1.1.0.
Added
@packvium/engine/execution.js—buildExecutionPlan(request, result, { loadingOrders }),
canonicalPlanJson(plan)andplacementReference(), with TypeScript declarations. Turns a
validated result into a work order: what to lift, why a carton was chosen, what was not
packed. Step order comes fromloadingOrdersor is reported as"unavailable".examples/execution.mjs.
Fixed
- The JavaScript engine could return fewer placements than it reported packed. With
solver_profile: "quality"orcontainer_plan_beam_widthabove 1, a beam search that stopped
early dropped the items it had not reached: neither placed nor listed as unpacked, and the
result still saidfeasible. Affected1.0.0and1.1.0; the default profiles were not.
If you used thequalityprofile, comparepacked_item_countwith the placements you received.