FA-97663 / Knitting and sewing pattern grading / Member archive
Stranded colorwork float checker: round wrap merge · case 03
In the round, a float crossing the beginning of round is reported as two short floats.
Case contract
row is a string of color letters. For each color, a float is a maximal run of other colors [start, length]. In the round, a float touching both the end and the start (with at least two runs) wraps and merges into the last run (its start is kept). Report [color, start, length] for floats longer than max_float, sorted by (start, color).
Why this case matters
Stranded knitting charts are checked for long floats that need catching.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| wrap in round | [["B", 2, 5]] | [["B", 2, 5], ["A", 7, 5]] | 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 ↗