{"abstract":"optional buffers are treated as required parameters.","category":"Checkpoint tensor mapping","checks":6,"contract":"Report missing required names and unexpected incoming names; optional expected names may be absent.","contract_signature":"required, incoming, optional","evaluation_group":"w3-checkpoint-tensor-mapping-optional-buffers","failed_approach":"Ignoring optional names only on the expected side still flags supplied buffers as unexpected.","family":"w3-checkpoint-tensor-mapping-optional-buffers","id":"FA-99176","implementations":{"attempt":{"sha256":"3a26d504c7938666bf28397425e9c3144b915679bbfc8e17438024416b2be0b1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(required, incoming, optional):\n    return (sorted(set(required)-set(incoming)-set(optional)), sorted(set(incoming)-set(required)))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('missing optional', solve(*(['w'], ['w'], ['b'])), ([], []))\ncheck('missing required', solve(*(['w', 'b'], ['b'], [])), (['w'], []))\ncheck('optional incoming', solve(*(['w'], ['w', 'b'], ['b'])), ([], []))\ncheck('extra', solve(*(['w'], ['w', 'x'], [])), ([], ['x']))\ncheck('empty', solve(*([], [], [])), ([], []))\ncheck('optional only absent', solve(*([], [], ['b'])), ([], []))\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":"e5e42307713604aa534d744d70cc3dc1cd6094f71356c0f7f59b5f094cd413ec","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(required, incoming, optional):\n    return (sorted(set(required)-set(incoming)), sorted(set(incoming)-set(required)))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('missing optional', solve(*(['w'], ['w'], ['b'])), ([], []))\ncheck('missing required', solve(*(['w', 'b'], ['b'], [])), (['w'], []))\ncheck('optional incoming', solve(*(['w'], ['w', 'b'], ['b'])), ([], []))\ncheck('extra', solve(*(['w'], ['w', 'x'], [])), ([], ['x']))\ncheck('empty', solve(*([], [], [])), ([], []))\ncheck('optional only absent', solve(*([], [], ['b'])), ([], []))\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-optional-buffers","generated_at":"2026-09-30T16:48:21.242536+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":"Persistent buffers are considered required model weights.","sha256":"09af55feac616eb0559d01aff5875215c98a1e61418c9519b4fb77a0e6b4bedf","title":"Checkpoint mapping: optional buffers are treated as required parameters · 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.443,"exit_code":1,"observations":[{"actual":[[],[]],"check":"missing optional","expected":[[],[]],"passed":true},{"actual":[["w"],[]],"check":"missing required","expected":[["w"],[]],"passed":true},{"actual":[[],["b"]],"check":"optional incoming","expected":[[],[]],"passed":false},{"actual":[[],["x"]],"check":"extra","expected":[[],["x"]],"passed":true},{"actual":[[],[]],"check":"empty","expected":[[],[]],"passed":true},{"actual":[[],[]],"check":"optional only absent","expected":[[],[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"missing optional\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"missing required\", \"actual\": [[\"w\"], []], \"expected\": [[\"w\"], []], \"passed\": true}, {\"check\": \"optional incoming\", \"actual\": [[], [\"b\"]], \"expected\": [[], []], \"passed\": false}, {\"check\": \"extra\", \"actual\": [[], [\"x\"]], \"expected\": [[], [\"x\"]], \"passed\": true}, {\"check\": \"empty\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"optional only absent\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":27.268,"exit_code":1,"observations":[{"actual":[[],[]],"check":"missing optional","expected":[[],[]],"passed":true},{"actual":[["w"],[]],"check":"missing required","expected":[["w"],[]],"passed":true},{"actual":[[],["b"]],"check":"optional incoming","expected":[[],[]],"passed":false},{"actual":[[],["x"]],"check":"extra","expected":[[],["x"]],"passed":true},{"actual":[[],[]],"check":"empty","expected":[[],[]],"passed":true},{"actual":[[],[]],"check":"optional only absent","expected":[[],[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"missing optional\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"missing required\", \"actual\": [[\"w\"], []], \"expected\": [[\"w\"], []], \"passed\": true}, {\"check\": \"optional incoming\", \"actual\": [[], [\"b\"]], \"expected\": [[], []], \"passed\": false}, {\"check\": \"extra\", \"actual\": [[], [\"x\"]], \"expected\": [[], [\"x\"]], \"passed\": true}, {\"check\": \"empty\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"optional only absent\", \"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."}}