{"abstract":"A transferred ranking stops at another eliminated candidate.","category":"Voting rule computation","checks":6,"contract":"For a unique ranking and active candidate set, return first active candidate or None.","evaluation_group":"model-d3cf215d1d12abbd","failed_approach":"Skipping exactly one rank still stops before the next active preference.","family":"z-voting_rules-transfer-skip","id":"FA-12756","implementations":{"attempt":{"sha256":"0a27ba936466dcb802783b465eaa6a74a57a658dec3d91e0a20ce291d633de86","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(ranking, active):\n    r = ranking if ranking and ranking[0] in active else ranking[1:]\n    return r[0] if r and r[0] in active else None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('skip multiple eliminated candidates', solve(list(range(N+3)),[N+2]), N+2)\ncheck('first active remains', solve([0,1,2],[0,2]), 0)\ncheck('one eliminated', solve([0,1],[1]), 1)\ncheck('all eliminated', solve([0,1],[]), None)\ncheck('empty ranking', solve([],[0]), None)\ncheck('active order irrelevant', solve([2,1,0],[0,1]), 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":"ab8197381c4c57359dbe7c1e76ca97b29f5f77c3bde2b2c8b1161750fb751a2e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(ranking, active):\n    return ranking[0] if ranking and ranking[0] in active else None\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('skip multiple eliminated candidates', solve(list(range(N+3)),[N+2]), N+2)\ncheck('first active remains', solve([0,1,2],[0,2]), 0)\ncheck('one eliminated', solve([0,1],[1]), 1)\ncheck('all eliminated', solve([0,1],[]), None)\ncheck('empty ranking', solve([],[0]), None)\ncheck('active order irrelevant', solve([2,1,0],[0,1]), 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"},"fixed":{"sha256":"e0b9fef46c259f31c4e7cae54fcc66ff9707eb456dea8099bffa2c44bb3a0c9c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(ranking, active):\n    return next((c for c in ranking if c in active), None)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('skip multiple eliminated candidates', solve(list(range(N+3)),[N+2]), N+2)\ncheck('first active remains', solve([0,1,2],[0,2]), 0)\ncheck('one eliminated', solve([0,1],[1]), 1)\ncheck('all eliminated', solve([0,1],[]), None)\ncheck('empty ranking', solve([],[0]), None)\ncheck('active order irrelevant', solve([2,1,0],[0,1]), 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":"Abstract counting rules only; excludes jurisdictional law, ballot authentication and election operations. 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":"z-voting_rules-transfer-skip","generated_at":"2026-09-29T14:38:59.879825+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic toy ballot model makes the stated counting convention executable.","repair":"Find the first candidate still active, otherwise exhaust the ballot.","root_cause":"Only the first rank is inspected.","sha256":"e5cfa04132b505dda8936b813c4ea6747aba82b452030867b22e055a357bb226","title":"A transferred ranking stops at another eliminated candidate · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.861,"exit_code":1,"observations":[{"actual":null,"check":"skip multiple eliminated candidates","expected":3,"passed":false},{"actual":0,"check":"first active remains","expected":0,"passed":true},{"actual":1,"check":"one eliminated","expected":1,"passed":true},{"actual":null,"check":"all eliminated","expected":null,"passed":true},{"actual":null,"check":"empty ranking","expected":null,"passed":true},{"actual":1,"check":"active order irrelevant","expected":1,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"skip multiple eliminated candidates\", \"actual\": null, \"expected\": 3, \"passed\": false}, {\"check\": \"first active remains\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"one eliminated\", \"actual\": 1, \"expected\": 1, \"passed\": true}, {\"check\": \"all eliminated\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty ranking\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"active order irrelevant\", \"actual\": 1, \"expected\": 1, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.567,"exit_code":1,"observations":[{"actual":null,"check":"skip multiple eliminated candidates","expected":3,"passed":false},{"actual":0,"check":"first active remains","expected":0,"passed":true},{"actual":null,"check":"one eliminated","expected":1,"passed":false},{"actual":null,"check":"all eliminated","expected":null,"passed":true},{"actual":null,"check":"empty ranking","expected":null,"passed":true},{"actual":null,"check":"active order irrelevant","expected":1,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"skip multiple eliminated candidates\", \"actual\": null, \"expected\": 3, \"passed\": false}, {\"check\": \"first active remains\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"one eliminated\", \"actual\": null, \"expected\": 1, \"passed\": false}, {\"check\": \"all eliminated\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty ranking\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"active order irrelevant\", \"actual\": null, \"expected\": 1, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.827,"exit_code":0,"observations":[{"actual":3,"check":"skip multiple eliminated candidates","expected":3,"passed":true},{"actual":0,"check":"first active remains","expected":0,"passed":true},{"actual":1,"check":"one eliminated","expected":1,"passed":true},{"actual":null,"check":"all eliminated","expected":null,"passed":true},{"actual":null,"check":"empty ranking","expected":null,"passed":true},{"actual":1,"check":"active order irrelevant","expected":1,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"skip multiple eliminated candidates\", \"actual\": 3, \"expected\": 3, \"passed\": true}, {\"check\": \"first active remains\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"one eliminated\", \"actual\": 1, \"expected\": 1, \"passed\": true}, {\"check\": \"all eliminated\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"empty ranking\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"active order irrelevant\", \"actual\": 1, \"expected\": 1, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}