FAILURE MAP
← Case archive

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

Sleeve taper decrease schedule: decrease pair count · case 02

A 16-stitch taper is scheduled as 16 decrease rows, removing 32 stitches.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Top-down sleeve from upper_sts to cuff_sts, decreasing 2 stitches per decrease row within rows rows. Errors: cuff wider ("error: cuff wider than upper arm"), odd difference ("error: odd difference"), rows fewer than decrease rows ("error: not enough rows"). pairs = difference/2; a = rows // pairs; y = rows - a*pairs decreases every a+1 rows, x = pairs-y every a rows. Return [[a, x], [a+1, y]] omitting a zero count; [] for no decreases.

Why this case matters

Pattern writers turn a stitch-count change over a length into "decrease every N rows X times".

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
two rates[[5, 6], [6, 10]][[11, 6], [12, 2]]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 ↗