FAILURE MAP
← Case archive

FA-71312 / Weather index computation / Member archive

Excess heat factor heatwave days: acclimatisation floor · case 02

A cool spell after a hot week turns negative significance into a positive EHF.

Member previewVariant 2 · 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 3[][[6, 2.67], [7, 3.0], [8, 3.0], [9, 1.33]]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 ↗