{"abstract":"Exhausted ballots prevent a continuing-ballot majority.","category":"Voting rule computation","checks":6,"contract":"Given nonnegative candidate count, continuing count and total count with candidate<=continuing<=total, return whether candidate has a strict majority of continuing ballots. Zero continuing ballots have no majority.","contract_signature":"votes, continuing, total","evaluation_group":"model-ad1b2845dd86ab63","failed_approach":"Changing the denominator but accepting equality declares a tied count a majority.","family":"z-voting_rules-exhausted-majority","id":"FA-12751","implementations":{"attempt":{"sha256":"f8995e7232ca3a543145945cd772163d883160eb9d8707615235b0a4f8a1b7b9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(votes, continuing, total):\n    return votes*2 >= continuing\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('exhaustion changes denominator', solve(N+1,2*N+1,4*N+4), True)\ncheck('half is insufficient', solve(N,2*N,3*N), False)\ncheck('empty electorate', solve(0,0,0), False)\ncheck('unanimous continuing', solve(N,N,5*N), True)\ncheck('minority', solve(N,2*N+1,2*N+1), False)\ncheck('one continuing', solve(1,1,2), True)\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":"a48703c0fb0b7387f42a64b1c4704cb971bff1be82d1b6d26a5f1f94046f1c3f","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(votes, continuing, total):\n    return votes*2 > total\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('exhaustion changes denominator', solve(N+1,2*N+1,4*N+4), True)\ncheck('half is insufficient', solve(N,2*N,3*N), False)\ncheck('empty electorate', solve(0,0,0), False)\ncheck('unanimous continuing', solve(N,N,5*N), True)\ncheck('minority', solve(N,2*N+1,2*N+1), False)\ncheck('one continuing', solve(1,1,2), True)\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-exhausted-majority","generated_at":"2026-09-29T14:38:59.839907+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.","root_cause":"The denominator includes exhausted ballots.","sha256":"2001a18c38d3ba6d0e212166423bd5f41ec63dc1f065d90a7f7ff4064515ff7f","title":"Exhausted ballots prevent a continuing-ballot majority · 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.618,"exit_code":1,"observations":[{"actual":true,"check":"exhaustion changes denominator","expected":true,"passed":true},{"actual":true,"check":"half is insufficient","expected":false,"passed":false},{"actual":true,"check":"empty electorate","expected":false,"passed":false},{"actual":true,"check":"unanimous continuing","expected":true,"passed":true},{"actual":false,"check":"minority","expected":false,"passed":true},{"actual":true,"check":"one continuing","expected":true,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exhaustion changes denominator\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"half is insufficient\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"empty electorate\", \"actual\": true, \"expected\": false, \"passed\": false}, {\"check\": \"unanimous continuing\", \"actual\": true, \"expected\": true, \"passed\": true}, {\"check\": \"minority\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"one continuing\", \"actual\": true, \"expected\": true, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.825,"exit_code":1,"observations":[{"actual":false,"check":"exhaustion changes denominator","expected":true,"passed":false},{"actual":false,"check":"half is insufficient","expected":false,"passed":true},{"actual":false,"check":"empty electorate","expected":false,"passed":true},{"actual":false,"check":"unanimous continuing","expected":true,"passed":false},{"actual":false,"check":"minority","expected":false,"passed":true},{"actual":false,"check":"one continuing","expected":true,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"exhaustion changes denominator\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"half is insufficient\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"empty electorate\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"unanimous continuing\", \"actual\": false, \"expected\": true, \"passed\": false}, {\"check\": \"minority\", \"actual\": false, \"expected\": false, \"passed\": true}, {\"check\": \"one continuing\", \"actual\": false, \"expected\": true, \"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."}}