FA-46170 / Bounded deques / Member archive
Capacity permits forget resident deque occupancy · case 05
Capacity permits forget resident deque occupancy.
Case contract
Bounded deque capacity includes live items and outstanding insertion permits. Grant a new permit only if it fits, then cancel one named permit and report the remaining permits and capacity.
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 |
|---|---|---|---|
| reserved blocks grant | [[["a", 3], ["new", 3]], true, -1] | [[["a", 3]], false, 2] | 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 ↗