vocdoni / votecaster

A farcaster frame for voting with Vocdoni a.k.a. Votecaster
https://votecaster.io
GNU Affero General Public License v3.0
7 stars 1 forks source link

Fix how delegated votes are counted in the results (UI) #188

Open ferranrego opened 2 months ago

ferranrego commented 2 months ago

Currently, only 1 vote per delegate is being counted when a user with delegated votes participate in a poll.

However, this approach leads to a significantly lower reported voter participation, as its not counting all the votes

To address this, we should include all votes in the UI (Frame and Participant Turnout block). For example, if a delegate has 5 votes, each with a weight of 10, their participation should be recorded as 5 votes with a total weight of 50.

ferranrego commented 2 months ago

After looking into this problem, we realized that when a user delegates their votes, this user is taken off the census list, so the percentage of voters (turnout) is calculated correctly and will not affect the results.

ferranrego commented 2 months ago

cc/ @p4u