FA-12285 / Power metering accounting / Member archive
Expired export-credit lots reduce current import charges · case 05
Expired export-credit lots reduce current import charges.
Case contract
Lots [expiry_period, energy] are export credits. At billing period p, keep only expiry>=p, consume oldest-expiring lots first against nonnegative import need, and return [uncovered need, remaining energy by ascending expiry]. Expired lots vanish; zero remainders are omitted.
Why this case matters
Meter settlement depends on explicit register and tariff policies; this controlled model makes that policy observable.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| expired credit | [0, []] | [5, []] | 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 ↗