{"abstract":"interior marker occurrence is mistaken for shadow suffix.","category":"Checkpoint tensor mapping","checks":6,"contract":"Select names that end exactly with \".ema\" and strip that suffix.","contract_signature":"names","evaluation_group":"w3-checkpoint-tensor-mapping-ema-selection","failed_approach":"Checking only the characters ema also accepts names without the marker separator.","family":"w3-checkpoint-tensor-mapping-ema-selection","id":"FA-99211","implementations":{"attempt":{"sha256":"ba1f7264221c7769fb2e9f65cc2f4408e230494a52a11e942aa7d1b79ea21c54","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(names):\n    return sorted(n[:n.find(\".ema\")] for n in names if n.endswith(\"ema\"))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('interior', solve(*(['layer.ema.weight'],)), [])\ncheck('suffix', solve(*(['layer3.ema'],)), ['layer3'])\ncheck('plain', solve(*(['layer.weight'],)), [])\ncheck('empty', solve(*([],)), [])\ncheck('exact marker', solve(*(['.ema'],)), [''])\ncheck('bare suffix chars', solve(*(['layerema'],)), [])\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":"291940caea902edc9234ddf118fcf21347464479b30d63d41096e9ee222e7eb6","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(names):\n    return sorted(n.replace(\".ema\", \"\") for n in names if \".ema\" in n)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('interior', solve(*(['layer.ema.weight'],)), [])\ncheck('suffix', solve(*(['layer3.ema'],)), ['layer3'])\ncheck('plain', solve(*(['layer.weight'],)), [])\ncheck('empty', solve(*([],)), [])\ncheck('exact marker', solve(*(['.ema'],)), [''])\ncheck('bare suffix chars', solve(*(['layerema'],)), [])\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":"Inputs are already decoded Python values; this toy contract makes no claim about a framework, file format, or production checkpoint. 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":"w3-checkpoint-tensor-mapping-ema-selection","generated_at":"2026-09-30T16:48:21.699305+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A bounded offline model of checkpoint tensor bookkeeping in a training workflow.","root_cause":"Any occurrence is mistaken for a terminal shadow marker.","sha256":"7f6bc113f264fe69b0349d4eeefc36ab79a5d5dea1b2c39dbfdb89df2fb06dc9","title":"Checkpoint mapping: interior marker occurrence is mistaken for shadow suffix · case 01","variant":1,"variant_policy":"The same explicitly authored fixtures repeat across all five numbered records; runtime N is unused. These records share one mechanism and must remain together in evaluation splits.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":29.261,"exit_code":1,"observations":[{"actual":[],"check":"interior","expected":[],"passed":true},{"actual":["layer3"],"check":"suffix","expected":["layer3"],"passed":true},{"actual":[],"check":"plain","expected":[],"passed":true},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":[""],"check":"exact marker","expected":[""],"passed":true},{"actual":["layerem"],"check":"bare suffix chars","expected":[],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"interior\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"suffix\", \"actual\": [\"layer3\"], \"expected\": [\"layer3\"], \"passed\": true}, {\"check\": \"plain\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"exact marker\", \"actual\": [\"\"], \"expected\": [\"\"], \"passed\": true}, {\"check\": \"bare suffix chars\", \"actual\": [\"layerem\"], \"expected\": [], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":29.421,"exit_code":1,"observations":[{"actual":["layer.weight"],"check":"interior","expected":[],"passed":false},{"actual":["layer3"],"check":"suffix","expected":["layer3"],"passed":true},{"actual":[],"check":"plain","expected":[],"passed":true},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":[""],"check":"exact marker","expected":[""],"passed":true},{"actual":[],"check":"bare suffix chars","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"interior\", \"actual\": [\"layer.weight\"], \"expected\": [], \"passed\": false}, {\"check\": \"suffix\", \"actual\": [\"layer3\"], \"expected\": [\"layer3\"], \"passed\": true}, {\"check\": \"plain\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"exact marker\", \"actual\": [\"\"], \"expected\": [\"\"], \"passed\": true}, {\"check\": \"bare suffix chars\", \"actual\": [], \"expected\": [], \"passed\": true}], \"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."}}