You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Abstain only exists for board&council ballots. Therefore this bug happens only for board&council ballots.
When a voter is recasting the votes, and voters don't want to use all of their 5 YES votes again and submit the abstain command, Memberbot may still include "yes" votes from the previous voting session. It seems to delete only the previous vote at the position you abstain. Some other previous yes votes remain in the results.
The described issue only when in the previous voting session more YES votes were used then in the recast session.
I think the problem is here in the Abstain function where is deletes only 1 YES vote:
In the context of a board and council election abstain means:
I do not want to elect more applicants into either board or council
So I think we need to delete the current and all subsequent array items. Or change the whole logic and clear the previous votes completely at the right time in the recast session.
The text was updated successfully, but these errors were encountered:
Description:
Abstain only exists for board&council ballots. Therefore this bug happens only for board&council ballots.
When a voter is recasting the votes, and voters don't want to use all of their 5 YES votes again and submit the abstain command, Memberbot may still include "yes" votes from the previous voting session. It seems to delete only the previous vote at the position you abstain. Some other previous yes votes remain in the results.
The described issue only when in the previous voting session more YES votes were used then in the recast session.
I think the problem is here in the Abstain function where is deletes only 1 YES vote:
memberbot/memberbot/voting.py
Lines 185 to 194 in b46a4c1
In the context of a board and council election abstain means:
I do not want to elect more applicants into either board or council
So I think we need to delete the current and all subsequent array items. Or change the whole logic and clear the previous votes completely at the right time in the recast session.
The text was updated successfully, but these errors were encountered: