FA-47005 / Bounded deques / Member archive
Lazy reversed deque appends at the wrong physical endpoint · case 05
Lazy reversed deque appends at the wrong physical endpoint.
Case contract
A bounded deque stores physical values and a lazy reversed flag. Flip toggles orientation without moving storage; logical append and front-pop select the appropriate physical endpoint. Full append rejects.
Why this case matters
Controlled bounded deque implementation model with explicit storage and lifecycle observations.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| 1 | [[5, 6, 7], true, [6, 5, 7], null] | [[7, 5, 6], true, [6, 5, 7], null] | 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 ↗