FA-71323 / Weather index computation / Member archive
Excess heat factor heatwave days: positive EHF test · case 03
Days warmer than last week but below the threshold are reported.
Case contract
temps are daily mean degC. For each day i with 6 prior days and 2 following days: m3 = mean of days i..i+2, prior = mean of days i-6..i-1, EHIsig = m3 - t95, EHIaccl = m3 - prior, EHF = EHIsig * max(1, EHIaccl). Return [[i, EHF rounded 0.01]] for days with EHF > 0.
Why this case matters
Heat-health warning systems trigger on positive excess heat factor.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| city 8 | [] | [[6, 4.0], [7, 3.0], [8, 2.33], [9, 2.67]] | 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 ↗