FA-98598 / KV cache position mapping / Member archive
Prefix reuse reports the common token prefix length · case 03
Reuse stops at the first differing token but reports the final sequence length.
Case contract
Return the length of the longest shared prefix of two token sequences.
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 |
|---|---|---|---|
| full prefix | 4 | 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 ↗