FA-98130 / Sequence batch packing / Member archive
Prompt tokens leak into response-only truncation · case 05
Prompt tokens leak into response-only truncation.
Case contract
Return response tokens only, preserving the full response when it fits and otherwise retaining its final limit tokens; output (tokens, response_start), where response_start is zero.
Why this case matters
This deterministic toy packing rule models a common boundary in preparing bounded training sequences.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| response fits | [[0, 1, 2, 3, 4, 5, 6, 8, 9], 7] | [[8, 9], 0] | 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 ↗