php - How to prevent gaming a voting system where people can vote once per day? -
i've implemented voting system videos online, wherein visitors can cast vote once in given day. use combination of email address , timestamp ensure each vote unique day.
as might guess, lead people gaming system registering throwaway email addresses @ mailinator.com , like, i'm wondering if anyone's tried implementing other voting algorithms allow multiple votes same person. in addition, setup means if video #1 has more people associated video #2, video #1 @ unfair advantage.
i'm thinking ranked system, i'm not totally sure how prevent gaming system fake email addresses. problem i'm trying solve this:
given 3 videos, a, b , x. has 5 people in it, b has 2, , x has 4.
assuming x best video of three, , people can vote every day, there voting system "b" rise top?
like said, proposed ranked system, posit if amount of #2's outnumber #1's, it's safe assume that should winner, seems incomplete.
has tackled before? keep in mind, these pretty low volume results (we average 500 votes/7 days), 2 people can make difference.
this on lamp (php) stack in shared hosting environment, if helps.
also, if you're wondering why we're allowing multiple votes same person, it's because higher ups realize helps drive traffic site, , enjoy seeing graphs go (despite fact subsequent hits pretty meaningless).
thanks in advance, , if need other information please let me know.
you're asking 2 separate things:
first, how can prevent people gaming system? pretty intractable. can raise bar placing vote, requiring registration, minimum reputation so, or other restrictions, can hope reduce cheating, not eliminate it. consider people register multiple times physical political elections, evaluate how can eliminate cheating on site.
second, how give fair quality ranking different items may have different popularity , have been around different times? 1 solution described here randall munroe. article links actual algorithm, straightforward implement.
Comments
Post a Comment