/israeli-elections

moving from votes to parliament seats in israeli elections

Primary LanguageRuby

israeli-elections

Moving from raw votes to parliament seats in israeli elections, using surplus agreements and Bader-Ofer law.

How to run using a json file with votes:

$ ruby israeli_elections.rb data/elections_2019.json

How to run tests:

$ ruby tests/test.rb