FA-12273 / Power metering accounting / Member archive
Partial demand blocks compete with complete tariff blocks · case 03
Partial demand blocks compete with complete tariff blocks.
Case contract
Integer samples are equal-duration energy slots grouped into anchored blocks of width k. Return largest complete block energy sum. Ignore trailing partial block; return None if none complete. This models fixed blocks, not rolling windows.
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 |
|---|---|---|---|
| trailing spike excluded | 30 | 6 | 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 ↗