{"abstract":"tensor positions use insertion order instead of declared indices.","category":"Checkpoint tensor mapping","checks":6,"contract":"Entries are [name,index]; return names sorted by unique consecutive indices starting at zero, else [].","contract_signature":"entries","evaluation_group":"w3-checkpoint-tensor-mapping-position-table","failed_approach":"Sorting whole records orders by name first and can disagree with indices.","family":"w3-checkpoint-tensor-mapping-position-table","id":"FA-99231","implementations":{"attempt":{"sha256":"adf540375391b08fe05c159dfb42978ce649c3fea4b86dbb7037f88c64e17021","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(entries):\n    return [name for name,index in sorted(entries)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('reverse', solve(*([['a', 1], ['b', 0]],)), ['b', 'a'])\ncheck('natural', solve(*([['a', 0], ['b', 1]],)), ['a', 'b'])\ncheck('gap', solve(*([['a', 0], ['c', 2]],)), [])\ncheck('empty', solve(*([],)), [])\ncheck('duplicate', solve(*([['a', 0], ['b', 0]],)), [])\ncheck('single', solve(*([['z', 0]],)), ['z'])\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":"5c7892de382e0a39d3ae765378cba4d61e68a74602c40abc80b5ec2f9303046d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(entries):\n    return [name for name,index in entries]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('reverse', solve(*([['a', 1], ['b', 0]],)), ['b', 'a'])\ncheck('natural', solve(*([['a', 0], ['b', 1]],)), ['a', 'b'])\ncheck('gap', solve(*([['a', 0], ['c', 2]],)), [])\ncheck('empty', solve(*([],)), [])\ncheck('duplicate', solve(*([['a', 0], ['b', 0]],)), [])\ncheck('single', solve(*([['z', 0]],)), ['z'])\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-position-table","generated_at":"2026-09-30T16:48:21.700749+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":"Input enumeration order is treated as the tensor position contract.","sha256":"be509692cf9a5d06bb13546fc697513c8065e9f66d4f2cd3ef1b8dfa9f7d22ca","title":"Checkpoint mapping: tensor positions use insertion order instead of declared indices · 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":28.515,"exit_code":1,"observations":[{"actual":["a","b"],"check":"reverse","expected":["b","a"],"passed":false},{"actual":["a","b"],"check":"natural","expected":["a","b"],"passed":true},{"actual":["a","c"],"check":"gap","expected":[],"passed":false},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":["a","b"],"check":"duplicate","expected":[],"passed":false},{"actual":["z"],"check":"single","expected":["z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"reverse\", \"actual\": [\"a\", \"b\"], \"expected\": [\"b\", \"a\"], \"passed\": false}, {\"check\": \"natural\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"gap\", \"actual\": [\"a\", \"c\"], \"expected\": [], \"passed\": false}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"duplicate\", \"actual\": [\"a\", \"b\"], \"expected\": [], \"passed\": false}, {\"check\": \"single\", \"actual\": [\"z\"], \"expected\": [\"z\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":27.769,"exit_code":1,"observations":[{"actual":["a","b"],"check":"reverse","expected":["b","a"],"passed":false},{"actual":["a","b"],"check":"natural","expected":["a","b"],"passed":true},{"actual":["a","c"],"check":"gap","expected":[],"passed":false},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":["a","b"],"check":"duplicate","expected":[],"passed":false},{"actual":["z"],"check":"single","expected":["z"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"reverse\", \"actual\": [\"a\", \"b\"], \"expected\": [\"b\", \"a\"], \"passed\": false}, {\"check\": \"natural\", \"actual\": [\"a\", \"b\"], \"expected\": [\"a\", \"b\"], \"passed\": true}, {\"check\": \"gap\", \"actual\": [\"a\", \"c\"], \"expected\": [], \"passed\": false}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"duplicate\", \"actual\": [\"a\", \"b\"], \"expected\": [], \"passed\": false}, {\"check\": \"single\", \"actual\": [\"z\"], \"expected\": [\"z\"], \"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."}}