Preference Sort Voting

Activities ::: mod_sortvoting
Maintained by Odei Alba, Odei Alba
This plugin lets you rank multiple options in order of preference, instead of just choosing one. This method is also known as Card Sorting, Ranked Choice Voting (RCV), Instant Runoff Voting (IRV) or Condorcet Method for Voting.
Latest release:
81 sites
16 downloads
6 fans
Current versions available: 1

Preference Sort Voting

This plugin lets you rank multiple options in order of preference, instead of just choosing one.
This way, the most preferred option by all the voters can win, even if it is not the most popular one.

This voting method is also known as Condorcet method for voting, Card Sorting, Ranked Choice Voting (RCV) or Instant Runoff Voting (IRV).

Examples:

Setup:

  • Available options A, B, C, D
  • People voting 5

Traditional voting:

Votes:

User1 A
User2 A
User3 B
User4 C
User5 D

Results in traditional voting:

  • A = 2
  • B = 1
  • C = 1
  • D = 1

Winner:

A

Explanation:

A gets 2 votes and all the other options get 1 vote each. But maybe some people would rather have B than A. With traditional voting, they can’t show that.

Voting with the plugin:

Votes:

User1 A
B
C
D
User2 A
B
D
C
User3 B
D
C
A
User4 C
B
D
A
User5 D
B
C
A

Results voting with the plugin:

  • B
  • D
  • C
  • A

Winner:

B

Explanation:

With PreferenceVoting, you can rank the options from best to worst. Then, the average rank of each option is calculated. The option with the lowest average rank wins. In this case, B has the lowest average rank, so it wins.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Odei Alba (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Sat, 3 June 2023, 1:30 AM
    Approval issue created: CONTRIB-9289
  • Dave Foord
    Mon, 4 Sept 2023, 5:02 PM
    This looks like a really interesting plugin. May I suggest a few possible improvements:

    1) Could you have a setting which gives the option of students seeing the summary of responses once they themselves have voted (similar to the core choice activity).
    2) Could this be set up to work on the Mobile app?
    3) Can you add in some standard instructions e.g. "Change the options below into the desired order, so your first choice is at the top....."

    Thanks
  • Odei Alba
    Mon, 4 Sept 2023, 7:14 PM
  • Odei Alba
    Wed, 31 Jan 2024, 12:49 AM
    Hello Dave.
    All your suggestions have been added to the latest release.
    Thank you for your suggestions.
  • Dave Foord
    Tue, 6 Feb 2024, 6:45 PM
    Hi Odei, thanks for applying my suggestions, the charity that I am supporting that is using this really likes it. May I suggest a couple more possible improvements:

    1) At the moment the students have to click on the 'responses' option within the menu bar at top to see the responses, this isn't obvious and especially on a small screen where this items disappears into the hamburger icon - is easily missed. Could it be changed so that if the item is set to allow students to see the results, when they save their response it automatically takes them to the results page (this is what the choice activity does).
    2) On the results page, could you identify how many people have voted - if the student is the first person to vote, then the response will match their answer, but they won't know if that is because they are the only contributor or if there are lots of contributors and the collective have agreed with that individual.
    3) Is it worth making the draggable cards slightly more distinct - I have done this by adding some CSS to give the cards a thin grey border, but not everyone will have the ability to know-how to do this.

    Thanks again for your work on this, very much appreciated.
  • Odei Alba
    Tue, 6 Feb 2024, 7:05 PM
    Hi Dave! Thank you for your suggestions.
    1) That's a good idea. I'll do that in the next release.
    2) If you go to the responses tab and hover the position word in the table header, it will show how many votes there are. If there are options with different amount of votes (this might happen if some options are added after some people have already voted), the hover will appear in the number of the option.
    3) Could you share the css you used? I could add it, so I know exactly how it should look.

    Could you please create issues in github with those suggestions? This way I can easily keep track of the requests and you can also add useful information there: https://github.com/odeialba/moodle-mod_sortvoting/issues

    Thank you! smile
Please login to post comments