{"id":16701600,"url":"https://github.com/kbaird/consensus","last_synced_at":"2025-10-09T14:35:02.737Z","repository":{"id":46632622,"uuid":"72680331","full_name":"kbaird/consensus","owner":"kbaird","description":"An Erlang library pertaining to consensus democracy, including Condorcet voting","archived":false,"fork":false,"pushed_at":"2025-09-11T20:51:55.000Z","size":3068,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T23:05:27.886Z","etag":null,"topics":["condorcet","condorcet-methods","elections","erlang","voting"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kbaird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-11-02T20:52:04.000Z","updated_at":"2025-08-26T19:45:54.000Z","dependencies_parsed_at":"2024-10-28T11:32:45.198Z","dependency_job_id":"dbad0992-ce95-40a3-a683-71862f92cbf7","html_url":"https://github.com/kbaird/consensus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kbaird/consensus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbaird%2Fconsensus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbaird%2Fconsensus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbaird%2Fconsensus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbaird%2Fconsensus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kbaird","download_url":"https://codeload.github.com/kbaird/consensus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kbaird%2Fconsensus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001506,"owners_count":26083118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["condorcet","condorcet-methods","elections","erlang","voting"],"created_at":"2024-10-12T18:44:43.967Z","updated_at":"2025-10-09T14:35:02.714Z","avatar_url":"https://github.com/kbaird.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"# consensus\n\n[![Build Status](https://semaphoreci.com/api/v1/kbaird/consensus/branches/master/badge.svg)](https://semaphoreci.com/kbaird/consensus)\n\n[![Code Climate](https://codeclimate.com/github/kbaird/consensus/badges/gpa.svg)](https://codeclimate.com/github/kbaird/consensus)\n\n[![Ebert](https://ebertapp.io/github/kbaird/consensus.svg)](https://ebertapp.io/github/kbaird/consensus)\n\nAn OTP library implementing consensus-oriented political functions, including the\n[Schulze voting method](https://en.wikipedia.org/wiki/Schulze_method), the\n[Gallagher Index](https://en.wikipedia.org/wiki/Gallagher_Index), the\n[d'Hondt/Jefferson Method](https://en.wikipedia.org/wiki/D%27Hondt_method),\nvarious [Borda Counts](https://en.wikipedia.org/wiki/Borda_count#Example) and the\n[Webster/Sainte-Laguë Method](https://en.wikipedia.org/wiki/Webster/Sainte-Lagu%C3%AB_method#Description_of_the_method).\n\nThis code is heavily based on ideas found in [Patterns of Democracy](http://wikisum.com/w/Lijphart:_Patterns_of_democracy) by\n[Arend Lijphart](https://en.wikipedia.org/wiki/Arend_Lijphart).\n\nThe\n[main non-trivial Condorcet test file](https://github.com/kbaird/schulze-vote-erlang/blob/master/test/tn_capital_test.erl)\nuses the\n[TN Capital example](https://en.wikipedia.org/wiki/Condorcet_method#Example:_Voting_on_the_location_of_Tennessee.27s_capital)\nfrom Wikipedia.\n\n## Build\n\n    $ rebar3 compile\n\n## Eunit\n\n    $ rebar3 eunit\n\n## Dialyzer\n\n    $ rebar3 dialyzer\n\n## Elvis\n\nDownload [elvis](https://github.com/inaka/elvis), then\n\n    $ elvis rock\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbaird%2Fconsensus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkbaird%2Fconsensus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkbaird%2Fconsensus/lists"}