FA-97377 / Knitting and sewing pattern grading / Member archive
Evenly spaced increase row: trailing increase · case 02
A round of 8 increases only adds 7 stitches.
Case contract
Distribute increases (m1) evenly over stitches. Flat rows use increases+1 segments with no increase at the edges; rounds use `increases` segments each followed by m1. Segment length is stitches // segments; the remainder adds one stitch to segments in order: rounds from the start, flat rows alternating from the outside in (first, last, second, second-last...). Segments must hold at least one stitch, else "error: too many increases". 0 increases -> "k<n>"; negative counts or no stitches -> "error: counts". Output "k4, m1, k5, ...".
Why this case matters
Yoke, cuff-to-body and hem transitions ask knitters to increase evenly across a row.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: trailing increase | "k5, m1, k5, m1, k5, m1, k4, m1, k4" | "k5, m1, k5, m1, k5, m1, k4, m1, k4, m1" | 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 ↗