Page MenuHomePhabricator

PollNY percentage is above 100%
Open, LowPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Enable PollNY
  • Make it into an embed
  • Wait for some votes, and it goes crazy

What happens?:
The vote percentage goes off the roof, hitting a high number (above 100%)
(As seen in https://tuscriaturas.miraheze.org/wiki/El_Bestiario_del_Hypogripho_Dorado)

What should have happened instead?:
Showing the accurate percentage

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc: 1.36.2

Event Timeline

Restricted Application added subscribers: RhinosF1, Reception123, Aklapper. · View Herald Transcript

The vote has 3 votes, but shows (2376923076923%) yes, I'm serious

ashley subscribed.

I can't reproduce this on the linked page, even after action=purgeing it, nor on the actual Poll: page (https://tuscriaturas.miraheze.org/wiki/Poll:%C2%BFQu%C3%A9_te_gustar%C3%ADa_que_mejore_el_Bestiario%3F) ...but truth be told I'm hardly surprised to see something like this happen.

Would have been interesting to know what was in the DB when this occurred, but either way, it shouldn't be too hard to add some quick sanity checks for "do the totals make any sense at all? no? then fall back to something remotely sensible" to PollNY, hence leaving this task open.

Not sure why were being pinged. This task is subscribed and in my project. There doesn't seem to be anything actionable for us here.

Thought you could see database logs, no?

We can't reconstruct a DB to a specific point in time no