FAILURE MAP
← Case archive

FA-12282 / Power metering accounting / Member archive

Expired export-credit lots reduce current import charges · case 02

Expired export-credit lots reduce current import charges.

Member previewVariant 2 · 3 implementations · 6 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
expired credit[0, []][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 ↗