FAILURE MAP
← Case archive

FA-70862 / Weather index computation / Member archive

Heat index regression: simple estimate base offset · case 02

Mild-temperature heat index values are tens of degrees too high.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input dry-bulb temperature in degF and relative humidity in percent. Compute the simple Steadman estimate 0.5*(T+61+1.2*(T-68)+0.094*RH); if the mean of that estimate and T is below 80 return it, otherwise use the Rothfusz regression with the dry adjustment (RH<13, 80<=T<=112) or the humid adjustment (RH>85, 80<=T<=87). Round to 0.1 degF.

Why this case matters

Heat advisories are issued from this value; a wrong branch changes public warnings.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
70F at 12% RH88.967.3Failed

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 ↗