{"abstract":"Ecmp selection uses flow identity not packet ordinal.","category":"Network routing","checks":4,"contract":"Bounded offline decision model: ecmp selection uses flow identity not packet ordinal. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.","contract_signature":"flow_hash, paths, ordinal","evaluation_group":"xh-ecmp-selection-uses-flow-identity-not-packet-ordinal","failed_approach":"The attempted repair uses `paths[flow_hash % (len(paths)-1)] if len(paths)>1 else None` and still violates a separate fixture.","family":"xh-ecmp-selection-uses-flow-identity-not-packet-ordinal","id":"FA-7186","implementations":{"attempt":{"sha256":"71f0efda693e98fe18e177f40b4cc1e309b635a6d189ede0f99b88affdd041fa","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(flow_hash, paths, ordinal):\n    return paths[flow_hash % (len(paths)-1)] if len(paths)>1 else None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(3, ['a', 'b'], 0), 'b')\", \"check('fixture 2', solve(2, ['a', 'b'], 1), 'a')\", \"check('fixture 3', solve(0, ['x'], 5), 'x')\", \"check('fixture 4', solve(1, [], 1), None)\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\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":"58532d759f685e999c95f10dee6a1b0f4fd0f5f4b87c6bd41e2fd61305d5934f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport ipaddress\nimport re\nfrom urllib.parse import urlsplit, urljoin\nN = 1\nobservations = []\ndef solve(flow_hash, paths, ordinal):\n    return paths[ordinal % len(paths)] if paths else None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\n_fixtures = [\"check('fixture 1', solve(3, ['a', 'b'], 0), 'b')\", \"check('fixture 2', solve(2, ['a', 'b'], 1), 'a')\", \"check('fixture 3', solve(0, ['x'], 5), 'x')\", \"check('fixture 4', solve(1, [], 1), None)\"]\nfor _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:\n    exec(_line)\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":"Bounded deterministic policy model over validated inputs; not a complete protocol stack or an interoperability claim. The five variants rotate the same explicit fixture set. 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":"xh-ecmp-selection-uses-flow-identity-not-packet-ordinal","generated_at":"2026-09-29T14:38:09.146606+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"This deterministic network routing model isolates the ecmp-selection-uses-flow-identity-not-packet-ordinal policy at a network component boundary.","root_cause":"The faulty implementation uses `paths[ordinal % len(paths)] if paths else None` for the ecmp-selection-uses-flow-identity-not-packet-ordinal decision.","sha256":"3cb7084a27ce8d098aeb7c6bd7ea8f3eec0cc3e670ab32e0af990c74f6b1d799","title":"Ecmp selection uses flow identity not packet ordinal · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":43.134,"exit_code":1,"observations":[{"actual":"a","check":"fixture 2","expected":"a","passed":true},{"actual":null,"check":"fixture 3","expected":"x","passed":false},{"actual":null,"check":"fixture 4","expected":null,"passed":true},{"actual":"a","check":"fixture 1","expected":"b","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"a\", \"expected\": \"a\", \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": null, \"expected\": \"x\", \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"a\", \"expected\": \"b\", \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":47.343,"exit_code":1,"observations":[{"actual":"b","check":"fixture 2","expected":"a","passed":false},{"actual":"x","check":"fixture 3","expected":"x","passed":true},{"actual":null,"check":"fixture 4","expected":null,"passed":true},{"actual":"a","check":"fixture 1","expected":"b","passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 2\", \"actual\": \"b\", \"expected\": \"a\", \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": \"x\", \"expected\": \"x\", \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"fixture 1\", \"actual\": \"a\", \"expected\": \"b\", \"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."}}