FA-72209 / Error-correcting codes / Member archive
LT peeling stops after one pass · case 04
Symbols that become degree one late in the list are never used.
Case contract
Peeling (belief-propagation) decoder for an LT fountain code over bytes. symbols is a list of [neighbour indices, XOR of those source symbols]. Repeatedly find an encoded symbol with exactly one unresolved neighbour, resolve it as the value XOR all resolved neighbours, and continue until a full pass makes no progress. Return the k source values with None for unresolved ones.
Why this case matters
Broadcast and storage systems use fountain codes; peeling must continue as long as new degree-one symbols appear.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression [[[[1, 2], 6], [[0, 1], 3], [[2], 4]], 3] | [null, null, 4] | [1, 2, 4] | 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 ↗