14,935,437 members
Articles / CodeProject
Article
Posted 16 Mar 2010

(untagged)

300.2K views
45 bookmarked

# Code Project Rating and Reputation FAQ

Rate me:
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:

\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 deviation from the weighted raw score. The final score displayed is the weighted score using only filtered 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 if necessary 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. Filtering out the "1" votes doesn't make sense here because there are a group of members consistently voting 1. 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.

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. 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 "correct" 5 votes filtered out, but soon enough when a sufficient number 5 votes are posted, or members with high enough reputation post a 5 vote, the mean and acceptable deviation will be adjusted 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?

## Share

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

4 members

 First PrevNext
 My vote of 4 The Codezine9-Feb-21 1:56 The Codezine 9-Feb-21 1:56
 Very good Article, very useful project to start. cdavide75@gmail.com14-Dec-17 23:44 cdavide75@gmail.com 14-Dec-17 23:44
 My vote of 5 san2debug12-Nov-17 16:35 san2debug 12-Nov-17 16:35
 Super ! simulateurapl4-Nov-16 14:47 simulateurapl 4-Nov-16 14:47
 Which rating is considered as downvote? Rasik Bihari Tiwari3-Nov-16 18:53 Rasik Bihari Tiwari 3-Nov-16 18:53
 My vote of 1 Member 1137014630-Aug-16 20:49 Member 11370146 30-Aug-16 20:49
 Rating system itself gets 2 stars jmueller21-Jan-16 9:10 jmueller 21-Jan-16 9:10
 Re: Rating system itself gets 2 stars Petr Abdulin25-May-17 0:33 Petr Abdulin 25-May-17 0:33
 Nice, but Model exposed in VM interface? halotron7720-Jan-16 0:55 halotron77 20-Jan-16 0:55
 Nice Job, Good simple solution dtoland28-Sep-15 4:56 dtoland 28-Sep-15 4:56
 Reputation while updating an article Patrice T8-Jun-15 4:05 Patrice T 8-Jun-15 4:05
 My vote of 5 Akhil Mittal 28-May-15 20:32 Akhil Mittal 28-May-15 20:32
 My vote of 5 Member 113271074-Mar-15 16:30 Member 11327107 4-Mar-15 16:30
 # of Download or Bookmark Mahsa Hassankashi31-Jan-15 10:44 Mahsa Hassankashi 31-Jan-15 10:44
 My vote of 5 Mahsa Hassankashi30-Jan-15 10:04 Mahsa Hassankashi 30-Jan-15 10:04
 My vote of 5 Dinesh Patra10-Oct-14 4:45 Dinesh Patra 10-Oct-14 4:45
 What if a user downvotes all contributions of a particular other user? Stefan_Lang16-Sep-14 3:20 Stefan_Lang 16-Sep-14 3:20
 Re: What if a user downvotes all contributions of a particular other user? Stefan_Lang16-Sep-14 20:26 Stefan_Lang 16-Sep-14 20:26
 How do I mark a vote/comment for deletion? Michael Gazonda20-Aug-14 6:46 Michael Gazonda 20-Aug-14 6:46
 My vote of 1 sureshchengaiyan5-May-14 1:44 sureshchengaiyan 5-May-14 1:44
 A big thanks Thales Sarczuk4-Oct-13 10:46 Thales Sarczuk 4-Oct-13 10:46
 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
 Last Visit: 31-Dec-99 18:00     Last Update: 23-Jun-21 11:24 Refresh 12 Next ᐅ