Skip to content

Add Packrift ecommerce carton fixture#13

Open
Packrift wants to merge 1 commit into
gedex:masterfrom
Packrift:codex/packrift-ecommerce-fixture
Open

Add Packrift ecommerce carton fixture#13
Packrift wants to merge 1 commit into
gedex:masterfrom
Packrift:codex/packrift-ecommerce-fixture

Conversation

@Packrift

@Packrift Packrift commented May 15, 2026

Copy link
Copy Markdown

Summary

  • add a real-world Packrift ecommerce carton fixture to the packer tests
  • keep the existing bom-d-van fixture but assert packing invariants instead of exact equal-volume item ordering
  • add helper assertions for packed item names and out-of-bounds placements

Validation

  • PATH=/Users/farhan/Downloads/packrift-backlinks/execution/toolchains/go1.25.10/bin:$PATH GO111MODULE=off go test -timeout 20s
  • GOPATH-mode go test -timeout 20s ./...
  • git diff --check

The Packrift fixture source is public and dimensions/weights are kept inline in the test: https://packrift.github.io/packaging-optimization-benchmark-corpus/cartonization-solver-fixtures.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant