Skip to content

playing-with-dust/phragviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequential Phragmén Explorable Explanation

This is an explorable explanation of the Sequential Phragmén voting system (invented in the 1890s) currently used on Kusama and Polkadot's on-chain elections. You can create candidates and voters, adjust their voting stake (drag left and right or type) and add and delete votes to see how it affects the results.

The code is based on the Python reference implementation

Todo:

  • Explain loads and scores per round
  • Add conviction to votes
  • Figure out ordered votes for council elections
  • Simplified/complicated views
  • Import on-chain election results

Building

$ npm install
$ browserify -p esmify src/index.js -o bundle.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published