{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/rilacs-risk-limiting-audits-via-confidence","title":"RiLACS: Risk-Limiting Audits via Confidence Sequences","arxiv_id":"2107.11323","date":"2021-07-23","proceeding":null,"authors":["Ian Waudby-Smith","Philip B. Stark","Aaditya Ramdas"],"abstract":"Accurately determining the outcome of an election is a complex task with many potential sources of error, ranging from software glitches in voting machines to procedural lapses to outright fraud. Risk-limiting audits (RLA) are statistically principled \"incremental\" hand counts that provide statistical assurance that reported outcomes accurately reflect the validly cast votes. We present a suite of tools for conducting RLAs using confidence sequences -- sequences of confidence sets which uniformly capture an electoral parameter of interest from the start of an audit to the point of an exhaustive recount with high probability. Adopting the SHANGRLA framework, we design nonnegative martingales which yield computationally and statistically efficient confidence sequences and RLAs for a wide variety of election types.","url_abs":"https://arxiv.org/abs/2107.11323v2","url_pdf":"https://arxiv.org/pdf/2107.11323v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"rilacs-risk-limiting-audits-via-confidence","repo_url":"https://github.com/WannabeSmith/RiLACS","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2107.11323","atlas_url":"https://app.syntology.ai/?focus=2107.11323","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2107.11323"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/WannabeSmith/RiLACS","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"samples":8,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"33343870cf5bc450","entry":"apriori_Kelly_bet","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/strategies.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/strategies.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"33343870cf5bc450"}},{"code_sha256_prefix":"83bc46d1ec8c4f0a","entry":"apriori_Kelly_bet_general","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/strategies.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/strategies.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"83bc46d1ec8c4f0a"}},{"code_sha256_prefix":"5ce191c940df5f59","entry":"bravo","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/misc.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/misc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"5ce191c940df5f59"}},{"code_sha256_prefix":"f36a23ce430c5bc7","entry":"get_bravo_workload","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/misc.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/misc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f36a23ce430c5bc7"}},{"code_sha256_prefix":"aac1dedbac1e8b2f","entry":"get_workload_from_mart","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/misc.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/misc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"aac1dedbac1e8b2f"}},{"code_sha256_prefix":"215ec53c83c3885c","entry":"linear_gamma_dist","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/strategies.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/strategies.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"215ec53c83c3885c"}},{"code_sha256_prefix":"63161fb5cd16a863","entry":"lower_cs_from_audit","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"rilacs/incremental_audit.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/rilacs/incremental_audit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"63161fb5cd16a863"}},{"code_sha256_prefix":"70b3f235fc943a61","entry":"unzip","repo":"WannabeSmith/RiLACS","repo_kind":"official","path":"canada_audit/map.py","file_url":"https://github.com/WannabeSmith/RiLACS/blob/HEAD/canada_audit/map.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"70b3f235fc943a61"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}