FAILURE MAP
← Case archive

FA-71767 / Seismic magnitude estimation / Member archive

Station magnitude correction update: minimum residual count · case 02

Stations with exactly the minimum number of residuals get no correction.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

events are [station, station magnitude, network magnitude]. Residual = station - network; residuals with |r| > 1.0 are discarded (exactly 1.0 kept). A station with at least min_n kept residuals gets correction = -mean(kept) rounded 0.01, otherwise 0.0. Return [[station, correction, kept count]] sorted by station.

Why this case matters

Station corrections remove site amplification bias from future station magnitudes.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
update 11[["ABC", 0.0, 1], ["DEF", 0.0, 2], ["GHI", 0.0, 1], ["JKL", 0.0, 3]][["ABC", 0.0, 1], ["DEF", 0.0, 2], ["GHI", 0.0, 1], ["JKL", 0.1, 3]]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 ↗