Incorrect percentages for multiple selection polls[bug] #485
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#485
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
OTP
Extra details
No response
Version
No response
PostgreSQL version
No response
What were you trying to do?
View results of a remote multiple selection poll from AkkomaFE and from Husky, using fedi.criminallycute.fi
What did you expect to happen?
The individual options' percentages to be shown as the percentage of people who voted for that option, with the total exceeding 100% due to it being a poll where people can vote for multiple options at the same time.
This is the way it is displayed on Mastodon.
I also think that might be how it worked on Akkoma in the past, but I'm not 100% sure.
What actually happened?
Percentages are shown as the percentage of individual votes, showing numbers which are too low. Same incorrect numbers are shown on Husky and AkkomaFE, hinting at this being a backend issue.
Logs
No response
Severity
I can manage
Have you searched for this issue?
I'm not the instance admin, that'd be @siina@fedi.criminallycute.fi
I also got incorrect percentages with Moshidon like "120%".
If it just happens with Mastodon-tailored apps on multi-option polls, this is #190
iiuc #190 shouldn’t affect akkoma-fe though, but without more logs it’s basically impossible to tell if the numbers OP reported for akkoma-fe are actually due to a bug or just normal federation desync