-
-
Notifications
You must be signed in to change notification settings - Fork 18
Document voting method implementations #59
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,10 +6,15 @@ | |
|
|
||
|
|
||
| def BulletyApprovalWith(bullets=0.5, asClass=False): | ||
| """Create approval voting with a configurable share of bullet voters. | ||
|
|
||
|
|
||
| Each honest ballot is either ordinary normalized approval or a bullet vote | ||
| for all utility-maximizing candidates. ``bullets`` is the probability of | ||
|
Comment on lines
8
to
+12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Tighten the description of how The current docstring doesn’t specify the expected range for |
||
| bullet voting. | ||
| """ | ||
|
|
||
| class BulletyApproval((Score(1,True))): | ||
| """Implement the configured mixture of approval and bullet voting.""" | ||
|
|
||
| bulletiness = bullets | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Clarify how ranks map to preferences and scores to avoid confusion with conventional Borda.
The phrases "larger rank values representing preference" and "consecutive scores from least to most preferred" are unclear, especially since classical Borda typically treats smaller ranks as more preferred. If this implementation reverses that convention (e.g., 0 = least preferred and higher values = more preferred), please state that explicitly and add a brief example ballot to illustrate the ranking and scoring direction for readers familiar with standard Borda.