FA-98558 / KV cache position mapping / Member archive
Paged cache position selects the correct block · case 03
A logical position at a page boundary is assigned to the preceding block.
Case contract
For nonnegative position and positive page_size, return (block_number, offset_within_block).
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 |
|---|---|---|---|
| first page | [1, 3] | [0, 3] | 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 ↗