Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

additional poll type: a fixed number of options will be selected #182

Open
mensch72 opened this issue Aug 23, 2022 · 0 comments
Open

additional poll type: a fixed number of options will be selected #182

mensch72 opened this issue Aug 23, 2022 · 0 comments
Assignees
Labels
angular Probably needs Angular-related skills challenging This might take some effort feature A new feature or enhancement ready to implement Sufficiently detailed to start working on --> place in "Issues" svg Probably needs SVG-related skills typescript Probably needs Typescript-related skills

Comments

@mensch72
Copy link
Collaborator

In addition to the existing poll types ("one option wins", "options get shares"), add a third type "k options will be selected" where k is any integer >1.

The tally process makes sure no option gets a share of more than 1/k by using an appropriate share overflow algorithm from options higher up in the ranking to options further down. The probability of inclusion of an option is then k times the share of the option. The actual selection is then made by using the "ring around a pie" method.

To enable the overflow algorithm, every participant's "weight" equals the number of positively wapped option divided by k, but at most one, and the conversion from proxy to effective wap makes sure that if less than k options are wapped positively, they are all approved. A participant's share is then proportional to her weight. This makes sure that overflowing shares will always got to approved options.

The poll page then shows inclusion probabilities (e.g. as dark portions of a light square) instead of the pie pieces representing the shares. The text in the expanded option view and the explanation page then explain about this and about any overflows of shares. A slider is colored green if at least part of the participant's share goes to that option.

@mensch72 mensch72 added feature A new feature or enhancement ready to implement Sufficiently detailed to start working on --> place in "Issues" challenging This might take some effort typescript Probably needs Typescript-related skills angular Probably needs Angular-related skills svg Probably needs SVG-related skills labels Aug 23, 2022
@mensch72 mensch72 added this to the Second Release milestone Aug 23, 2022
@mensch72 mensch72 self-assigned this Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular Probably needs Angular-related skills challenging This might take some effort feature A new feature or enhancement ready to implement Sufficiently detailed to start working on --> place in "Issues" svg Probably needs SVG-related skills typescript Probably needs Typescript-related skills
Projects
None yet
Development

No branches or pull requests

1 participant