Code Monkey home page Code Monkey logo

tif-calin / votevote Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 4.0 1.07 MB

Voting systems comparison website. Simulate a single election in dozens of different voting methods including plurality, borda count, instant runoff, bucklin, copeland, and many more!

Home Page: https://votevote.page

License: The Unlicense

HTML 0.64% CSS 5.93% TypeScript 93.44%
voting-system borda borda-count irv polling ranked-choice-voting vote vote-application voting election

votevote's Introduction

VoteVote

Deployed at https://votevote.page/

VoteVote takes a scored ballot and calculates what its equivalent ballot would look like for a large number of voting systems. Through this we can simulate the same election in FPTP, Instant Runoff, Approval, Borda, Condorcet, and many many more. The original prototype of this implemented 28 different methods and this rebirth of it aims to surpass that.

Currently its just a toy, but it is completely open-sourced and might some day grow to be an actual tool. The main contributer of this project is culi, but I'm very interested in opening up the project for more contributers if anyone is interested in getting involved. Feel free to use whatever, however. If you do have a use for this tool, I'd LOVE to hear about it :)

The VoteVote Figma

Voting methods

(28 implemented as of v0.1.3)

  • plurality: fptp, veto, signed, vfa
  • contingent: contingency, supplementary, sri_lanka
  • runoff: irv, coombs, fab_irv
  • positional: borda, nauru, eurovision, dabagh, binary_positional
  • evaluative: approval, disapproval, cav, score, range
  • condorcet: copeland, lull, kemeny_young, black
  • budgetary: cumulative, fractional, quadratic, equal_even

Not yet implemented

  • median: typical_judgement, usual_judgement, central_judgement (evaluative aka average, so median is natural successor)
  • condorcet: dasgupta_maskin
  • bucklin: fallback, bucklin, vfa_runoff
  • hybrid: star, three_two_one
  • other: majority_judgement

Not yet implemented or well-researched

  • tournament_borda (allows for ties and unranked candidates)
  • minimax
  • nanson
  • baldwin (aka borda_elmination, nanson_modified)
  • dodgeson
  • ranked_pairs
  • beat_path_winner
  • tideman_smith
  • tideman_schwartz (aka top_cycle)
  • river
  • smith_minimax
  • smith_irv
  • irv_btr (bottomTwoRunoffIRV)
  • fallback (aka bucklin, expandingApproval)
  • historical_bucklin
  • sir
  • dasgupta_maskin (copeland with borda tiebreaker)
  • minimum_violations

Won't support

  • non-deterministic methods: At the moment we only support deterministic methods.
  • multi-winner methods: This wasn't the original intention of the site, but who knows.
  • two/multi round methods: We support contingent votes as well as some variations of it like runoff or sriLankanContingent. Two-round runoff is generally considered to be the mathematical equivalent of a two-round runoff by assuming voters don't change their minds from one the first round to the second. However, in the real world, voters often change their minds. We can possibly support a twoRoundRunoff if we come up with a method of changing views that's fair and mathematically sound. It might be non-deterministic, like adding some noise to the voter's preference of each candidate.
  • methods that involve candidate behavior: Methods like xxx involve the candidates themselves negotiating or voting. We don't have a good way of modeling candidate behavior.

Lists of voting methods I wanna reach feature parity with:

Tech

Design philosophy

Shoutouts

votevote's People

Contributors

tif-calin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

votevote's Issues

Suggestion: meta-methods

Basically, I'm thinking of a method that says that the winner is the candidate who wins under the most other methods already listed (not sure if there's already a name for this?)

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.