FAILURE MAP
← Case archive

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

Top-down sock fit calculator: gusset pick-up · case 02

A hole forms at the gusset corner.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Leg stitches = foot_circ*(1 - neg_ease/100)*gauge/10 rounded to the nearest multiple of `multiple` (half-up). Heel flap = half the stitches; flap rows = heel stitches; gusset pick-up per side = flap rows/2 + 1. Return {cast_on, heel_sts, flap_rows, pickup}.

Why this case matters

Sock patterns size with negative ease and derive heel flap and gusset counts.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
no ease{"cast_on": 56, "flap_rows": 28, "heel_sts": 28, "pickup": 14}{"cast_on": 56, "flap_rows": 28, "heel_sts": 28, "pickup": 15}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 ↗