FAILURE MAP
← Case archive

FA-72299 / Error-correcting codes / Member archive

Weight distribution takes the minimum row weight as the distance · case 04

Minimum distance is overstated when a combination of rows is lighter than every row.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Weight distribution of the binary linear code spanned by the rows of generator matrix G (rows may be dependent). Enumerate all 2^k messages including the zero message, form codewords as XOR combinations of rows, and histogram their Hamming weights (index 0..n). dmin is the smallest nonzero weight present (0 if the code is only the zero word). Return [histogram, dmin].

Why this case matters

Code designers use weight enumerators to estimate undetected-error probability and minimum distance.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression [[[0, 1, 1, 1, 1, 0, 0], [0, 1, 1, 0, 1, 1, 1], [1, 0, 0, 0, 1, 1, ...[[1, 0, 0, 3, 2, 1, 1, 0], 4][[1, 0, 0, 3, 2, 1, 1, 0], 3]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 ↗