Be a Supporter!

Ng Voting Algorithm [math]!!

  • 469 Views
  • 20 Replies
New Topic Respond to this Topic
DarkFireball
DarkFireball
  • Member since: Sep. 11, 2001
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Ng Voting Algorithm [math]!! 2008-08-30 13:31:20 Reply

Hey guys, Darkfireball here.

Today we're going to talk about the Newgrounds Voting Algorithm to confirm which is correct.

Originally I assumed that the voting worked like this:

Small numbers for simplicity
5 voters0, all have voting power 1.0, 4 vote 2, 1 votes 5.

(2x1.0)+(2x1.0)+(2x1.0)+(2x1.0)+(5x1.0) = 13votepoints / 5total votes = 2.6.
Which to the average person would seem correct.

Now lets give one of the voters that voted 2 a voting power of 3.2.
5 voters, 1 votes 5 with voting power 1.0, 3 vote 2 with voting power 1.0, 1 votes 2 with voting power of 3.2

(2x1.0)+(2x1.0)+(2x1.0)+(2x3.2)+(5x1.0) = 17.4votepoints / 5 total votes = 3.48

Lets assess what happened. Math allows us to reverse the multiplication process, meaning a vote of 2 with a voting power of 3.2 can also be seen as a vote of 3.2 with a voting power of 2.0. This made the score of the submission rise, when a stronger 2 should have lowered the score.

Now, this looks wrong, but notice how we re-did the INITIAL score of the video.

Lets do this again, but working off of what we have.
(2x1.0)+(2x1.0)+(2x1.0)+(2x3.2)+(5x1.0) = 17.4votepoints / 5 total votes = 3.48 is the established score. 3.48.

1 New voter: voting power 1.0, votes 4. We should see the score rise slightly.
17.4 votepoints + (4x1.0) = 21.4 votepoints / 6 = 3.56. Hey what do you know. This looks correct, but it isn't.
========================================
========================================
=============
A vote on Newgrounds.com is not worth VOTEPOINTS, but actual Votes. The actual number of votes must increase.
========================================
========================================
=============
Lets do this. 3 people, one votes 1 worth 2 votes. one votes 3 worth 4.2 votes. one votes 5 worth 2.8 votes.
Newgrounds, by my assumption, must use 2 vote variables per submission. One for calculation, one to show how many users voted.
(1x2.0)+(3x4.2)+(5x2.8)= 2+12.6+14 = 28.6 totalvotepoints / 9 totalvotes(by WEIGHT only) = 3.17777. This would show only 3 votes on the submission page.

Lets build on this and confirm it. I come along, with a voting power of 4.9. I vote 5.

28.6 totalvotepoints+(5x4.9) = 53.1 totalvotepoints / 13.9 totalvotes(by WEIGHT only) = 3.820. This would show only 4 votes on the submission oage.

And We have a winner!
[( votepoints x voteworth ) / voteworth]

I was bored. Thanks for reading and hopefully this was informative.


WARHAMMER ONLINE SCENARIO TRICK
Earn THOUSANDS more experience!!
http://www.progressiongames.com

Doberman
Doberman
  • Member since: Apr. 27, 2007
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:32:21 Reply

Doberman7 does not want to learn.
Doberman7 does not want to learn.
Doberman7 does not want to learn.

xports
xports
  • Member since: Jun. 14, 2008
  • Offline.
Forum Stats
Member
Level 17
Gamer
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:32:49 Reply

Eww...do not bring school to NG...


Now with 100% more Steam! lI Minecraft you say? 63.246.149.6 II XBL: WorseThanMonday II

BBS Signature
g0t
g0t
  • Member since: Aug. 25, 2003
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:33:59 Reply

Pretty impressive that you actually sat down and did the math.

I'm not impressed at the level of mathematics, just that you had enough time to do that.


Gooch for MOD 09'

BBS Signature
satanbrain
satanbrain
  • Member since: Dec. 6, 2007
  • Offline.
Forum Stats
Member
Level 42
Melancholy
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:36:30 Reply

that's why i always vote 0


(הֲבֵל הֲבָלִים אָמַר קֹהֶלֶת, הֲבֵל הֲבָלִים הַכֹּל הָבֶל. דּוֹר הֹלֵךְ וְדוֹר בָּא, וְהָאָרֶץ לְעוֹלָם עֹמָדֶת. (קהלת א ג, ה

BBS Signature
gizmo12345
gizmo12345
  • Member since: Oct. 29, 2006
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:37:40 Reply

At 8/30/08 01:32 PM, doberman7 wrote: Doberman7 does not want to learn.
Doberman7 does not want to learn.
Doberman7 does not want to learn.

doberman7 does not want to learn

neither do i

BBS Signature
Xaxrox
Xaxrox
  • Member since: Feb. 9, 2007
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:39:05 Reply

Oh fuck this. While I read it and kind of understood, I still have three days before school, so leave me alone.

DarkFireball
DarkFireball
  • Member since: Sep. 11, 2001
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:45:53 Reply

Why the hell didnt my strong work??

I think I was ending with instead of no /.

Damnit.


WARHAMMER ONLINE SCENARIO TRICK
Earn THOUSANDS more experience!!
http://www.progressiongames.com

thenewbies
thenewbies
  • Member since: Aug. 2, 2007
  • Offline.
Forum Stats
Member
Level 20
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 13:54:19 Reply

TL; DR for those who are too lazy to understand: the higher your voting power is, the larger of an impact you have on the score of that submission.


BBS Signature
W0oJ0o
W0oJ0o
  • Member since: Sep. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:02:15 Reply

LOL YOU DUMBASS

you fail at math

heres where you went wrong:

"Lets do this again, but working off of what we have.
(2x1.0)+(2x1.0)+(2x1.0)+(2x3.2)+(5x1.0) = 17.4votepoints / 5 total votes = 3.48 is the established score. 3.48"

you dont divide by 5 votes
since one guy had a voting power of 3.2, he counts as 3.2 votes, not one.

So its actually 17.4/2.4 = 2.41
which is correct
and reasonable
and how it actually works...

W0oJ0o
W0oJ0o
  • Member since: Sep. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:03:18 Reply

sorry i meant * 17.4/7.2=2.41667

Objection
Objection
  • Member since: Oct. 16, 2007
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:05:21 Reply

At 8/30/08 01:54 PM, thenewbies wrote: TL; DR for those who are too lazy to understand: the higher your voting power is, the larger of an impact you have on the score of that submission.

Tell me something I don't know!

W0oJ0o
W0oJ0o
  • Member since: Sep. 23, 2005
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:05:23 Reply

O i am sorry, i should have read your whole post lol
my bad

DarkFireball
DarkFireball
  • Member since: Sep. 11, 2001
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:27:27 Reply

Lol w0oj0o... I was about 5 seconds from telling you to read the whole post about LEARNING how it works, showing an example, and then showing its wrong.

You earned my respect by replying again tho, thanks man.


WARHAMMER ONLINE SCENARIO TRICK
Earn THOUSANDS more experience!!
http://www.progressiongames.com

thenewbies
thenewbies
  • Member since: Aug. 2, 2007
  • Offline.
Forum Stats
Member
Level 20
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:47:20 Reply

At 8/30/08 02:03 PM, W0oJ0o wrote: sorry i meant * 17.4/7.2=2.41667

LOL YOU DUMBASS
You fail at math

-W0oJ0o


BBS Signature
EmmDubya
EmmDubya
  • Member since: Feb. 23, 2008
  • Offline.
Forum Stats
Member
Level 22
Audiophile
Response to Ng Voting Algorithm [math]!! 2008-08-30 14:48:44 Reply

At 8/30/08 01:32 PM, doberman7 wrote: Doberman7 does not want to learn.
Doberman7 does not want to learn.
Doberman7 does not want to learn.

Doberman7 does not want to learn?
Mwmike wants to learn but just can't be bothered.


Formerly known as mwmike | I'm moderately active on last.fm | Before you post, read these. Please.

BBS Signature
Foolmoron
Foolmoron
  • Member since: Oct. 17, 2005
  • Offline.
Forum Stats
Member
Level 24
Game Developer
Response to Ng Voting Algorithm [math]!! 2008-08-30 15:09:06 Reply

So that whole post was explaining what everyone already knew

A voting power of 5 is like voting 5 times with that score, etc.


BBS Signature
Mz-frost95-fr
Mz-frost95-fr
  • Member since: Jun. 17, 2007
  • Offline.
Forum Stats
Member
Level 25
Melancholy
Response to Ng Voting Algorithm [math]!! 2008-08-30 15:10:46 Reply

Yes there are many many ways.

g0t
g0t
  • Member since: Aug. 25, 2003
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to Ng Voting Algorithm [math]!! 2008-08-30 16:36:12 Reply

At 8/30/08 02:02 PM, W0oJ0o wrote: heres where you went wrong:

"Lets do this again, but working off of what we have.
(2x1.0)+(2x1.0)+(2x1.0)+(2x3.2)+(5x1.0) = 17.4votepoints / 5 total votes = 3.48 is the established score. 3.48"

you dont divide by 5 votes
since one guy had a voting power of 3.2, he counts as 3.2 votes, not one.

So its actually 17.4/2.4 = 2.41
which is correct
and reasonable
and how it actually works...

Actually, his 1 vote has the value of 3.2 people. So really, you're the one that fails.


Gooch for MOD 09'

BBS Signature