You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
j3s be232d4ce0 in the beginning there was darkness 6 months ago
LICENSE in the beginning there was darkness 6 months ago
README in the beginning there was darkness 6 months ago

README

~-~-~- cyberia voting system -~-~-~

(or cvs for short)

the cyberia voting system is a set of tools intended to be used by the secretary
to tally votes for a given thing. following the debian project, it uses the
[condercet method](https://en.wikipedia.org/wiki/Condorcet_method) for voting,
and the [schulze method](https://en.wikipedia.org/wiki/Schulze_method) to select
a winner.

there are a few components:

=== polld ===

polld is a daemon that runs a website that can be used for the following purposes:

- make a temporary poll
- view the results of a given poll

polld makes no attempt to store data and all data within it is considered
ephemeral. to permanently store the results of a poll, just copy+paste the poll
results page (it's all plaintext) also note that polld simply allows users to
rank items and submit those rankings + their name, it makes no attempts to
determine the winner of a given poll.

=== make a poll page examples ===

/

welcome to the polld page lolz

poll name: _____
poll options (1 per line): _____
[SUBMIT] (submits a POST)

=== respond to a poll page example ===

/poll/randomlygeneratedid

poll name: <name>
options:
<box with options that are drag-able>
[SUBMIT] (submits a POST)

=== results page example ===

/poll/randomlygeneratedid/results

poll name = determine the space name
poll options = c-lab, layer zero, cyberia
j3s = layer zero, c-lab
starless =

=== determine-winner ===

name TBD

can be run against a results page or plaintext to determine
the ranking / winner of a given vote. for example:

run it:
./determine-winner https://polld.example.url/randomlygeneratedid/results
./determine-winner poll-results.txt

result: