glondu / belenios

Verifiable online voting system. This is a mirror of https://gitlab.inria.fr/belenios/belenios
https://www.belenios.org
GNU Affero General Public License v3.0
132 stars 20 forks source link

STV support #72

Open KiaraGrouwstra opened 1 year ago

KiaraGrouwstra commented 1 year ago

I'm trying to see if I can perform a ranked voting round, preferably using STV, on the Belenios demo server.

To this end, I:

Questions for election: ranked voting

However, submitting anything similar to this yields me the following error:

This kind of change is not allowed now

Error: This kind of change is not allowed now

I'll admit I'm kind of new to Belenios, so I'm not sure if the settings I selected make sense, although selecting different variants of these settings appeared not to change this.

What am I missing here? Do we have any documentation on how to use STV? The other voting methods page mentions 'our server supports three methods' including STV, although the 'Counting method specification' section in the question selection page doesn't seem to include a button mentioning STV, while current documentation seems not to explain much about this either.

glondu commented 1 year ago

The "This kind of change is not allowed now!" message occurs when you don't follow the standard workflow, for example when you generate credentials or setup trustees before setting questions.

Concerning STV, support is very basic at the moment (you have to use the old booth), or even inexistent in the current master (where the old booth has been removed) but work is in progress to add support for it in the new booth.

glondu commented 1 year ago

Update: STV support has been added in the new booth in master. You can test it on the beta instance. However, the result page is still generic.

KiaraGrouwstra commented 1 year ago

in the new booth STV still appears greyed out for me. did i do something wrong here?

image

on another note, the UX for STV in old booth feels nicer for me than that of Condorcet-Schulze in new booth? cuz the latter involves more clicking to create spots while the former is just drag.

glondu commented 1 year ago

in the new booth STV still appears greyed out for me. did i do something wrong here?

Support for STV was not implemented in the new admin interface (which is experimental). I've just done it: 644f2d326d9a3b39cc80c3b2394f342bc0ab519c

You can now try it on the beta instance.

on another note, the UX for STV in old booth feels nicer for me than that of Condorcet-Schulze in new booth? cuz the latter involves more clicking to create spots while the former is just drag.

I don't understand what you mean. With STV in the new booth, there is no equality, so no notion of preference level (unlike Condorcet-Schulze): you just have to drag your choices to put them in the wished order. With the old booth, you had to manually entry your ordering (with numbers).