{"abstract":"Every CMT Mw is 4.67 units high.","category":"Seismic magnitude estimation","checks":8,"contract":"mt = [Mrr, Mtt, Mpp, Mrt, Mrp, Mtp] mantissas; tensor = mantissa * 10^exponent dyne*cm. M0 = sqrt(sum of all nine squared elements / 2) (off-diagonals appear twice), converted to N*m (1e-7). Mw = 2/3 (log10 M0 - 9.1). Flag \"non-deviatoric\" when |trace| > 0.1 * M0 mantissa norm, else \"deviatoric\". Return [Mw rounded 0.01, flag].","contract_signature":"mt, exponent","evaluation_group":"w2-seismic_magnitude_estimation-moment-tensor-scalar","failed_approach":"Using 1e-5 (dyne to newton only) ignores the cm to m factor.","family":"w2-seismic_magnitude_estimation-moment-tensor-scalar-dyne-cm-to-newton-metre","id":"FA-71746","implementations":{"attempt":{"sha256":"2565818f15f34375d4774399c7049561a71cf91905a652e59ca3bf9a0701c9dd","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(mt, exponent):\n    mrr, mtt, mpp, mrt, mrp, mtp = mt\n    s = mrr ** 2 + mtt ** 2 + mpp ** 2 + 2 * (mrt ** 2 + mrp ** 2 + mtp ** 2)\n    norm = math.sqrt(s / 2)\n    m0 = norm * 10 ** exponent * 1e-5\n    mw = 2.0 / 3.0 * (math.log10(m0) - 9.1)\n    tr = mrr + mtt + mpp\n    flag = \"non-deviatoric\" if abs(tr) > 0.1 * norm else \"deviatoric\"\n    return [round(mw, 2), flag]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['CMT 0', [[1.58, -0.18, -1.4, -0.23, 1.77, 2.88], 24], [5.65, 'deviatoric']], ['CMT 1', [[1.33, 2.91, -4.19, 1.33, -1.96, -1.34], 22], [4.38, 'deviatoric']], ['CMT 2', [[-1.2, 0.01, 1.79, -1.15, 0.15, 2.83], 22], [4.29, 'non-deviatoric']], ['CMT 3', [[1.67, 0.06, -1.73, 1.49, 1.34, -2.67], 22], [4.32, 'deviatoric']], ['CMT 4', [[-1.9, -1.77, 4.27, 0.86, 2.98, 0.36], 22], [4.38, 'non-deviatoric']], ['CMT 5', [[-2.12, 2.5, -0.38, -0.41, -0.33, -2.59], 26], [6.96, 'deviatoric']], ['CMT 6', [[-0.71, 0.51, 0.2, -0.99, 2.74, 2.57], 26], [7.0, 'deviatoric']], ['CMT 7', [[1.65, 1.09, -3.64, 2.79, -1.4, 1.9], 24], [5.71, 'non-deviatoric']]], [['CMT 3', [[1.67, 0.06, -1.73, 1.49, 1.34, -2.67], 22], [4.32, 'deviatoric']], ['CMT 6', [[-0.71, 0.51, 0.2, -0.99, 2.74, 2.57], 26], [7.0, 'deviatoric']], ['CMT 7', [[1.65, 1.09, -3.64, 2.79, -1.4, 1.9], 24], [5.71, 'non-deviatoric']], ['CMT 8', [[1.74, 1.88, -3.62, -0.88, -1.61, -1.39], 22], [4.33, 'deviatoric']], ['CMT 9', [[-0.63, -0.39, 1.02, 1.72, 2.75, -2.36], 24], [5.68, 'deviatoric']], ['CMT 10', [[-2.32, -0.03, 1.45, -0.07, -0.46, -2.98], 26], [6.97, 'non-deviatoric']], ['CMT 11', [[-0.92, -0.76, 2.28, 2.62, -2.3, -1.63], 24], [5.69, 'non-deviatoric']], ['CMT 12', [[-2.44, -0.02, 2.51, 1.65, -2.68, -2.39], 24], [5.71, 'deviatoric']]], [['CMT 6', [[-0.71, 0.51, 0.2, -0.99, 2.74, 2.57], 26], [7.0, 'deviatoric']], ['CMT 11', [[-0.92, -0.76, 2.28, 2.62, -2.3, -1.63], 24], [5.69, 'non-deviatoric']], ['CMT 14', [[2.95, -1.69, -0.66, -1.55, 1.63, -1.39], 22], [4.3, 'non-deviatoric']], ['CMT 15', [[-0.88, -0.92, 1.8, 1.6, 2.66, 2.49], 22], [4.35, 'deviatoric']], ['CMT 16', [[0.43, 0.92, -1.3, -1.94, -0.05, -1.89], 24], [5.58, 'deviatoric']], ['CMT 17', [[-1.85, -0.32, 2.22, -2.09, -2.01, 2.89], 26], [7.04, 'deviatoric']], ['CMT 18', [[-0.42, 0.81, -0.39, 1.33, -2.95, 0.45], 22], [4.28, 'deviatoric']], ['CMT 19', [[-1.94, -1.33, 3.27, 1.63, 1.09, 0.68], 26], [6.96, 'deviatoric']]], [['CMT 9', [[-0.63, -0.39, 1.02, 1.72, 2.75, -2.36], 24], [5.68, 'deviatoric']], ['CMT 16', [[0.43, 0.92, -1.3, -1.94, -0.05, -1.89], 24], [5.58, 'deviatoric']], ['CMT 21', [[2.37, -2.79, 0.47, 2.71, 2.28, 2.18], 22], [4.39, 'deviatoric']], ['CMT 22', [[-0.65, -0.33, 0.98, -2.51, 0.29, 0.8], 22], [4.23, 'deviatoric']], ['CMT 23', [[1.22, -0.52, -0.7, -0.46, 0.42, 1.99], 24], [5.51, 'deviatoric']], ['CMT 24', [[-2.95, 2.42, 0.53, -0.96, 2.79, -0.69], 26], [7.01, 'deviatoric']], ['CMT 25', [[-1.12, 1.62, -1.4, -2.67, 2.0, 2.3], 24], [5.7, 'non-deviatoric']], ['CMT 26', [[-1.51, 2.8, -1.24, -0.74, 2.72, 0.61], 26], [6.98, 'deviatoric']]], [['CMT 12', [[-2.44, -0.02, 2.51, 1.65, -2.68, -2.39], 24], [5.71, 'deviatoric']], ['CMT 21', [[2.37, -2.79, 0.47, 2.71, 2.28, 2.18], 22], [4.39, 'deviatoric']], ['CMT 28', [[-2.3, -0.66, 2.96, 1.1, -2.45, 1.63], 22], [4.34, 'deviatoric']], ['CMT 29', [[-2.07, -1.28, 2.45, 2.72, -1.24, 2.82], 26], [7.05, 'non-deviatoric']], ['CMT 30', [[-1.64, -1.22, 2.86, 1.2, 0.73, -0.28], 26], [6.91, 'deviatoric']], ['CMT 31', [[0.79, 1.24, -2.03, 1.61, -0.68, 0.88], 22], [4.21, 'deviatoric']], ['CMT 32', [[-0.32, -2.12, 3.04, 2.57, 2.1, -2.5], 22], [4.39, 'non-deviatoric']], ['CMT 33', [[-2.75, -0.91, 2.76, 1.11, -2.45, 2.96], 26], [7.06, 'non-deviatoric']]]]\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":"14a33e3f0cfc06e8977e79f3b201bb3e8f23d3a544ce5e1dbf6d448ae600e539","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(mt, exponent):\n    mrr, mtt, mpp, mrt, mrp, mtp = mt\n    s = mrr ** 2 + mtt ** 2 + mpp ** 2 + 2 * (mrt ** 2 + mrp ** 2 + mtp ** 2)\n    norm = math.sqrt(s / 2)\n    m0 = norm * 10 ** exponent\n    mw = 2.0 / 3.0 * (math.log10(m0) - 9.1)\n    tr = mrr + mtt + mpp\n    flag = \"non-deviatoric\" if abs(tr) > 0.1 * norm else \"deviatoric\"\n    return [round(mw, 2), flag]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['CMT 0', [[1.58, -0.18, -1.4, -0.23, 1.77, 2.88], 24], [5.65, 'deviatoric']], ['CMT 1', [[1.33, 2.91, -4.19, 1.33, -1.96, -1.34], 22], [4.38, 'deviatoric']], ['CMT 2', [[-1.2, 0.01, 1.79, -1.15, 0.15, 2.83], 22], [4.29, 'non-deviatoric']], ['CMT 3', [[1.67, 0.06, -1.73, 1.49, 1.34, -2.67], 22], [4.32, 'deviatoric']], ['CMT 4', [[-1.9, -1.77, 4.27, 0.86, 2.98, 0.36], 22], [4.38, 'non-deviatoric']], ['CMT 5', [[-2.12, 2.5, -0.38, -0.41, -0.33, -2.59], 26], [6.96, 'deviatoric']], ['CMT 6', [[-0.71, 0.51, 0.2, -0.99, 2.74, 2.57], 26], [7.0, 'deviatoric']], ['CMT 7', [[1.65, 1.09, -3.64, 2.79, -1.4, 1.9], 24], [5.71, 'non-deviatoric']]], [['CMT 3', [[1.67, 0.06, -1.73, 1.49, 1.34, -2.67], 22], [4.32, 'deviatoric']], ['CMT 6', [[-0.71, 0.51, 0.2, -0.99, 2.74, 2.57], 26], [7.0, 'deviatoric']], ['CMT 7', [[1.65, 1.09, -3.64, 2.79, -1.4, 1.9], 24], [5.71, 'non-deviatoric']], ['CMT 8', [[1.74, 1.88, -3.62, -0.88, -1.61, -1.39], 22], [4.33, 'deviatoric']], ['CMT 9', [[-0.63, -0.39, 1.02, 1.72, 2.75, -2.36], 24], [5.68, 'deviatoric']], ['CMT 10', [[-2.32, -0.03, 1.45, -0.07, -0.46, -2.98], 26], [6.97, 'non-deviatoric']], ['CMT 11', [[-0.92, -0.76, 2.28, 2.62, -2.3, -1.63], 24], [5.69, 'non-deviatoric']], ['CMT 12', [[-2.44, -0.02, 2.51, 1.65, -2.68, -2.39], 24], [5.71, 'deviatoric']]], [['CMT 6', [[-0.71, 0.51, 0.2, -0.99, 2.74, 2.57], 26], [7.0, 'deviatoric']], ['CMT 11', [[-0.92, -0.76, 2.28, 2.62, -2.3, -1.63], 24], [5.69, 'non-deviatoric']], ['CMT 14', [[2.95, -1.69, -0.66, -1.55, 1.63, -1.39], 22], [4.3, 'non-deviatoric']], ['CMT 15', [[-0.88, -0.92, 1.8, 1.6, 2.66, 2.49], 22], [4.35, 'deviatoric']], ['CMT 16', [[0.43, 0.92, -1.3, -1.94, -0.05, -1.89], 24], [5.58, 'deviatoric']], ['CMT 17', [[-1.85, -0.32, 2.22, -2.09, -2.01, 2.89], 26], [7.04, 'deviatoric']], ['CMT 18', [[-0.42, 0.81, -0.39, 1.33, -2.95, 0.45], 22], [4.28, 'deviatoric']], ['CMT 19', [[-1.94, -1.33, 3.27, 1.63, 1.09, 0.68], 26], [6.96, 'deviatoric']]], [['CMT 9', [[-0.63, -0.39, 1.02, 1.72, 2.75, -2.36], 24], [5.68, 'deviatoric']], ['CMT 16', [[0.43, 0.92, -1.3, -1.94, -0.05, -1.89], 24], [5.58, 'deviatoric']], ['CMT 21', [[2.37, -2.79, 0.47, 2.71, 2.28, 2.18], 22], [4.39, 'deviatoric']], ['CMT 22', [[-0.65, -0.33, 0.98, -2.51, 0.29, 0.8], 22], [4.23, 'deviatoric']], ['CMT 23', [[1.22, -0.52, -0.7, -0.46, 0.42, 1.99], 24], [5.51, 'deviatoric']], ['CMT 24', [[-2.95, 2.42, 0.53, -0.96, 2.79, -0.69], 26], [7.01, 'deviatoric']], ['CMT 25', [[-1.12, 1.62, -1.4, -2.67, 2.0, 2.3], 24], [5.7, 'non-deviatoric']], ['CMT 26', [[-1.51, 2.8, -1.24, -0.74, 2.72, 0.61], 26], [6.98, 'deviatoric']]], [['CMT 12', [[-2.44, -0.02, 2.51, 1.65, -2.68, -2.39], 24], [5.71, 'deviatoric']], ['CMT 21', [[2.37, -2.79, 0.47, 2.71, 2.28, 2.18], 22], [4.39, 'deviatoric']], ['CMT 28', [[-2.3, -0.66, 2.96, 1.1, -2.45, 1.63], 22], [4.34, 'deviatoric']], ['CMT 29', [[-2.07, -1.28, 2.45, 2.72, -1.24, 2.82], 26], [7.05, 'non-deviatoric']], ['CMT 30', [[-1.64, -1.22, 2.86, 1.2, 0.73, -0.28], 26], [6.91, 'deviatoric']], ['CMT 31', [[0.79, 1.24, -2.03, 1.61, -0.68, 0.88], 22], [4.21, 'deviatoric']], ['CMT 32', [[-0.32, -2.12, 3.04, 2.57, 2.1, -2.5], 22], [4.39, 'non-deviatoric']], ['CMT 33', [[-2.75, -0.91, 2.76, 1.11, -2.45, 2.96], 26], [7.06, 'non-deviatoric']]]]\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-moment-tensor-scalar-dyne-cm-to-newton-metre","generated_at":"2026-09-29T14:48:32.369084+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Global CMT catalogues report Mw from the scalar moment of the moment tensor.","root_cause":"The dyne*cm tensor is not converted to N*m.","sha256":"6760f96be9512fce6fb3cb9befd1e3717ed5fa2bf8146d7125aaf2b3819b9cde","title":"Scalar moment from moment tensor: dyne-cm to newton-metre · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":37.104,"exit_code":1,"observations":[{"actual":[6.98,"deviatoric"],"check":"CMT 0","expected":[5.65,"deviatoric"],"passed":false},{"actual":[5.71,"deviatoric"],"check":"CMT 1","expected":[4.38,"deviatoric"],"passed":false},{"actual":[5.62,"non-deviatoric"],"check":"CMT 2","expected":[4.29,"non-deviatoric"],"passed":false},{"actual":[5.65,"deviatoric"],"check":"CMT 3","expected":[4.32,"deviatoric"],"passed":false},{"actual":[5.72,"non-deviatoric"],"check":"CMT 4","expected":[4.38,"non-deviatoric"],"passed":false},{"actual":[8.3,"deviatoric"],"check":"CMT 5","expected":[6.96,"deviatoric"],"passed":false},{"actual":[8.33,"deviatoric"],"check":"CMT 6","expected":[7.0,"deviatoric"],"passed":false},{"actual":[7.05,"non-deviatoric"],"check":"CMT 7","expected":[5.71,"non-deviatoric"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"CMT 0\", \"actual\": [6.98, \"deviatoric\"], \"expected\": [5.65, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 1\", \"actual\": [5.71, \"deviatoric\"], \"expected\": [4.38, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 2\", \"actual\": [5.62, \"non-deviatoric\"], \"expected\": [4.29, \"non-deviatoric\"], \"passed\": false}, {\"check\": \"CMT 3\", \"actual\": [5.65, \"deviatoric\"], \"expected\": [4.32, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 4\", \"actual\": [5.72, \"non-deviatoric\"], \"expected\": [4.38, \"non-deviatoric\"], \"passed\": false}, {\"check\": \"CMT 5\", \"actual\": [8.3, \"deviatoric\"], \"expected\": [6.96, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 6\", \"actual\": [8.33, \"deviatoric\"], \"expected\": [7.0, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 7\", \"actual\": [7.05, \"non-deviatoric\"], \"expected\": [5.71, \"non-deviatoric\"], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.821,"exit_code":1,"observations":[{"actual":[10.31,"deviatoric"],"check":"CMT 0","expected":[5.65,"deviatoric"],"passed":false},{"actual":[9.04,"deviatoric"],"check":"CMT 1","expected":[4.38,"deviatoric"],"passed":false},{"actual":[8.96,"non-deviatoric"],"check":"CMT 2","expected":[4.29,"non-deviatoric"],"passed":false},{"actual":[8.98,"deviatoric"],"check":"CMT 3","expected":[4.32,"deviatoric"],"passed":false},{"actual":[9.05,"non-deviatoric"],"check":"CMT 4","expected":[4.38,"non-deviatoric"],"passed":false},{"actual":[11.63,"deviatoric"],"check":"CMT 5","expected":[6.96,"deviatoric"],"passed":false},{"actual":[11.66,"deviatoric"],"check":"CMT 6","expected":[7.0,"deviatoric"],"passed":false},{"actual":[10.38,"non-deviatoric"],"check":"CMT 7","expected":[5.71,"non-deviatoric"],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"CMT 0\", \"actual\": [10.31, \"deviatoric\"], \"expected\": [5.65, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 1\", \"actual\": [9.04, \"deviatoric\"], \"expected\": [4.38, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 2\", \"actual\": [8.96, \"non-deviatoric\"], \"expected\": [4.29, \"non-deviatoric\"], \"passed\": false}, {\"check\": \"CMT 3\", \"actual\": [8.98, \"deviatoric\"], \"expected\": [4.32, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 4\", \"actual\": [9.05, \"non-deviatoric\"], \"expected\": [4.38, \"non-deviatoric\"], \"passed\": false}, {\"check\": \"CMT 5\", \"actual\": [11.63, \"deviatoric\"], \"expected\": [6.96, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 6\", \"actual\": [11.66, \"deviatoric\"], \"expected\": [7.0, \"deviatoric\"], \"passed\": false}, {\"check\": \"CMT 7\", \"actual\": [10.38, \"non-deviatoric\"], \"expected\": [5.71, \"non-deviatoric\"], \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}