FA-100695 / Speculative decoding bookkeeping / Member archive
Decoding: Layered cache commit preserves only positions before rejection · case 05
Layered cache commit preserves only positions before rejection.
Case contract
Cache records are [layer, absolute_position, payload] in arbitrary order. Given proposal start position p and accepted count k, retain every layer record at positions before p+k, preserving history and accepted positions; discard the rejected position and all later speculative positions.
Why this case matters
A self-contained bookkeeping model makes prefix and token-count semantics observable without a model runtime.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| both layers through verified prefix | [[0, 15, "a"], [1, 15, "A"]] | [[0, 15, "a"], [1, 15, "A"], [0, 16, "b"], [1, 16, "B"]] | 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 ↗