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

Add support for pyrankvote, multiple voting strategies, integration with MongoDB #9

Merged
merged 11 commits into from
May 10, 2023

Conversation

aditeyabaral
Copy link
Owner

@aditeyabaral aditeyabaral commented May 8, 2023

Changelog

  • Refactored code to work with pyrankvote
  • Change database from PostgreSQL to MongoDB
  • Support for multiple voting strategies: Instant Runoff, Preferential Block and Single Transferable Block Voting for electing both a single candidate as well as multiple candidates
  • Addresses Auto delete elections older than 1 month from database #4 and sets a customizable TTL on all elections
  • Stricter validation of election details ensures no errors while voting
  • Updated field names for better readability
  • Minor refactoring of code blocks into classes

@aditeyabaral aditeyabaral requested a review from abaksy May 9, 2023 18:07
@aditeyabaral aditeyabaral marked this pull request as ready for review May 10, 2023 07:23
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.

None yet

2 participants