FA-72252 / Error-correcting codes / Member archive
RS erasure recovery counts duplicate shares toward k · case 02
Too few distinct shares are accepted and interpolation uses fewer points than needed.
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], [8, 25]], 4] | [133, 133, 238, 191] | null | 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 ↗