Skip to content

Resolve majority judgment polls in Elixir, to get the rank of each proposal.

License

Notifications You must be signed in to change notification settings

MieuxVoter/majority-judgment-library-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Judgment

Resolve Majority Judgment polls and get the rank of each proposal1.

Features

  • Tests, love and care
  • Efficient, score-based algorithm, can run proposals in parallel
  • Configure whether to favor contestation or adhesion
  • Balance a poll with a static default (todo)
  • Noob mistakes (contributions are welcome!)

Installation

This library is not yet published. It works, but it requires some love before we can freeze its API. Please open an issue if you want it published.

If available in Hex, the package can be installed by adding judgment to your list of dependencies in mix.exs:

def deps do
  [
    {:judgment, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/judgment.

Disclaimer

This is our first Elixir project. It will show in the code. This codebase needs a review by an experimented alchemist. Please? We're all in this together !

License

Do what you want. (MIT)

Footnotes

  1. anthropocentrically known as candidate

About

Resolve majority judgment polls in Elixir, to get the rank of each proposal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages