FA-11599 / Compression format semantics / Member archive
LZ history keeps references beyond its window · case 04
LZ history keeps references beyond its window.
Case contract
Return the byte distance behind output only if 1 <= distance <= min(width,len(history)); otherwise return None. Width is positive.
Why this case matters
A small offline codec model isolates a compression-specific failure without external files or libraries.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| expired | "a" | 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 ↗