Evaluating Sewing Template Pipelines
When asked to evaluate or improve an image-to-sewing-pattern pipeline, don't dump all 100 KPIs. Instead:
- Identify the failure mode (print scale wrong? pieces don't align? AI script crashes? pattern not sewable?)
- Map it to one of the 10 categories below
- Score only the relevant 10 KPIs in that category (1–5 scale, or pass/fail against stated targets)
- Report the top 3 blocking issues with concrete numeric deltas (mm, degrees, seconds)
Example invocation response pattern:
Category: Geometric & Sewing Precision (KPIs 11–20)
Failing: #11 Adjoining Seam Perimeter Delta = 3.2mm (target <1.0mm)
Failing: #17 Grainline Parallelism Error = 6° (target <1°)
Root cause: offset path smoothing applied after mirroring, not before
Fix priority: #11 first (blocks sewability), then #17 (cosmetic/grain only)
- Image Extraction & Vectorization (1–10) — tracing raster source into clean vector paths
- Geometric & Sewing Precision (11–20) — do pieces actually fit together physically
- Scale Calibration & Print Output (21–30) — does 1 printed mm = 1 real mm
- AI Code Execution & Tool Performance (31–40) — reliability of the generation scripts/tools
- Pattern Completeness & Markings (41–50) — are all sewing annotations present
- Physical Sewing & Construction Viability (51–60) — does the finished object actually assemble
- Workflow & Automation Speed (61–70) — cycle time and manual labor
- Input Source Resilience (71–80) — handles bad photos, watermarks, low-res
- NotebookLM & Documentation Synergy (81–90) — instruction/text extraction quality
- Digital Product & Creator Readiness (91–100) — packaging, IP, distribution, accessibility
Full 100-KPI list lives in this skill's knowledge; pull specific numbered items on demand rather than reprinting all 100 every time.
Progress:
- Clarify scope: full audit (all 10 categories) vs. targeted diagnosis (1–2 categories)
- Gather pipeline stage info: what image source, what tool/script generates vectors, what PDF export method
- Select applicable KPIs (don't force all 10 if e.g. no AI code execution stage exists)
- Score each selected KPI: use physical measurement when possible (mm, degrees, seconds) over subjective 1-5 ratings
- Rank failures by sewing-blocking severity: Category 2, 3, 6 failures block usability; Category 9, 10 failures are polish
- Report root cause per failure, not just the symptom
- Recommend fix order: calibration (21–30) and geometry (11–20) first — everything downstream depends on these being correct
- If requested, generate a scoring rubric table or a Python validation script (see Best Practices)
Tier 1 — Pattern is unusable if these fail:
- #21 Calibration Square Dimensional Error
- #11 Adjoining Seam Perimeter Delta
- #3 Closed-Loop Path Rate
- #23 A4 Canvas Boundary Compliance
- #28 PDF Metadata & Unit Lock
Tier 2 — Pattern is usable but sewing is error-prone:
- #15 Notch Alignment Offset
- #16 Dart Angle & Apex Accuracy
- #51 First-Time Sewability Pass Rate
- #26 Registration Crosshair Alignment Error
- #44 Nap/Fur Direction Coverage
Tier 3 — Polish, documentation, distribution:
- Categories 9 and 10 almost entirely (instruction clarity, IP transformation, packaging)
Always check Tier 1 before spending effort on Tier 3.
Example 1: Input: "My generated PDF prints fine but when I sew the two body pieces together the fabric puckers badly." Output:
Category: Geometric & Sewing Precision
Primary suspect: #11 Adjoining Seam Perimeter Delta, #52 Seam Puckering/Pleating Incidence
Diagnostic: measure arc length of both mating edges in the SVG (not straight-line distance)
Likely root cause: bezier smoothing (#4 Bezier Node Efficiency) applied independently to each
piece after mirroring, causing left/right curve lengths to diverge by >1mm
Fix: smooth the master curve once, then mirror — never smooth post-mirror
Verify: re-measure #11, target <1.0mm, re-test physical seam
Example 2: Input: "Users say the printed ruler on page 1 doesn't match a real ruler." Output:
Category: Scale Calibration & Print Output
Failing KPI: #21 Calibration Square Dimensional Error, #28 PDF Metadata & Unit Lock
Diagnostic: open PDF, inspect MediaBox/CropBox units vs. intended mm; check if PDF generator
defaulted to 72 DPI assumption (common Python reportlab/svglib pitfall) instead of true mm units
Fix: explicitly set page units in points-per-mm (1mm = 2.83465pt) at PDF generation step,
never rely on viewer "fit to page" scaling
Verify: print at 100%/"Actual Size" (never "Fit"), measure #21 with physical ruler, target <0.2mm
Example 3: Input: "Give me a rubric to score a new pipeline before launch." Output: produce a table with columns [KPI #, Name, Target, Measured, Pass/Fail, Severity Tier], pre-filled with Tier 1 and Tier 2 KPIs, leaving Measured blank for the user to fill in during testing. Offer Tier 3 as an appendix.
- Always distinguish measured (physical ruler, protractor, stopwatch) from estimated KPIs — flag which is which in any report.
- Calibration (#21, #28) is the root dependency for nearly everything else — if scale is wrong, geometric precision KPIs are meaningless.
- When asked for a validation script, generate one that checks: closed paths (#3), seam length deltas (#11), A4 bounds (#23), margin clearance (#24), and PDF unit lock (#28) — these are automatable; sewability (#51–60) is not and requires physical testing.
- Prefer numeric deltas with units (mm, degrees, seconds, %) over vague qualitative scores.
- When scope is ambiguous, ask which of the two closing offers the user wants (category prioritization vs. scoring rubric vs. automated script) rather than guessing.
- Don't treat all 100 KPIs as equally important in a single report — use the severity tiers.
- Don't evaluate print output (Category 3) using on-screen "fit to page" previews — always base print-accuracy KPIs on actual 100%-scale printed and physically measured output.
- Don't conflate vectorization quality (Category 1) with sewing precision (Category 2) — a perfectly clean vector trace can still have a non-sewable seam mismatch if offsetting/mirroring was done incorrectly afterward.
- Don't skip physical sewing tests (Category 6) in favor of only geometric/digital checks — digital symmetry doesn't guarantee fabric behaves correctly under stuffing and turning.
- Don't recommend fixes to Category 9/10 (documentation, packaging) before Tier 1 geometric/calibration issues are resolved.