FAILURE MAP
← Case archive

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

Sleeve taper decrease schedule: odd difference test · case 04

Going from 53 to 48 stitches is accepted and one stitch vanishes.

Member previewVariant 4 · 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
regression: odd difference test[[24, 3]]"error: odd difference"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 ↗