• total_votes seems inaccurate sometimes

    From Nightfox@VERT/DIGDIST to Digital Man on Fri Aug 4 19:58:34 2017
    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).ććNightfoxćć---ć ž Synchronet ž Digital Distortion: digitaldistortionbbs.comć
  • From Digital Man@VERT to Nightfox on Sat Aug 5 00:27:32 2017
    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 = <5875C2C1.29.dove-hobby@kk4qbn.synchro.net>ćć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 ž [vert/cvs/bbs].synchro.netć
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Aug 5 12:54:00 2017
    Re: total_votes seems inaccurate sometimesć By: Digital Man to Nightfox on Sat Aug 05 2017 12:27 amćć DM> So I suspect that you may have some duplicate votes or out-of-order votesć DM> (votes received before the poll)? Or some other oddity that is causingć DM> this with that particular poll. Do you see this same problem with otherć DM> 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).ććNightfoxćć---ć ž Synchronet ž Digital Distortion: digitaldistortionbbs.comć
  • From Digital Man@VERT to Nightfox on Sat Aug 5 13:45:43 2017
    Re: total_votes seems inaccurate sometimesć By: Nightfox to Digital Man on Sat Aug 05 2017 12:54 pmćć > Re: total_votes seems inaccurate sometimesć > By: Digital Man to Nightfox on Sat Aug 05 2017 12:27 amć >ć > DM> So I suspect that you may have some duplicate votes or out-of-orderć > DM> votes (votes received before the poll)? Or some other oddity that isć > DM> causing this with that particular poll. Do you see this same problemć > DM> 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).ććCool, glad you found it.ćć digital manććSynchronet/BBS Terminology Definition #30:ćISDN = Integrated Services Digital NetworkćNorco, CA WX: 86.5ųF, 48.0% humidity, 6 mph ESE wind, 0.00 inches rain/24hrsć---ć ž Synchronet ž Vertrauen ž Home of Synchronet ž [vert/cvs/bbs].synchro.netć