FAILURE MAP
← Case archive

FA-71305 / Weather index computation / Member archive

Excess heat factor heatwave days: significance window · case 05

Heatwaves are flagged a day before the hot three-day window starts.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

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 fixture

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

Boundary fixtureActualExpectedOutcome
city 1[[6, 1.67], [7, 4.0], [8, 13.72], [9, 4.67]][[6, 4.0], [7, 10.56], [8, 4.67], [9, 3.0]]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 ↗