Subj : total_votes seems inaccurate sometimes
To : Nightfox
From : Digital Man
Date : Sat Aug 05 2017 12:27 am
Re: total_votes seems inaccurate sometimes
By: Nightfox to Digital Man on Fri Aug 04 2017 07:58 pm
> 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).
That poll here only has 7 votes:
����������������������������
� Subj: Whats your favorite hobby?
� Attr: Replied Poll
� From: KK4QBN (KK4QBN)
� Date: Wed Jan 11 2017 12:29 am EST (6.9 months ago)
�����������������������������������������������������
stuff like RC planes, etc. Amateur Radio, BBSING,
1: RC Planes, Helicopters, Multirotors [2 29%]
2: Ham Radio [0 0%]
3: BBSing [5 71%] �
Additionally, I've checked the msgs JS representation, and the total_votes
property value is also 7:
total_votes = 7
upvotes = 2
tally = 2,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0
number = 1453
offset = 0
to =
from = KK4QBN
subject = Whats your favorite hobby?
id = <
[email protected]>
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?
digital man
Synchronet/BBS Terminology Definition #42:
SCFG = Synchronet Configuration Utility
Norco, CA WX: 69.7�F, 65.0% humidity, 2 mph S wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net