FA-71630 / Seismic magnitude estimation / Member archive
Omori-Utsu expected aftershock count: empty window rejection · case 05
A zero-length window returns a zero forecast instead of None.
Case contract
Rate K/(t+c)^p aftershocks per day. Expected count on [t1, t2] days: for p == 1 (within 1e-12) K ln((t2+c)/(t1+c)); otherwise K((t1+c)^(1-p) - (t2+c)^(1-p))/(p-1). t1 < 0 or t2 <= t1 returns None. Round to 0.001.
Why this case matters
Aftershock forecasts integrate the Omori-Utsu rate over the forecast window.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| K 50.0 c 0.05 p 0.8 window 0.0-0.0 d | -0.0 | null | 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 ↗