This is a playground for experiments related to the TokenEngineering Academy's Reputation Weighted Voting course, the goal of which it is to come up with a suitable reputation based voting algorithm for electing a winner among four pre-selected fellowship candidates.
I'm currently using it to work on my own design proposal, the GroupHug voting mechanism.
...But feel free to play around with the code on your own machine, and use it for any constructive purpose you can think of.
-
Detailed explanation of the proposed voting concept.
-
A visual overview of the voting design.
-
Abstract class that represents a voting mechanism. By courtesy of @eightarmsninebrains / basic-voting-calc.
-
Implementation of the voting mechanism. This is where the actual action happens.
-
Basic structures used by the design.
-
A sample of votes to be used for testing the voting mechanism.
-
A small example test to show how to use the mechanism.
-
Arguments for the soundness of the design. More may be added when good questions come up.
Running Test.py in a Python interpreter will cause it to fetch a sample of test votes, run the GroupHug algorithm on the data and announce a winner.