#4890 - Show voting power on the leader-board block
| Identifier | #4890 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Show voting power on the leader-board block |
| Status | Completed |
| Tags |
AutonomousOrganisation (custom) Roadmap: v11 (custom) |
| Handling member | PDStig |
| Addon | points |
| Description | Add a new block option to show the following on the leader board block:
1) voting power 2) control (percentage control based on voting power relative to total voting power of all members) (2) will be particularly computational intensive (it has to evaluate over all members), however as it is running inside Cron (thanks to #2737) this should be okay, for now at least. Both '1' and '2' should show actual derivations just like the voter display does on topic polls. |
| Steps to reproduce | |
| Related to | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
For consistency, since points are stored, we should probably also calculate voting power and control upon generation of the leader-board and store alongside points in the database. That way, these values reflect voting power as they were at the time of leader-board generation and do not fluctuate when the voting power calculation settings are changed. Furthermore, while this will slightly increase load for leader-board generation, it will offset by not requiring any additional load when viewing leader-boards (since these values were already computed).
I will further enhance the efficiency by only calculating voting power once we have determined who will be on that leader-board, and only for the members who made it to the leader-board. (EDIT: can't do that; we need to know the voting power of every member to calculate voting control)