{"abstract":"Very shallow events directly under a site produce extreme intensities.","category":"Seismic magnitude estimation","checks":8,"contract":"R = max(hypocentral distance, 1 km). I = 1.45M - 2.46 log10(R) + 1.5, rounded half up to an integer and clamped to 1..12. Return [I, Roman numeral].","evaluation_group":"w2-seismic_magnitude_estimation-mmi-estimate","failed_approach":"Flooring at 10 km understates near-field shaking.","family":"w2-seismic_magnitude_estimation-mmi-estimate-near-field-distance-floor","id":"FA-71671","implementations":{"attempt":{"sha256":"95de08f51734f6bcc151e324f9894692c8518b397b0d13ab5dd6f35bc31434c8","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(mag, epi_km, depth_km):\n    roman = [\"I\", \"II\", \"III\", \"IV\", \"V\", \"VI\", \"VII\", \"VIII\", \"IX\", \"X\", \"XI\", \"XII\"]\n    r = max(math.hypot(epi_km, depth_km), 10.0)\n    i = 1.45 * mag - 2.46 * math.log10(r) + 1.5\n    v = int(math.floor(i + 0.5))\n    v = min(max(v, 1), 12)\n    return [v, roman[v - 1]]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M2.0 at 0 km depth 5', [2.0, 0, 5], [3, 'III']], ['M2.0 at 3 km depth 2', [2.0, 3, 2], [3, 'III']], ['M2.0 at 20 km depth 10', [2.0, 20, 10], [1, 'I']], ['M2.0 at 80 km depth 15', [2.0, 80, 15], [1, 'I']], ['M2.0 at 300 km depth 30', [2.0, 300, 30], [1, 'I']], ['M2.0 at 900 km depth 10', [2.0, 900, 10], [1, 'I']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']], ['M4.5 at 0 km depth 5', [4.5, 0, 5], [6, 'VI']], ['M4.5 at 3 km depth 2', [4.5, 3, 2], [7, 'VII']], ['M4.5 at 20 km depth 10', [4.5, 20, 10], [5, 'V']], ['M4.5 at 80 km depth 15', [4.5, 80, 15], [3, 'III']], ['M4.5 at 300 km depth 30', [4.5, 300, 30], [2, 'II']], ['M6.0 at 3 km depth 2', [6.0, 3, 2], [9, 'IX']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M6.0 at 0 km depth 0.5', [6.0, 0, 0.5], [10, 'X']], ['M6.0 at 0 km depth 5', [6.0, 0, 5], [8, 'VIII']], ['M6.0 at 3 km depth 2', [6.0, 3, 2], [9, 'IX']], ['M6.0 at 20 km depth 10', [6.0, 20, 10], [7, 'VII']], ['M6.0 at 80 km depth 15', [6.0, 80, 15], [5, 'V']], ['M6.0 at 300 km depth 30', [6.0, 300, 30], [4, 'IV']], ['M8.5 at 0 km depth 5', [8.5, 0, 5], [12, 'XII']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']], ['M7.2 at 0 km depth 0.5', [7.2, 0, 0.5], [12, 'XII']], ['M7.2 at 0 km depth 5', [7.2, 0, 5], [10, 'X']], ['M7.2 at 3 km depth 2', [7.2, 3, 2], [11, 'XI']], ['M7.2 at 20 km depth 10', [7.2, 20, 10], [9, 'IX']], ['M7.2 at 80 km depth 15', [7.2, 80, 15], [7, 'VII']], ['M7.2 at 300 km depth 30', [7.2, 300, 30], [6, 'VI']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M7.2 at 0 km depth 5', [7.2, 0, 5], [10, 'X']], ['M8.5 at 0 km depth 0.5', [8.5, 0, 0.5], [12, 'XII']], ['M8.5 at 0 km depth 5', [8.5, 0, 5], [12, 'XII']], ['M8.5 at 3 km depth 2', [8.5, 3, 2], [12, 'XII']], ['M8.5 at 20 km depth 10', [8.5, 20, 10], [11, 'XI']], ['M8.5 at 80 km depth 15', [8.5, 80, 15], [9, 'IX']], ['M8.5 at 300 km depth 30', [8.5, 300, 30], [8, 'VIII']]]]\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":"d40cd5157af5a417d8bc2c429db7b3ae986d5732ef7f5d030d3d62d9caa48944","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(mag, epi_km, depth_km):\n    roman = [\"I\", \"II\", \"III\", \"IV\", \"V\", \"VI\", \"VII\", \"VIII\", \"IX\", \"X\", \"XI\", \"XII\"]\n    r = max(math.hypot(epi_km, depth_km), 0.1)\n    i = 1.45 * mag - 2.46 * math.log10(r) + 1.5\n    v = int(math.floor(i + 0.5))\n    v = min(max(v, 1), 12)\n    return [v, roman[v - 1]]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M2.0 at 0 km depth 5', [2.0, 0, 5], [3, 'III']], ['M2.0 at 3 km depth 2', [2.0, 3, 2], [3, 'III']], ['M2.0 at 20 km depth 10', [2.0, 20, 10], [1, 'I']], ['M2.0 at 80 km depth 15', [2.0, 80, 15], [1, 'I']], ['M2.0 at 300 km depth 30', [2.0, 300, 30], [1, 'I']], ['M2.0 at 900 km depth 10', [2.0, 900, 10], [1, 'I']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']], ['M4.5 at 0 km depth 5', [4.5, 0, 5], [6, 'VI']], ['M4.5 at 3 km depth 2', [4.5, 3, 2], [7, 'VII']], ['M4.5 at 20 km depth 10', [4.5, 20, 10], [5, 'V']], ['M4.5 at 80 km depth 15', [4.5, 80, 15], [3, 'III']], ['M4.5 at 300 km depth 30', [4.5, 300, 30], [2, 'II']], ['M6.0 at 3 km depth 2', [6.0, 3, 2], [9, 'IX']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M6.0 at 0 km depth 0.5', [6.0, 0, 0.5], [10, 'X']], ['M6.0 at 0 km depth 5', [6.0, 0, 5], [8, 'VIII']], ['M6.0 at 3 km depth 2', [6.0, 3, 2], [9, 'IX']], ['M6.0 at 20 km depth 10', [6.0, 20, 10], [7, 'VII']], ['M6.0 at 80 km depth 15', [6.0, 80, 15], [5, 'V']], ['M6.0 at 300 km depth 30', [6.0, 300, 30], [4, 'IV']], ['M8.5 at 0 km depth 5', [8.5, 0, 5], [12, 'XII']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']], ['M7.2 at 0 km depth 0.5', [7.2, 0, 0.5], [12, 'XII']], ['M7.2 at 0 km depth 5', [7.2, 0, 5], [10, 'X']], ['M7.2 at 3 km depth 2', [7.2, 3, 2], [11, 'XI']], ['M7.2 at 20 km depth 10', [7.2, 20, 10], [9, 'IX']], ['M7.2 at 80 km depth 15', [7.2, 80, 15], [7, 'VII']], ['M7.2 at 300 km depth 30', [7.2, 300, 30], [6, 'VI']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M7.2 at 0 km depth 5', [7.2, 0, 5], [10, 'X']], ['M8.5 at 0 km depth 0.5', [8.5, 0, 0.5], [12, 'XII']], ['M8.5 at 0 km depth 5', [8.5, 0, 5], [12, 'XII']], ['M8.5 at 3 km depth 2', [8.5, 3, 2], [12, 'XII']], ['M8.5 at 20 km depth 10', [8.5, 20, 10], [11, 'XI']], ['M8.5 at 80 km depth 15', [8.5, 80, 15], [9, 'IX']], ['M8.5 at 300 km depth 30', [8.5, 300, 30], [8, 'VIII']]]]\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":"6ceaf00828bde8eda03f585508b35875695b4461956824e1447bc2c7364f282f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(mag, epi_km, depth_km):\n    roman = [\"I\", \"II\", \"III\", \"IV\", \"V\", \"VI\", \"VII\", \"VIII\", \"IX\", \"X\", \"XI\", \"XII\"]\n    r = max(math.hypot(epi_km, depth_km), 1.0)\n    i = 1.45 * mag - 2.46 * math.log10(r) + 1.5\n    v = int(math.floor(i + 0.5))\n    v = min(max(v, 1), 12)\n    return [v, roman[v - 1]]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M2.0 at 0 km depth 5', [2.0, 0, 5], [3, 'III']], ['M2.0 at 3 km depth 2', [2.0, 3, 2], [3, 'III']], ['M2.0 at 20 km depth 10', [2.0, 20, 10], [1, 'I']], ['M2.0 at 80 km depth 15', [2.0, 80, 15], [1, 'I']], ['M2.0 at 300 km depth 30', [2.0, 300, 30], [1, 'I']], ['M2.0 at 900 km depth 10', [2.0, 900, 10], [1, 'I']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']], ['M4.5 at 0 km depth 5', [4.5, 0, 5], [6, 'VI']], ['M4.5 at 3 km depth 2', [4.5, 3, 2], [7, 'VII']], ['M4.5 at 20 km depth 10', [4.5, 20, 10], [5, 'V']], ['M4.5 at 80 km depth 15', [4.5, 80, 15], [3, 'III']], ['M4.5 at 300 km depth 30', [4.5, 300, 30], [2, 'II']], ['M6.0 at 3 km depth 2', [6.0, 3, 2], [9, 'IX']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M6.0 at 0 km depth 0.5', [6.0, 0, 0.5], [10, 'X']], ['M6.0 at 0 km depth 5', [6.0, 0, 5], [8, 'VIII']], ['M6.0 at 3 km depth 2', [6.0, 3, 2], [9, 'IX']], ['M6.0 at 20 km depth 10', [6.0, 20, 10], [7, 'VII']], ['M6.0 at 80 km depth 15', [6.0, 80, 15], [5, 'V']], ['M6.0 at 300 km depth 30', [6.0, 300, 30], [4, 'IV']], ['M8.5 at 0 km depth 5', [8.5, 0, 5], [12, 'XII']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M4.5 at 0 km depth 0.5', [4.5, 0, 0.5], [8, 'VIII']], ['M7.2 at 0 km depth 0.5', [7.2, 0, 0.5], [12, 'XII']], ['M7.2 at 0 km depth 5', [7.2, 0, 5], [10, 'X']], ['M7.2 at 3 km depth 2', [7.2, 3, 2], [11, 'XI']], ['M7.2 at 20 km depth 10', [7.2, 20, 10], [9, 'IX']], ['M7.2 at 80 km depth 15', [7.2, 80, 15], [7, 'VII']], ['M7.2 at 300 km depth 30', [7.2, 300, 30], [6, 'VI']]], [['M2.0 at 0 km depth 0.5', [2.0, 0, 0.5], [4, 'IV']], ['M7.2 at 0 km depth 5', [7.2, 0, 5], [10, 'X']], ['M8.5 at 0 km depth 0.5', [8.5, 0, 0.5], [12, 'XII']], ['M8.5 at 0 km depth 5', [8.5, 0, 5], [12, 'XII']], ['M8.5 at 3 km depth 2', [8.5, 3, 2], [12, 'XII']], ['M8.5 at 20 km depth 10', [8.5, 20, 10], [11, 'XI']], ['M8.5 at 80 km depth 15', [8.5, 80, 15], [9, 'IX']], ['M8.5 at 300 km depth 30', [8.5, 300, 30], [8, 'VIII']]]]\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-mmi-estimate-near-field-distance-floor","generated_at":"2026-09-29T14:48:31.720893+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"ShakeMap-style intensity summaries are published as Roman numerals.","repair":"Floor R at 1 km.","root_cause":"The near-field distance floor is 0.1 km instead of 1 km.","sha256":"cfcefd305eb8a62c5eaec12fa4443255864c43e5d041869d9e20b31947b7eedc","title":"Estimated Mercalli intensity: near-field distance floor · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":41.061,"exit_code":1,"observations":[{"actual":[2,"II"],"check":"M2.0 at 0 km depth 0.5","expected":[4,"IV"],"passed":false},{"actual":[2,"II"],"check":"M2.0 at 0 km depth 5","expected":[3,"III"],"passed":false},{"actual":[2,"II"],"check":"M2.0 at 3 km depth 2","expected":[3,"III"],"passed":false},{"actual":[1,"I"],"check":"M2.0 at 20 km depth 10","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 80 km depth 15","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 300 km depth 30","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 900 km depth 10","expected":[1,"I"],"passed":true},{"actual":[6,"VI"],"check":"M4.5 at 0 km depth 0.5","expected":[8,"VIII"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"M2.0 at 0 km depth 0.5\", \"actual\": [2, \"II\"], \"expected\": [4, \"IV\"], \"passed\": false}, {\"check\": \"M2.0 at 0 km depth 5\", \"actual\": [2, \"II\"], \"expected\": [3, \"III\"], \"passed\": false}, {\"check\": \"M2.0 at 3 km depth 2\", \"actual\": [2, \"II\"], \"expected\": [3, \"III\"], \"passed\": false}, {\"check\": \"M2.0 at 20 km depth 10\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 80 km depth 15\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 300 km depth 30\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 900 km depth 10\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M4.5 at 0 km depth 0.5\", \"actual\": [6, \"VI\"], \"expected\": [8, \"VIII\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.654,"exit_code":1,"observations":[{"actual":[5,"V"],"check":"M2.0 at 0 km depth 0.5","expected":[4,"IV"],"passed":false},{"actual":[3,"III"],"check":"M2.0 at 0 km depth 5","expected":[3,"III"],"passed":true},{"actual":[3,"III"],"check":"M2.0 at 3 km depth 2","expected":[3,"III"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 20 km depth 10","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 80 km depth 15","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 300 km depth 30","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 900 km depth 10","expected":[1,"I"],"passed":true},{"actual":[9,"IX"],"check":"M4.5 at 0 km depth 0.5","expected":[8,"VIII"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"M2.0 at 0 km depth 0.5\", \"actual\": [5, \"V\"], \"expected\": [4, \"IV\"], \"passed\": false}, {\"check\": \"M2.0 at 0 km depth 5\", \"actual\": [3, \"III\"], \"expected\": [3, \"III\"], \"passed\": true}, {\"check\": \"M2.0 at 3 km depth 2\", \"actual\": [3, \"III\"], \"expected\": [3, \"III\"], \"passed\": true}, {\"check\": \"M2.0 at 20 km depth 10\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 80 km depth 15\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 300 km depth 30\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 900 km depth 10\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M4.5 at 0 km depth 0.5\", \"actual\": [9, \"IX\"], \"expected\": [8, \"VIII\"], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.888,"exit_code":0,"observations":[{"actual":[4,"IV"],"check":"M2.0 at 0 km depth 0.5","expected":[4,"IV"],"passed":true},{"actual":[3,"III"],"check":"M2.0 at 0 km depth 5","expected":[3,"III"],"passed":true},{"actual":[3,"III"],"check":"M2.0 at 3 km depth 2","expected":[3,"III"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 20 km depth 10","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 80 km depth 15","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 300 km depth 30","expected":[1,"I"],"passed":true},{"actual":[1,"I"],"check":"M2.0 at 900 km depth 10","expected":[1,"I"],"passed":true},{"actual":[8,"VIII"],"check":"M4.5 at 0 km depth 0.5","expected":[8,"VIII"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"M2.0 at 0 km depth 0.5\", \"actual\": [4, \"IV\"], \"expected\": [4, \"IV\"], \"passed\": true}, {\"check\": \"M2.0 at 0 km depth 5\", \"actual\": [3, \"III\"], \"expected\": [3, \"III\"], \"passed\": true}, {\"check\": \"M2.0 at 3 km depth 2\", \"actual\": [3, \"III\"], \"expected\": [3, \"III\"], \"passed\": true}, {\"check\": \"M2.0 at 20 km depth 10\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 80 km depth 15\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 300 km depth 30\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M2.0 at 900 km depth 10\", \"actual\": [1, \"I\"], \"expected\": [1, \"I\"], \"passed\": true}, {\"check\": \"M4.5 at 0 km depth 0.5\", \"actual\": [8, \"VIII\"], \"expected\": [8, \"VIII\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}