FAILURE MAP
← Case archive

FA-71010 / Weather index computation / Member archive

Modified growing degree days with biofix: maximum temperature floor · case 05

Cold days produce negative degree days even though tmin is floored.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

days are [day_of_year, tmax_F, tmin_F]; only days with day_of_year >= biofix count. Each day clamps tmax to at most 86 and at least 50, tmin to at least 50 and at most 86, and adds (tmax+tmin)/2 - 50. Return [total rounded to 0.1, number of counted days].

Why this case matters

Pest spray timing and crop stage models accumulate GDD from a biofix date.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
season 0 biofix 91[74.5, 7][80.0, 7]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 ↗