FA-98553 / KV cache position mapping / Member archive
Ring slots are read in logical order · case 03
Physical slot order is returned as if it were chronological order.
Case contract
Given slot values, oldest_slot, and count, return values for count consecutive occupied slots starting at oldest_slot with wraparound. count is between zero and capacity.
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 |
|---|---|---|---|
| wrapped sequence | ["a", "b", "c"] | ["d", "a", "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 ↗