edemo / PDEngine

voting engine using ADA authentication and condorcet method
Other
2 stars 12 forks source link

the winners list contains looses to the first one #210

Open magwas opened 5 years ago

magwas commented 5 years ago

Behaviour: Vote/Compute vote results;the winners list contains the looses to the first one

@tested_feature("Vote")

@tested_operation("Compute vote results")

@tested_behaviour("the winners list contains the looses to the first one")

for each winner (but the first one) the beat ratio to the first one(s) is given

Deviation in model

szirbucz commented 5 years ago

grab

szirbucz commented 5 years ago

@magwas looses means the initial loose or the transitive closure or the normalized one here?

magwas commented 5 years ago

after transitive closure. This is the last step of the calculation.

szirbucz commented 5 years ago

@magwas Are the loses equal inside a rank? e.g:

  1. {A, B}
  2. {C, D}

In this case (A, C) == (A, D) == (B, C) == (B, D) or can they be different by pairs?

magwas commented 5 years ago

This particular behaviour is about the information contained in the winners list. Computing the winners is another issue. Here we just make sure that for a candidate, the number of beats are there. If you consider this result: https://civs.cs.cornell.edu/cgi-bin/results.pl?id=E_68549fe6e45da391 the numbers 137-57 for Elizabeth warren is what we are looking for. it is the number of beats betwen Sanders and her forward and backwards. Otherwise the other issue is about winners() and rank_candidates() here: https://github.com/andrewcmyers/civs/blob/master/cgi-bin/beatpath2.pm

magwas commented 5 years ago

and yes, I have to concentrate more on providing all the domain context in the issues. Working on it for the next project.