FA-97464 / Knitting and sewing pattern grading / Member archive
Pattern row locator: row origin guard · case 04
Row 0 is accepted as setup row 0.
Case contract
Rows are 1-based. Rows 1..setup are ["setup", row]. The next length*repeats rows are ["repeat", repeat_number, row_in_repeat] (both 1-based). Later rows are ["finishing", k] counting from 1 after the last repeat. row < 1 -> "error: rows start at 1".
Why this case matters
Row counter apps must map an absolute row number onto setup, repeat and finishing sections.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| row zero | ["setup", 0] | "error: rows start at 1" | 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 ↗