FAILURE MAP
← Case archive

FA-70984 / Weather index computation / Member archive

WBGT heat flag: Fahrenheit conversion · case 04

Every site shows a black flag.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Inputs natural wet bulb, globe and dry bulb in degC and whether the site is in sun. Sun: WBGT = 0.7Tw + 0.2Tg + 0.1Td; shade/indoor: 0.7Tw + 0.3Tg; round to 0.1 degC. Convert the rounded value to degF (x*9/5+32) and flag: <80 white, <85 green, <88 yellow, <90 red, else black.

Why this case matters

Training and work/rest schedules follow the WBGT flag colour.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
Tw 27 Tg 36 Td 32 indoor[29.7, "black"][29.7, "yellow"]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 ↗