ElectionAudits: a Django App for Good Election Auditing Neal McBurnett OSCON July 22 2009.

Slides:



Advertisements
Similar presentations
I Think I Voted. E-voting vs. Democracy Prof. David L. Dill Department of Computer Science Stanford University
Advertisements

The Battle for Accountable Voting Systems Prof. David L. Dill Department of Computer Science Stanford University
Good or Bad?.  One of the closest contests in US history  Florida was the pivotal state  Neither Democrat Al Gore nor Republican George W. Bush had.
The Citizen in Government Electing Leaders ~~~~~ The Right to Vote
Will Your Vote Count? Will your vote count? Voting machine choices N.C. Coalition for Verified Voting Joyce McCloy Pros and Cons of voting.
ETen E-Poll ID – Strasbourg COE meeting November, 2006 Slide 1 E-TEN E-POLL Project Electronic Polling System for Remote Operation Strasbourg.
Electronic Ballot Reader Rosa Arias Chad Feller Walter Smith.
Juan E. Gilbert, Ph.D. Human Centered Computing Lab Prime III Universal Accessibility Juan E. Gilbert, Ph.D. IDEaS Professor Chair Human-Centered Computing.
TGDC Meeting, Jan 2011 Evaluating risk within the context of the voting process Ann McGeehan Director of Elections Office of the Texas Secretary of State.
By Varun Jain. Introduction  Florida 2000 election fiasco, drew conclusion that paper ballots couldn’t be counted  Computerized voting system, DRE (Direct.
1 J. Alex Halderman Security Failures in Electronic Voting Machines Ariel Feldman Alex Halderman Edward Felten Center for Information Technology Policy.
Election Observer Training 2008 Elections Certification & Training Program
Internet Voting Technology and policy issues David Wagner UC Berkeley.
Voting Machines Failing the World *Voting machines around the world are failing in Colorado as well as 34 other states. *This could be crucial in the upcoming.
August 6, 2007Electronic Voting Technology 2007 On Estimating the Size and Confidence of a Statistical Audit Javed A. Aslam College of Computer and Information.
Electronic Voting Linh Nguyen. Electronic Voting  Voting Technologies  The Florida 2000 Election  Direct Recording Electronic Devices (DREs)‏ - Diebold.
Vote By Mail A County Perspective Dolores Gilmore, Elections Manager
Guide to the Voting Action Planner Voting is the way we elect government officials, pass laws and decide on issues…
Resources Needed for Post-Election Audits: People, Time, and Money Robert Kibrick, Legislative Analyst Verified Voting Foundation Gail Pellerin, County.
Optical Scan Ballot. January Prior to Primary Election Establish Election Precincts Establish Election Precincts Absentee precincts Absentee precincts.
Ballot Processing Systems February, 2005 Submission to OASIS EML TC and True Vote Maryland by David RR Webber.
Batch Reports for Audits - ElectionAudits and the Boulder 2008 Election Neal McBurnett NIST Common Data Formats Workshop Oct
Objectives Analyze how the administration of elections in the United States helps make democracy work. Define the role of local precincts and polling places.
Absentee Ballot Central Count General Introduction Step by step procedure Forms Tool Kit Dale Simmons, Co-General Counsel: (317) or (800)
States control most of election law and procedure Ohio Secretary of State Jon Husted (R) Nationwide: 500,000+ office holders of over 90,000 positions!
Automark and Other Optical Scan Voting Systems Allen Stone CMSC-691V2/12/2006.
Welcome to the wonderful world of……. . A Quick & Easy Guide.  What IS ?  A quick, easy and convenient way to send a letter to friends, family.
Audit Purpose of Audit Quality assurance procedure Check accuracy of machine tally of ballots Ballots for a contest are sampled, manually verified, and.
TOWARDS OPEN VOTE VERIFICATION METHOD IN E-VOTING Ali Fawzi Najm Al-Shammari17’th July2012 Sec Vote 2012.
Elections Americans vote at extreme levels –Elections are held almost everyday besides Sundays and holidays –500,000 office holders are elected in the.
1 Publication of C Data Warehouse Code 17/11/2002 – Today I am pleased to announce the publication of a suite of C code which has been used to load large.
California Secretary of State Voting Systems Testing Summit November 28 & 29, 2005, Sacramento, California Remarks by Kim Alexander, President, California.
Version Control.
Electronic Voting: The 2004 Election and Beyond Prof. David L. Dill Department of Computer Science Stanford University
Senate Bill 223 Public Confidence in Elections. Current Law State Board certifies and decertifies voting equipment. Decertification could be a four year.
Election Review. Orange County Election Infrastructure Neal Kelley, Registrar of Voters April 15, 2011.
Idaho Procedures M100 OPTICAL SCAN PRECINCT TABULATOR.
Mario Čagalj Sveučilište u Splitu 2014/15. Sigurnost računala i podataka.
P1622 Audit Use Case Neal McBurnett IEEE P1622 meeting
WHY THE vvpat has failed
WHAT CONSTITUTES A VOTE? Annual Training for County Election Officials
VVPAT Building Confidence in U.S. Elections. WHAT IS VVPAT ? Voter-verifiable paper audit trail Requires the voting system to print a paper ballot containing.
7 th Grade Civics Miss Smith *pgs  Must be 18 years old by a set date before the next election  Voter registration protects your vote  No.
Election Reform The Open Voting Consortium. Elections are important Voting is how we ultimately control.our government Many elections are decided by just.
Absentee Voting Legal Discussion & Reminders for 2016.
PREPARATIONS FOR VOTING: IN QUEST OF INTEGRITY AND PUBLIC CONFIDENCE by Roy G. Saltman Consultant on Election Policy and Technology
Idaho Procedures M650 GREEN LIGHT OPTICAL SCAN TABULATOR.
7 th Grade Civics Miss Smith *pgs  Must be ___ years old by a set ____ before the next ________  Voter _________ protects your vote  No one.
Open Map Yamama Dagash & Haitham Khateeb under the supervision of: Benny Daon & Eyal Levin Open Map.
Elections - The ultimate time constrained project Marie Gregoire, PMP 1.
Ronald L. Rivest MIT NASEM Future of Voting Meeting June 12, 2017
Evaluating risk within the context of the voting process
EVoting 23 October 2006.
Sample Wiki Comments?.
Kevin C. Chang University of Illinois, Urbana-Champaign
Election Audit?? What in the world?.
Audit Thoughts Ronald L. Rivest MIT CSAIL Audit Working Meeting
CONFIDENCE IN COLORADO’S ELECTIONS
Ronald L. Rivest MIT NASEM Future of Voting December 7, 2017
Improving Reliability of Direct Recording Electronic Voting Systems
Texas Secretary of State Elections Division
Texas Secretary of State Elections Division
Cyber attacks on Democratic processes
Election Security Best Practices
Texas Secretary of State Elections Division
Auditability and Verifiability of Elections
Texas Secretary of State Elections Division
Essential Question What are the procedures for voting?
7th Grade Civics Miss Smith *pgs
Risk Limiting Audits Nuts, Bolts, and Paperclips
Presentation transcript:

ElectionAudits: a Django App for Good Election Auditing Neal McBurnett OSCON July

Boulder County used open source code to audit its 2008 election!

Share the story, share the code, and get you all involved where you live.

Questions Clarifications? Anytime “But what about...”? At the end

Why audit?

Elections can inspire us! South Africa 1994 Paper ballots, hand counted

Or serve as a warning Iran 2009

US problems with elections: black box voting systems

Not just a problem with touch screen devices (DRE)‏

Humboldt County 2008 Paper ballots, optical scan 197 ballots deleted by Diebold/Premier Without a trace

Certified....

Discovered later by Humboldt County Election Transparency Project audit “Ballot Browser” (also open source Python code) Kudos to Mitch Trachtenberg, brave Registrar of Elections Carolyn Cernich, and colleagues

Surprise! Computers make mistakes Sometimes whoppers!

Growing movement to require paper ballots Not doing well at looking at them.... Not often required or well done

Goal: software independence (Rivest & Wack) via auditable paper records, good audits

Open Source voting systems Important!

Good audits and clean chain of custody Necessary

Election Quality FSF Statue of liberty with floppy disk in her hand

Election Integrity Computer Scientists for Social Responsibility Question Technology

Boris Bazhanov's Memoirs of Stalin's Former Secretary - quote from Stalin Loosely translated: "I consider it completely unimportant who in the party will vote, or how; but what is extraordinarily important is this — who will count the votes, and how."

But what is an audit anyway?

Compare system's reported results with the evidence Take sample of detailed results by batch and compare to hand counts of those batches

Auditing steps` Produce report by audit unit (precinct or batch)‏ Reconcile number of ballots in each unit Randomly select audit units to audit Count audit units by hand Compare results Escalate audit if statistical evidence isn't good enough

Report of Vote Counts by Audit Unit

Optical scanners arrived Era of trusting computers too much Few audits

Audit DREs without voter verified paper trail? Can't do it.... Pushback – Can't Trust Computers!

“But we're doing audits”

Announcing “random selection” before results come out

Using software to select random numbers No more software independence....

Wasting time auditing contests with a single candidate

Reports are by precinct But often piles of paper aren't - Mail in - Early voting - Provisional

Colorado rescans and recounts just the selected batches of mail-in ballots Not an audit Just a tiny post-election test that is unrelated to the actual election results

But no state yet does an efficient, “best practices” audit

Principles and Best Practices for Post-Election Audits (2008) League of Women Voters Election Audit Report (2009)‏

Fixed percentage vs Risk-limiting audits

Fixed percentage: Wasteful focus on landslide contests Little confidence for tight contests

Significance of the results driven by how many batches you audit, not how many ballots you count Looking for incorrect vote counts Don't care about total vote count for the sample

20 samples out of 1000 batches much better than 2 samples out of 100 batches (2%) and easier than 20 samples out of 100 batches More samples = more statistical significance More audit units = smaller samples, less counting

“Risk-limiting” audit chooses more audit units when margin of victory is small Has a pre-specified minimum chance of requiring a full hand count whenever the apparent outcome of the contest is wrong

Trying to audit in Boulder since 2002 Obstacles, cluelessness, politics

Elect new Clerk, Hillary Hall 3 good audits in 2008 The hard part - getting good data

Hart InterCivic system Precinct reports But only 15% cast in precinct 70% mail-in, 15% early voting

Solution: run cumulative report 500 times Once for each batch Subtract each report from the previous report to get batch sub-totals

Like snapshots of election-night reporting through the night But we want lots of them....

Report of Cumulative Vote Counts by Audit Unit

Report of Vote Counts by Audit Unit

ElectionAudits supports the Best Practices Automates many steps of the audit Enter the data, publish with statistics Roll 15 dice, publish all the selections To do: automate discrepancies, escalation

Time to look at some real data In a real audit ElectionAudits in action! One of the first and most extensive Best Practices audits

Features of ElectionAudits Imports standard election report files Produces auditable reports for the public. Protects voter anonymity by merging small audit units Doesn't require that paper ballots be sorted into piles by precinct Can produce batch reports from sequence of cumulative reports Facilitates risk-limiting audits Verifiably pseudo-random dice + "Sum of Square Roots"

Future Plans Add Stark's proper statistical methods for risk- limiting audits: deciding when discrepancies require escalation Automate more steps Support more vendors: Sequoia, etc. Read and write Election Markup Language data Hopefully use it in Denver and elsewhere in 2009 Hopefully use it for Colorado's audit pilots in 2010

Selecting batches to audit Rivest's “Negexp” Probability proportional to size

Rivest's Sum of Square Roots pseudo random number generator Public can verify unpredictability of selections

Django Python SQLite lxml

Rivest's varsize.py

Ubuntu Linux Windows Mac OS X? etc.

MIT license

Hosted at Launchpad RSS feed of announcements Bug tracking Team mailing list Bzr Blueprints that I can mentor

Tip: Django's Debug_toolbar for great debugging over the web

Help wanted!

Web presentation: css, layout

Logo

XML expertise, e.g. for reading and writing (and improving) Election Markup Language

Database design (pretty simple!)‏

Django/python insights

Implement features

Windows testing, installation, eggs and Django, etc

Ask for 2008 precinct data in your county Send it to me! Try to parse it Audit 2009 election

Help getting auditing laws passed

Biggest challenge: getting useful data out of election systems

We're experts in interplay between security, privacy, transparency, and freedom Remember Christine Peterson's challenge - pitch in!

Many thanks to Philip Stark, John McCarthy, Mark Lindeman, Mark Halvorson, Ron Rivest, Crystal Christman, Hillary Hall, Aaron D. Gerber, Mary Eberle, Holly Lewis, and the many other colleagues and friends that helped.

1:45 today: Open Source and Democracy - Creating transparent, trustworthy voting systems 5:20 today: Hacking the Open Government Sunlight Labs Hackathon 9-5 Tue-Thu, Room N

Code is Law Write our own procedures into practice by providing the code! Gov 2.0 DIY => DIO

Remember Must look at our ballots! Audits not done much, or right Open Source audits seen in the wild! Lots of room to improve Open Source folks have great insights Please help out!