FA-65654 / Ecological population dynamics / Member archive
Insect degree-day accumulation with horizontal cutoff: minimum substitution · case 04
Cold nights subtract development accumulated during the day.
Case contract
Daily max is capped at upper; daily min is raised to base and capped at upper; DD = max(0, mean - base); emergence day is the first 1-based day with cumulative DD >= target; return [cumulative rounded 2, day or None]; None when upper <= base.
Why this case matters
Population projections set harvest quotas, conservation status and pest-control timing; a wrong update order, boundary or rate conversion silently changes management advice.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: spring warming codling moth | [[0.0, 2.0, 6.0, 13.0, 22.0, 34.0], 5] | [[2.5, 6.5, 11.5, 18.5, 27.5, 39.5], 5] | 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 ↗