{"abstract":"Extreme router logits bypass the declared score bound.","category":"Mixture of experts dispatch","checks":6,"contract":"For [expert,score] logits clamp score into [-1,1], then return pairs descending by clamped score and expert ID.","contract_signature":"scores","evaluation_group":"moe-bounded-gate-score","failed_approach":"Clamping only the upper tail still lets large negative logits dominate lower bounded scores.","family":"w3-mixture-of-experts-dispatch-gate-logit-clamp","id":"FA-100636","implementations":{"attempt":{"sha256":"d16cbd01929e40c55d831ddf41db1612ca442ad25c288ed6dfc900b5b37a2d90","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(scores):\n    return sorted([(e,min(1,s)) for e,s in scores],key=lambda x:(-x[1],x[0]))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nrows=[('a',N+2),('b',1),('c',-N-2)]\ncheck('upper clamp tie',solve(rows),[('a',1),('b',1),('c',-1)])\ncheck('lower clamp',solve([('a',-N-1),('b',-1)]),[('a',-1),('b',-1)])\ncheck('inside unchanged',solve([('x',0.5),('y',-0.5)]),[('x',0.5),('y',-0.5)])\ncheck('empty',solve([]),[])\ncheck('zero logits',solve([('b',0),('a',0)]),[('a',0),('b',0)])\ncheck('singleton clipped',solve([('q',N+1)]),[('q',1)])\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":"4bb6224d1bbdc0236dd94a30805f9fdb4c701ba0384ccb6a51f3b468b649b1ae","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(scores):\n    return sorted(scores,key=lambda x:(-x[1],x[0]))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nrows=[('a',N+2),('b',1),('c',-N-2)]\ncheck('upper clamp tie',solve(rows),[('a',1),('b',1),('c',-1)])\ncheck('lower clamp',solve([('a',-N-1),('b',-1)]),[('a',-1),('b',-1)])\ncheck('inside unchanged',solve([('x',0.5),('y',-0.5)]),[('x',0.5),('y',-0.5)])\ncheck('empty',solve([]),[])\ncheck('zero logits',solve([('b',0),('a',0)]),[('a',0),('b',0)])\ncheck('singleton clipped',solve([('q',N+1)]),[('q',1)])\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 finite toy scores and routes; the contract does not model a production model, accelerator, or learned routing quality. 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-mixture-of-experts-dispatch-gate-logit-clamp","generated_at":"2026-09-30T16:48:37.646491+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic toy router makes this dispatch decision independently inspectable.","root_cause":"Gate scores are ranked without applying the toy router clipping interval.","sha256":"0686a1cac2fda84977fca7558f088b3c00a5b2e4e015aa91c54d26655bd06724","title":"Extreme router logits bypass the declared score bound · case 01","variant":1,"variant_policy":"The fixture code references N, supplied as 1 through 5. Fixed boundary checks may repeat. These records share one mechanism and must remain together in evaluation splits.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":29.929,"exit_code":1,"observations":[{"actual":[["a",1],["b",1],["c",-3]],"check":"upper clamp tie","expected":[["a",1],["b",1],["c",-1]],"passed":false},{"actual":[["b",-1],["a",-2]],"check":"lower clamp","expected":[["a",-1],["b",-1]],"passed":false},{"actual":[["x",0.5],["y",-0.5]],"check":"inside unchanged","expected":[["x",0.5],["y",-0.5]],"passed":true},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":[["a",0],["b",0]],"check":"zero logits","expected":[["a",0],["b",0]],"passed":true},{"actual":[["q",1]],"check":"singleton clipped","expected":[["q",1]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"upper clamp tie\", \"actual\": [[\"a\", 1], [\"b\", 1], [\"c\", -3]], \"expected\": [[\"a\", 1], [\"b\", 1], [\"c\", -1]], \"passed\": false}, {\"check\": \"lower clamp\", \"actual\": [[\"b\", -1], [\"a\", -2]], \"expected\": [[\"a\", -1], [\"b\", -1]], \"passed\": false}, {\"check\": \"inside unchanged\", \"actual\": [[\"x\", 0.5], [\"y\", -0.5]], \"expected\": [[\"x\", 0.5], [\"y\", -0.5]], \"passed\": true}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero logits\", \"actual\": [[\"a\", 0], [\"b\", 0]], \"expected\": [[\"a\", 0], [\"b\", 0]], \"passed\": true}, {\"check\": \"singleton clipped\", \"actual\": [[\"q\", 1]], \"expected\": [[\"q\", 1]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":28.134,"exit_code":1,"observations":[{"actual":[["a",3],["b",1],["c",-3]],"check":"upper clamp tie","expected":[["a",1],["b",1],["c",-1]],"passed":false},{"actual":[["b",-1],["a",-2]],"check":"lower clamp","expected":[["a",-1],["b",-1]],"passed":false},{"actual":[["x",0.5],["y",-0.5]],"check":"inside unchanged","expected":[["x",0.5],["y",-0.5]],"passed":true},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":[["a",0],["b",0]],"check":"zero logits","expected":[["a",0],["b",0]],"passed":true},{"actual":[["q",2]],"check":"singleton clipped","expected":[["q",1]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"upper clamp tie\", \"actual\": [[\"a\", 3], [\"b\", 1], [\"c\", -3]], \"expected\": [[\"a\", 1], [\"b\", 1], [\"c\", -1]], \"passed\": false}, {\"check\": \"lower clamp\", \"actual\": [[\"b\", -1], [\"a\", -2]], \"expected\": [[\"a\", -1], [\"b\", -1]], \"passed\": false}, {\"check\": \"inside unchanged\", \"actual\": [[\"x\", 0.5], [\"y\", -0.5]], \"expected\": [[\"x\", 0.5], [\"y\", -0.5]], \"passed\": true}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero logits\", \"actual\": [[\"a\", 0], [\"b\", 0]], \"expected\": [[\"a\", 0], [\"b\", 0]], \"passed\": true}, {\"check\": \"singleton clipped\", \"actual\": [[\"q\", 2]], \"expected\": [[\"q\", 1]], \"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."}}