{"abstract":"Router scores are paired with the wrong expert IDs.","category":"Mixture of experts dispatch","checks":6,"contract":"Given expert_names and score vector of equal length, return (name,score) pairs in input index order.","contract_signature":"expert_names,scores","evaluation_group":"model-84ea5ed5317a8cf4","failed_approach":"Sorting the scores preserves their ranking but still corrupts the name-to-score association.","family":"w3-mixture-of-experts-dispatch-expert-index-map","id":"FA-100606","implementations":{"attempt":{"sha256":"a1fcce2f139756352efb0da124ff2eab18b46614fa73847547c7a2c2dbb500d4","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(expert_names,scores):\n    return list(zip(expert_names,sorted(scores,reverse=True)))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nnames=['z'+str(N),'a'+str(N),'m'+str(N)]; vals=[N,2*N,3*N]\ncheck('index association',solve(names,vals),[[names[0],N],[names[1],2*N],[names[2],3*N]])\ncheck('singleton',solve(['x'],[N]),[['x',N]])\ncheck('empty',solve([],[]),[])\ncheck('zero scores',solve(['b','a'],[0,0]),[['b',0],['a',0]])\ncheck('negative',solve(['x','y'],[-N,N]),[['x',-N],['y',N]])\ncheck('order retained',solve(['c','a','b'],[3,1,2]),[['c',3],['a',1],['b',2]])\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":"86958edff86a77d13d64c5da39c709dbcafd0da338cc6f2524b06dbabe419b82","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(expert_names,scores):\n    return list(zip(sorted(expert_names),scores))\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nnames=['z'+str(N),'a'+str(N),'m'+str(N)]; vals=[N,2*N,3*N]\ncheck('index association',solve(names,vals),[[names[0],N],[names[1],2*N],[names[2],3*N]])\ncheck('singleton',solve(['x'],[N]),[['x',N]])\ncheck('empty',solve([],[]),[])\ncheck('zero scores',solve(['b','a'],[0,0]),[['b',0],['a',0]])\ncheck('negative',solve(['x','y'],[-N,N]),[['x',-N],['y',N]])\ncheck('order retained',solve(['c','a','b'],[3,1,2]),[['c',3],['a',1],['b',2]])\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-expert-index-map","generated_at":"2026-09-30T16:48:37.646403+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":"Sorting the expert names independently detaches them from their score-vector positions.","sha256":"18affddfd481e5ae4958b79a688953060fa64fcd134515bffaa58dbbef16bee6","title":"Router scores are paired with the wrong expert IDs · 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.885,"exit_code":1,"observations":[{"actual":[["z1",3],["a1",2],["m1",1]],"check":"index association","expected":[["z1",1],["a1",2],["m1",3]],"passed":false},{"actual":[["x",1]],"check":"singleton","expected":[["x",1]],"passed":false},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":[["b",0],["a",0]],"check":"zero scores","expected":[["b",0],["a",0]],"passed":false},{"actual":[["x",1],["y",-1]],"check":"negative","expected":[["x",-1],["y",1]],"passed":false},{"actual":[["c",3],["a",2],["b",1]],"check":"order retained","expected":[["c",3],["a",1],["b",2]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"index association\", \"actual\": [[\"z1\", 3], [\"a1\", 2], [\"m1\", 1]], \"expected\": [[\"z1\", 1], [\"a1\", 2], [\"m1\", 3]], \"passed\": false}, {\"check\": \"singleton\", \"actual\": [[\"x\", 1]], \"expected\": [[\"x\", 1]], \"passed\": false}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero scores\", \"actual\": [[\"b\", 0], [\"a\", 0]], \"expected\": [[\"b\", 0], [\"a\", 0]], \"passed\": false}, {\"check\": \"negative\", \"actual\": [[\"x\", 1], [\"y\", -1]], \"expected\": [[\"x\", -1], [\"y\", 1]], \"passed\": false}, {\"check\": \"order retained\", \"actual\": [[\"c\", 3], [\"a\", 2], [\"b\", 1]], \"expected\": [[\"c\", 3], [\"a\", 1], [\"b\", 2]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":28.81,"exit_code":1,"observations":[{"actual":[["a1",1],["m1",2],["z1",3]],"check":"index association","expected":[["z1",1],["a1",2],["m1",3]],"passed":false},{"actual":[["x",1]],"check":"singleton","expected":[["x",1]],"passed":false},{"actual":[],"check":"empty","expected":[],"passed":true},{"actual":[["a",0],["b",0]],"check":"zero scores","expected":[["b",0],["a",0]],"passed":false},{"actual":[["x",-1],["y",1]],"check":"negative","expected":[["x",-1],["y",1]],"passed":false},{"actual":[["a",3],["b",1],["c",2]],"check":"order retained","expected":[["c",3],["a",1],["b",2]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"index association\", \"actual\": [[\"a1\", 1], [\"m1\", 2], [\"z1\", 3]], \"expected\": [[\"z1\", 1], [\"a1\", 2], [\"m1\", 3]], \"passed\": false}, {\"check\": \"singleton\", \"actual\": [[\"x\", 1]], \"expected\": [[\"x\", 1]], \"passed\": false}, {\"check\": \"empty\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"zero scores\", \"actual\": [[\"a\", 0], [\"b\", 0]], \"expected\": [[\"b\", 0], [\"a\", 0]], \"passed\": false}, {\"check\": \"negative\", \"actual\": [[\"x\", -1], [\"y\", 1]], \"expected\": [[\"x\", -1], [\"y\", 1]], \"passed\": false}, {\"check\": \"order retained\", \"actual\": [[\"a\", 3], [\"b\", 1], [\"c\", 2]], \"expected\": [[\"c\", 3], [\"a\", 1], [\"b\", 2]], \"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."}}