Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.51 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.51 KB

consensus

Build Status

Code Climate

Ebert

An OTP library implementing consensus-oriented political functions, including the Schulze voting method, the Gallagher Index, the d'Hondt/Jefferson Method, various Borda Counts and the Webster/Sainte-Laguë Method.

This code is heavily based on ideas found in Patterns of Democracy by Arend Lijphart.

The main non-trivial Condorcet test file uses the TN Capital example from Wikipedia.

Build

$ rebar3 compile

Eunit

$ rebar3 eunit

Dialyzer

$ rebar3 dialyzer

Elvis

Download elvis, then

$ elvis rock