FA-72242 / Error-correcting codes / Member archive
RS erasure recovery flips the Lagrange denominator · case 02
Recovered symbols are wrong whenever k - 1 is odd.
Case contract
Systematic Reed-Solomon erasure code over GF(257): the k data symbols are the values of a degree < k polynomial at x = 1..k, and any symbol is its value at another x. Given surviving shares [x, y] (duplicates allowed if they agree; conflicting duplicates return None; y is reduced mod 257), recover the k data symbols by Lagrange interpolation over the k shares with the smallest x. Fewer than k distinct x values returns None.
Why this case matters
Distributed storage rebuilds lost data fragments from any k surviving fragments.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression [[[8, 25], [4, 191], [3, 238], [1, 28]], 4] | [229, 154, 19, 66] | [28, 103, 238, 191] | 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 ↗