Skip to content

An Erlang library pertaining to consensus democracy, including Condorcet voting

License

Notifications You must be signed in to change notification settings

kbaird/consensus

Repository files navigation

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

About

An Erlang library pertaining to consensus democracy, including Condorcet voting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages