FA-4662 / Multiset accounting / Member archive
Counter subtract retains nonpositive counts · case 02
The operation returns a result or retained state that violates this contract: Subtract right counts from left counts and retain zero and negative entries in insertion order.
Case scope
A controlled failure with recorded boundary checks.
Why this case matters
A controlled local-runtime regression for collection APIs, language semantics, or ownership wrappers. Fixtures include boundary and interaction cases.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| zero and negative retained | [] | [["a", 0], ["b", -2], ["c", -1]] | 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 ↗