Decompose: End-to-end pipeline tests (SVG/DST, PES, raster, multi-stitch, pull compensation, machine constraints) — Phase 6: Machine profile constraint (PR-10) #68
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 6: Machine profile constraint (PR-10)
End-to-end test that machine constraints are actually enforced. Uses
the PR-10 profile from issue #36.
Files:
tests/test_pipeline_e2e.pydata/test_fixtures/oversized.svg(a design that exceeds thePR-10 hoop)
Acceptance:
process(oversized.svg, machine_profile="brother_pr10")either:(a) rejects with a clear error, or (b) scales to fit, depending on
the pipeline's policy. The test asserts on whichever behavior the
pipeline implements; whichever it is, the test exists and pins the
behavior so it doesn't silently change.
PR-10 profile (10 threads), produces output with ≤ 10 distinct
colors.
Depends on: P1, issue #36 (PR-10 profile exists).
Cross-cutting
(raster output is sensitive to numpy/scipy version pins; the
pipeline is deterministic in shape but the bytes can shift).
pytest -m "not e2e"for fast iteration.exceeds that, the slowest test gets a
pytest.mark.slowand CIruns it in a separate job.
Decomposed from easystitch#41