FAILURE MAP
← Case archive

FA-97544 / Knitting and sewing pattern grading / Member archive

Pattern size selector: dress range check · case 04

A dress for a bust beyond the chart prints "grade None to L".

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Chart (cm) XS 80/62/86, S 86/68/92, M 92/74/98, L 100/82/106, XL 108/90/114 (bust/waist/hip). Inches convert at 2.54. A size fits a measurement when chart + 1 cm >= body; pick the smallest fitting size. top: by bust; skirt: the larger of waist size and hip size; dress: bust size and hip size, same -> that size, else "grade A to B" (bust size to hip size). No fitting size -> "out of range"; other garments -> "error: garment".

Why this case matters

Sewists choose a pattern size per body zone and grade between sizes.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
out of range dress"grade None to L""out of range"Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗