Hi DM,
SlyVote has a "stats" feature which shows some statistics on the polls that might be of interest, and one thing it shows is the total number of votes for each poll and their options with the highest (unique) number of votes. For the number of votes, it displays the total_votes property of the message header, but it seems that isn't always accurate. For instance, in the Dove-Net Hobbies sub-board, there's the poll "What is your favorite hobby?" The total_votes has a value of 5 on my system, but there are 9 votes on the poll (one the first answer has 2 votes and the 3rd answer has 7 votes).
So I suspect that you may have some duplicate votes or out-of-order votes (votes received before the poll)? Or some other oddity that is causing this with that particular poll. Do you see this same problem with other polls?
Re: total_votes seems inaccurate sometimes
By: Digital Man to Nightfox on Sat Aug 05 2017 12:27 am
So I suspect that you may have some duplicate votes or out-of-order votes (votes received before the poll)? Or some other oddity that is causing this with that particular poll. Do you see this same problem with other polls?
It turns out it was a bug in SlyVote. For the stats screen, it sorts the polls by number of votes (highest number of votes first), and I had a comparison where I made a typo, using = instead of ==. I have fixed that and committed it to CVS (along with a few other updates).
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 578 |
Nodes: | 8 (0 / 8) |
Uptime: | 02:49:04 |
Calls: | 10,736 |
Files: | 5 |
Messages: | 443,450 |