13,548,896 members
Add your own
alternative version

Stats

217.9K views
42 bookmarked
Posted 16 Mar 2010
Licenced CPOL

Code Project Rating and Reputation FAQ

, 30 Jan 2015
This is an FAQ for the ratings and reputation sytems on Code Project. It can be modified by any Silver member.

Code Project Mechanics

1. How does voting on articles this work?

The voting system for articles is meant to guide readers to the best articles and advise authors on where they need improvement.

Votes are tied to messages. If a voter votes low and leaves a spurious comment (eg. 'asdf') then other members can report that comment as inappropriate and the comment and the vote will be removed.

2. How are ratings calculated?

Articles, messages and many other items on The Code Project have associated with them a Vote Total (Vt), a Weight Total (Wt), and a number of votes (N). When a member votes, the system adds the weight of their vote (dependent on membership level) to Wt, and the rating itself multiplied by their weight to Vt. The rating of an item is then (R = Vt / Wt).

If everyone has a weight of 1 then (W_t = N), and (R = Vt / N). Having differing weights, though, means that when a gold member (weight = 4) and bronze member (weight = 1) vote, the vote is weighted towards the gold:

Assume Gold votes 5 and Bronze votes 1:

\begin{aligned} W_t & = 4 + 1 = 5 \\ V_t & = 4 \times 5 + 1 \times 1 = 21 \\ R & = 4.2 \end{aligned}

For a ridiculously indepth analysis please read Is CodeProject's Voting system really smart?

3. What happens when some user votes 1?

If someone votes you down in an article and leaves a voting comment, then you can mark that comment for removal and if enough people vote for the voting comment to be removed, the comment and the down-vote are removed.

4. Why do I sometimes see a message in the ratings histogram saying some votes were removed?

If an awesome article gets 50 "5" votes and then a single "1" vote our thinking is "something's wrong". Not all members play nice so we filter out spurious or malicious votes that are further than a certain deviations from the weighted raw score. The final score displayed is the weighted score using only unfiltered votes.

The actual acceptable deviation from the mean that is used to filter votes is calculated as 1.75 x the standard deviation, and then increased to ensure that voting values on either side of the mean can still be voted.

A second round analysis then kicks in which looks at the votes in each column to see if a rating value should be re-included. Suppose an article has 50 votes of 5 and 10 votes of 1. Clearly something's going on. The system will look at the types of votes in each column and re-include each column that has at least 5 votes from a silver (or greater) member.

Filtering only kicks in once there are 10 votes to an article, and due to historical reasons not all ratings can be treated accurately due to our systems only having full rating data since 2003.

Note that filtering of votes only affects the score. All reputation points awarded (and lost!) through votes still apply, regardless of whether a vote is filtered from the score or not. Also remember that each time you vote the mean and deviation are recalculated and will change. A set of false 1 votes on an article that deserves a 5 will initially have the first few (correcting) 5 votes filtered out, but soon enough when sufficient 5 votes are posted, or members with high enough reputation post a 5 vote, the mean will be corrected and the initial spurious 1 votes will be filtered out in turn.

The calculated mean and accepted deviation are displayed in the rating histogram as μ and σa.

Code Project Reputation

Reputation is something you gain - or lose - as you contribute to our communal knowledge base. Posting an article increases your reputation, but posting a bad article that other members down- vote decreases your reputation. If your goal is to increase your reputation then write good articles, vote for other good articles, hope that others in turn vote for your articles, and help out by organising and cleaning up the questions and answers. Vote them up, answer questions, or edit questions and answers that need a little help.

While this system is now mostly finalised, we welcome feedback and may tweak the points from time to time. For a uses live data report on the Reputation scales, go here: Member Reputation System

It's controlled by the weights assigned. If member who has higher level votes for, say, an article then more points are awarded to the article author rather than if lower level member voted for the same article.

1. What is it?
2. How many points are given or lost for particular actions?
3. How does a member's level affect how many points are awarded for a reputation event?

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

 Software Developer The Code Project United States
No Biography provided
Group type: Organisation

5 members

 Pro

Comments and Discussions

 FirstPrev Next
 Code Project Rating and Reputation FAQ Dhishoom13-Jul-13 5:44 Dhishoom 13-Jul-13 5:44
 Re: Code Project Rating and Reputation FAQ Dave Clemmer4-Oct-13 7:12 Dave Clemmer 4-Oct-13 7:12
 Member regarding Reputation ridoy6-Nov-12 7:45 ridoy 6-Nov-12 7:45
 Re: Member regarding Reputation Chris Maunder6-Nov-12 14:27 Chris Maunder 6-Nov-12 14:27
 Can I Remove an Accidental Vote? Robert Ranck15-May-12 5:28 Robert Ranck 15-May-12 5:28
 Re: Can I Remove an Accidental Vote? enhzflep15-May-12 7:32 enhzflep 15-May-12 7:32
 A glitch? KjellKod.cc15-Mar-12 20:02 KjellKod.cc 15-Mar-12 20:02
 Some bored people are downvoting solutions without reason. Björn Ranft15-Mar-12 3:15 Björn Ranft 15-Mar-12 3:15
 Hi, it happens serveral times to me (I've also seen it at other solutions from members) that someone is downvoting all solutions (1) without any reason. I'm asking me why and how to prevent this? i.e. Find the Mac id Of client Machine[^] With Best Regardsmodified 15-Mar-12 16:48pm.
 Re: Some negative people are downvoting solutions without reason. Chris Maunder15-Mar-12 5:15 Chris Maunder 15-Mar-12 5:15
 Error while voting Cholo24-Jan-12 8:28 Cholo 24-Jan-12 8:28
 Re: Error while voting Chris Maunder24-Jan-12 8:34 Chris Maunder 24-Jan-12 8:34
 Re: Error while voting Cholo24-Jan-12 8:58 Cholo 24-Jan-12 8:58
 privileges decided based on number of points? Pankaj Chamria17-Jan-12 22:57 Pankaj Chamria 17-Jan-12 22:57
 Re: privileges decided based on number of points? jth4214-Dec-13 4:13 jth42 14-Dec-13 4:13
 Who votes high or low? TCP_JM11-Sep-11 20:07 TCP_JM 11-Sep-11 20:07
 Re: Who votes high or low? Chris Maunder12-Sep-11 5:00 Chris Maunder 12-Sep-11 5:00
 Re: Who votes high or low? TCP_JM12-Sep-11 19:48 TCP_JM 12-Sep-11 19:48
 Re: Who votes high or low? Chris Maunder13-Sep-11 1:09 Chris Maunder 13-Sep-11 1:09
 Re: Who votes high or low? TCP_JM14-Sep-11 3:52 TCP_JM 14-Sep-11 3:52
 Info about total reputation Mario Majcica27-Jun-11 23:40 Mario Majcica 27-Jun-11 23:40
 Re: Info about total reputation Chris Maunder28-Jun-11 1:55 Chris Maunder 28-Jun-11 1:55
 Last Visit: 31-Dec-99 18:00     Last Update: 20-May-18 7:58 Refresh 12

General    News    Suggestion    Question    Bug    Answer    Joke    Praise    Rant    Admin

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.180515.1 | Last Updated 30 Jan 2015
Article Copyright 2010 by CodeProject
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid