{"abstract":"Local events almost never report ML.","category":"Seismic magnitude estimation","checks":8,"contract":"mags maps type to value (any value including 0 or negative is valid when the key is present). Choose in order: Mw; if depth > 70 km then mb; Ms if Ms >= 5.5; ML if delta <= 5 degrees; mb; Md; else None. Return [type, value].","evaluation_group":"w2-seismic_magnitude_estimation-preferred-magnitude","failed_approach":"Making the limit exclusive drops stations at exactly 5 degrees.","family":"w2-seismic_magnitude_estimation-preferred-magnitude-local-distance-limit","id":"FA-71601","implementations":{"attempt":{"sha256":"e84798803689bdeb352ef858e0afc2329b6032dcaaacf1f3978a4a3a594ab810","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(mags, depth_km, delta_deg):\n    if \"Mw\" in mags:\n        return [\"Mw\", mags[\"Mw\"]]\n    if depth_km > 70 and \"mb\" in mags:\n        return [\"mb\", mags[\"mb\"]]\n    if \"Ms\" in mags and mags[\"Ms\"] >= 5.5:\n        return [\"Ms\", mags[\"Ms\"]]\n    if delta_deg < 5 and \"ML\" in mags:\n        return [\"ML\", mags[\"ML\"]]\n    for t in (\"mb\", \"Md\"):\n        if t in mags:\n            return [t, mags[t]]\n    return None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[[\"['Ms', 'Mw', 'mb'] depth 10 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 5.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 70 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 70 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 5.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 1.0], ['ML', 5.1]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 70, 5.0], ['ML', 5.1]]], [[\"['Ms', 'Mw', 'mb'] depth 70 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 5.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 300 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 1.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 70, 5.0], ['ML', 5.1]], [\"['ML', 'Md'] depth 10 delta 5.0\", [{'ML': -0.4, 'Md': 0.1}, 10, 5.0], ['ML', -0.4]]], [[\"['Ms', 'Mw', 'mb'] depth 300 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 300 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 30.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 1.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 5.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 5.5], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 30.0], ['Ms', 5.5]], [\"['ML', 'Md'] depth 70 delta 1.0\", [{'ML': 0.0, 'Md': 0.3}, 70, 1.0], ['ML', 0.0]], [\"['ML', 'mb'] depth 70 delta 5.0\", [{'ML': 3.2, 'mb': 3.9}, 70, 5.0], ['ML', 3.2]]], [[\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 5.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 5.5], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 70 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 30.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 71 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 1.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 5.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 5.5], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 30.0], ['mb', 5.2]], [\"['ML', 'Md'] depth 71 delta 5.0\", [{'ML': 0.0, 'Md': 0.3}, 71, 5.0], ['ML', 0.0]]], [[\"['ML', 'Ms', 'mb'] depth 300 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 1.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 5.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 5.5], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 30.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 1.0], ['ML', 5.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 5.0], ['ML', 5.1]], [\"['ML', 'Md'] depth 10 delta 1.0\", [{'ML': -0.4, 'Md': 0.1}, 10, 1.0], ['ML', -0.4]], [\"['ML', 'Md'] depth 300 delta 5.0\", [{'ML': -0.4, 'Md': 0.1}, 300, 5.0], ['ML', -0.4]]]]\nfor label, args, expected in fixtures[N - 1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"4d01081bb61d53a072e7ec66a543622ddec0ba4857b17aa54e04783d8b74cd6b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(mags, depth_km, delta_deg):\n    if \"Mw\" in mags:\n        return [\"Mw\", mags[\"Mw\"]]\n    if depth_km > 70 and \"mb\" in mags:\n        return [\"mb\", mags[\"mb\"]]\n    if \"Ms\" in mags and mags[\"Ms\"] >= 5.5:\n        return [\"Ms\", mags[\"Ms\"]]\n    if delta_deg * 111.19 <= 5 and \"ML\" in mags:\n        return [\"ML\", mags[\"ML\"]]\n    for t in (\"mb\", \"Md\"):\n        if t in mags:\n            return [t, mags[t]]\n    return None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[[\"['Ms', 'Mw', 'mb'] depth 10 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 5.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 70 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 70 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 5.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 1.0], ['ML', 5.1]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 70, 5.0], ['ML', 5.1]]], [[\"['Ms', 'Mw', 'mb'] depth 70 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 5.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 300 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 1.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 70, 5.0], ['ML', 5.1]], [\"['ML', 'Md'] depth 10 delta 5.0\", [{'ML': -0.4, 'Md': 0.1}, 10, 5.0], ['ML', -0.4]]], [[\"['Ms', 'Mw', 'mb'] depth 300 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 300 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 30.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 1.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 5.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 5.5], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 30.0], ['Ms', 5.5]], [\"['ML', 'Md'] depth 70 delta 1.0\", [{'ML': 0.0, 'Md': 0.3}, 70, 1.0], ['ML', 0.0]], [\"['ML', 'mb'] depth 70 delta 5.0\", [{'ML': 3.2, 'mb': 3.9}, 70, 5.0], ['ML', 3.2]]], [[\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 5.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 5.5], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 70 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 30.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 71 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 1.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 5.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 5.5], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 30.0], ['mb', 5.2]], [\"['ML', 'Md'] depth 71 delta 5.0\", [{'ML': 0.0, 'Md': 0.3}, 71, 5.0], ['ML', 0.0]]], [[\"['ML', 'Ms', 'mb'] depth 300 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 1.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 5.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 5.5], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 30.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 1.0], ['ML', 5.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 5.0], ['ML', 5.1]], [\"['ML', 'Md'] depth 10 delta 1.0\", [{'ML': -0.4, 'Md': 0.1}, 10, 1.0], ['ML', -0.4]], [\"['ML', 'Md'] depth 300 delta 5.0\", [{'ML': -0.4, 'Md': 0.1}, 300, 5.0], ['ML', -0.4]]]]\nfor label, args, expected in fixtures[N - 1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"3c323675524b7d52d26e702536a3140fe6bdf02662db26b6dbf3fc9c026607b3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(mags, depth_km, delta_deg):\n    if \"Mw\" in mags:\n        return [\"Mw\", mags[\"Mw\"]]\n    if depth_km > 70 and \"mb\" in mags:\n        return [\"mb\", mags[\"mb\"]]\n    if \"Ms\" in mags and mags[\"Ms\"] >= 5.5:\n        return [\"Ms\", mags[\"Ms\"]]\n    if delta_deg <= 5 and \"ML\" in mags:\n        return [\"ML\", mags[\"ML\"]]\n    for t in (\"mb\", \"Md\"):\n        if t in mags:\n            return [t, mags[t]]\n    return None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[[\"['Ms', 'Mw', 'mb'] depth 10 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 5.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 10 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 10, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 70 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 70 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 5.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 1.0], ['ML', 5.1]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 70, 5.0], ['ML', 5.1]]], [[\"['Ms', 'Mw', 'mb'] depth 70 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 70, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 1.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 5.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 5.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 71 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 71, 30.0], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 300 delta 1.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 1.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 70, 5.0], ['ML', 5.1]], [\"['ML', 'Md'] depth 10 delta 5.0\", [{'ML': -0.4, 'Md': 0.1}, 10, 5.0], ['ML', -0.4]]], [[\"['Ms', 'Mw', 'mb'] depth 300 delta 5.5\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 5.5], ['Mw', 6.1]], [\"['Ms', 'Mw', 'mb'] depth 300 delta 30.0\", [{'Mw': 6.1, 'Ms': 6.3, 'mb': 5.9}, 300, 30.0], ['Mw', 6.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 1.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 5.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 5.5], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 10 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 10, 30.0], ['Ms', 5.5]], [\"['ML', 'Md'] depth 70 delta 1.0\", [{'ML': 0.0, 'Md': 0.3}, 70, 1.0], ['ML', 0.0]], [\"['ML', 'mb'] depth 70 delta 5.0\", [{'ML': 3.2, 'mb': 3.9}, 70, 5.0], ['ML', 3.2]]], [[\"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 5.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 70 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 5.5], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 70 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 70, 30.0], ['Ms', 5.5]], [\"['ML', 'Ms', 'mb'] depth 71 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 1.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 5.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 5.5], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 71 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 71, 30.0], ['mb', 5.2]], [\"['ML', 'Md'] depth 71 delta 5.0\", [{'ML': 0.0, 'Md': 0.3}, 71, 5.0], ['ML', 0.0]]], [[\"['ML', 'Ms', 'mb'] depth 300 delta 1.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 1.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 5.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 5.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 5.5\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 5.5], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 300 delta 30.0\", [{'Ms': 5.5, 'mb': 5.2, 'ML': 5.4}, 300, 30.0], ['mb', 5.2]], [\"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 1.0], ['ML', 5.1]], [\"['ML', 'Ms', 'mb'] depth 10 delta 5.0\", [{'Ms': 5.4, 'ML': 5.1, 'mb': 5.0}, 10, 5.0], ['ML', 5.1]], [\"['ML', 'Md'] depth 10 delta 1.0\", [{'ML': -0.4, 'Md': 0.1}, 10, 1.0], ['ML', -0.4]], [\"['ML', 'Md'] depth 300 delta 5.0\", [{'ML': -0.4, 'Md': 0.1}, 300, 5.0], ['ML', -0.4]]]]\nfor label, args, expected in fixtures[N - 1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"Stipulated deterministic teaching model of a seismological magnitude procedure; constants and tables are fixed by the contract and no claim of agency or standards conformance is made. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w2-seismic_magnitude_estimation-preferred-magnitude-local-distance-limit","generated_at":"2026-09-29T14:48:31.093975+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Catalogues publish one preferred magnitude chosen by a fixed authority ladder.","repair":"Compare delta in degrees with 5.","root_cause":"The regional distance limit in degrees is compared after converting to km.","sha256":"3ec15c349d72121ed97eba7057bfd198c2067c7f93334a7aca47c2155db15b9e","title":"Preferred magnitude selection: local distance limit · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.484,"exit_code":1,"observations":[{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 1.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 5.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 5.5","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 30.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 70 delta 1.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 70 delta 5.0","expected":["Mw",6.1],"passed":true},{"actual":["ML",5.1],"check":"['ML', 'Ms', 'mb'] depth 10 delta 1.0","expected":["ML",5.1],"passed":true},{"actual":["mb",5.0],"check":"['ML', 'Ms', 'mb'] depth 70 delta 5.0","expected":["ML",5.1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 1.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 5.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 5.5\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 30.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 70 delta 1.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 70 delta 5.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", \"actual\": [\"ML\", 5.1], \"expected\": [\"ML\", 5.1], \"passed\": true}, {\"check\": \"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", \"actual\": [\"mb\", 5.0], \"expected\": [\"ML\", 5.1], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.203,"exit_code":1,"observations":[{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 1.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 5.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 5.5","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 30.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 70 delta 1.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 70 delta 5.0","expected":["Mw",6.1],"passed":true},{"actual":["mb",5.0],"check":"['ML', 'Ms', 'mb'] depth 10 delta 1.0","expected":["ML",5.1],"passed":false},{"actual":["mb",5.0],"check":"['ML', 'Ms', 'mb'] depth 70 delta 5.0","expected":["ML",5.1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 1.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 5.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 5.5\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 30.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 70 delta 1.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 70 delta 5.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", \"actual\": [\"mb\", 5.0], \"expected\": [\"ML\", 5.1], \"passed\": false}, {\"check\": \"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", \"actual\": [\"mb\", 5.0], \"expected\": [\"ML\", 5.1], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":38.624,"exit_code":0,"observations":[{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 1.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 5.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 5.5","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 10 delta 30.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 70 delta 1.0","expected":["Mw",6.1],"passed":true},{"actual":["Mw",6.1],"check":"['Ms', 'Mw', 'mb'] depth 70 delta 5.0","expected":["Mw",6.1],"passed":true},{"actual":["ML",5.1],"check":"['ML', 'Ms', 'mb'] depth 10 delta 1.0","expected":["ML",5.1],"passed":true},{"actual":["ML",5.1],"check":"['ML', 'Ms', 'mb'] depth 70 delta 5.0","expected":["ML",5.1],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 1.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 5.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 5.5\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 10 delta 30.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 70 delta 1.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['Ms', 'Mw', 'mb'] depth 70 delta 5.0\", \"actual\": [\"Mw\", 6.1], \"expected\": [\"Mw\", 6.1], \"passed\": true}, {\"check\": \"['ML', 'Ms', 'mb'] depth 10 delta 1.0\", \"actual\": [\"ML\", 5.1], \"expected\": [\"ML\", 5.1], \"passed\": true}, {\"check\": \"['ML', 'Ms', 'mb'] depth 70 delta 5.0\", \"actual\": [\"ML\", 5.1], \"expected\": [\"ML\", 5.1], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}