项目作者: kbaird

项目描述 :
An Erlang library pertaining to consensus democracy, including Condorcet voting
高级语言: Erlang
项目地址: git://github.com/kbaird/consensus.git
创建时间: 2016-11-02T20:52:04Z
项目社区:https://github.com/kbaird/consensus

开源协议:Other

下载


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

  1. $ rebar3 compile

Eunit

  1. $ rebar3 eunit

Dialyzer

  1. $ rebar3 dialyzer

Elvis

Download elvis, then

  1. $ elvis rock