FA-98562 / KV cache position mapping / Member archive
Paged cache resolves through the sequence block table · case 02
A logical page is represented by its local offset instead of the physical slot in that page.
Case contract
block_table maps logical page number to physical block base. Return base + (position modulo page_size). Missing page returns -1.
Why this case matters
A small in-memory model makes the cache address contract explicit for a serving component.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| second page offset | 1 | 29 | 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 ↗