FA-99584 / RAG context assembly / Member archive
Context budget double-counts shared token overlap · case 04
Context budget double-counts shared token overlap.
Case contract
Token-list chunks append under budget; each later chunk incurs only tokens after maximal exact suffix-prefix overlap. Return assembled tokens.
Why this case matters
A small deterministic evidence assembly model makes context budgeting behavior inspectable.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| overlap permits fit | ["a4", "b4", "c4", "b4"] | ["a4", "b4", "c4", "d"] | 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 ↗