Skip to content

Conversation

@wrefgtzweve
Copy link
Member

No description provided.

@wrefgtzweve wrefgtzweve requested a review from Copilot October 21, 2025 23:29
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug where vote percentages were not accounting for vote multipliers. Previously, the code counted each voter equally (1 vote per voter), but now it properly calculates vote power by multiplying the base vote count by each voter's multiplier.

Key changes:

  • Modified percentage calculation to use vote power (base vote × multiplier) instead of simple voter count
  • Added vote multiplier tracking in vote data structure
  • Added logic to recreate voter panels when multipliers change

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@wrefgtzweve wrefgtzweve requested a review from Copilot October 21, 2025 23:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@wrefgtzweve wrefgtzweve merged commit dcf9c2f into main Oct 22, 2025
1 check passed
@wrefgtzweve wrefgtzweve deleted the fix-percentage-mults branch October 22, 2025 04:46
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.

3 participants