FA-12259 / Power metering accounting / Member archive
An interval end label selects the next tariff period · case 04
An interval end label selects the next tariff period.
Case contract
Rows [end, energy] represent one-slot intervals (end-1,end]. A tariff changes at boundary b: intervals starting below b cost low, others high. Return integer charge; all labels and boundaries are integer slots.
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 |
|---|---|---|---|
| ends at transition | 28 | 8 | 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 ↗