FA-12309 / Battery state accounting / Member archive
Removing a module loses charge provenance · case 04
Pack removal subtracts module capacity instead of that module inventory.
Case contract
Modules map unique identifiers to [charge,capacity]. Return total remaining charge after removing an existing identifier.
Why this case matters
An explicit synthetic battery bookkeeping model isolates this state-accounting error; it is not an engineering prediction or safety procedure.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| low module | -4 | 32 | 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 ↗