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

Fix default Borda scoring #174

Open
wants to merge 2 commits into
base: 3.1.0
Choose a base branch
from
Open

Fix default Borda scoring #174

wants to merge 2 commits into from

Conversation

cdonnay
Copy link
Collaborator

@cdonnay cdonnay commented Jan 9, 2025

The old Borda scoring function assumed that the length of a ballot was the number of candidates in the profile. We now allow users to choose what the maximum Borda score is, and make the default that it checks the PrefProfile for the maximum ballot length.

  • we added a max_ballot_length parameter to the PrefProfile object, which defaults to the longest observed ballot.

@cdonnay cdonnay requested a review from peterrrock2 January 9, 2025 22:24
@cdonnay cdonnay added this to the 3.1.0 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant