Code Monkey home page Code Monkey logo

multi-pass-irv's Introduction

Analysis of multi-pass IRV elections

The multi-pass Instant-Runoff Voting (IRV) voting method is considered by Fairvote to be a type of Ranked-Choice Voting (RCV). It is also known as Preferential Block Voting, Sequential IRV, Sequential AT-Large IRV, Sequential Ranked Choice Voting, etc. It is used in several cities in Utah, and was used for the Portland, Maine Charter Commission Election in 2021.

It appears to be far inferior to the multi-winner Single-Transferrable-Vote (STV) voting method, which guarantees Proportional Representation, and which is also sometimes confusingly called RCV.

See also:

CVR data

This repository aims to facilitate analysis. It currently has the cast vote records for some of these elections.

In order to tabuate the elections via the OpenSTV software, the original .xlsx (Excel) files have been converted into .text files. For now, the files were saved to .csv from LibreOffice, and then this pipeline was used to clean and reformat the data. But note that it is preliminary work, with much room for improvement, and may have bugs or fail to preserve all the information of interest.

# Drop first two columns, drop undervote/overvote, drop first header line,
# replace multiple tabs with one, avoid leading/trailing tab, drop blank lines
cut -f 3- Payson_CVR.csv |
 sed -E -e 's,undervote,,g' -e 's,overvote,,g' -e $'s,\t+,\t,g' -e $'s,\t$,,' -e $'s,^\t,,' -e '/^$/d' |
 tail +2 > payson.text

multi-pass-irv's People

Contributors

nealmcb avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.