FAILURE MAP
← Case archive

FA-71543 / Seismic magnitude estimation / Member archive

Epicentral distance and station selection: tie ordering · case 03

Station lists are alphabetical instead of nearest first.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

event [lat, lon] and stations [code, lat, lon] in degrees. Haversine distance with R = 6371 km. Keep stations within 600 km inclusive. Return [[code, km rounded 0.1, degrees rounded 0.001]] sorted by distance then code.

Why this case matters

Local magnitude and location use only stations in the calibrated distance range.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
network 14[["S01", 193.7, 1.742], ["S02", 516.1, 4.641], ["S03", 502.1, 4.515]][["S01", 193.7, 1.742], ["S03", 502.1, 4.515], ["S02", 516.1, 4.641]]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 ↗