Click here to Skip to main content
13,356,787 members (77,779 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


42 bookmarked
Posted 16 Mar 2010

Code Project Rating and Reputation FAQ

, 24 Jun 2011
Rate this:
Please Sign up or sign in to vote.
This is an FAQ for the ratings and reputation sytems on Code Project. It can be modified by any Silver member.
This is an old version of the currently published article.

Table of Contents

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. If you place a low vote you will be asked to include a comment on why you are giving the author that vote. A vote with no message doesn't help an author. A vote and a 'this is why I voted bad' helps an author improve. A high vote is just a "Thanks - well done!" and doesn't really require a comment suggesting improvements.

    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 Wt = 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:

    Wt = 4 + 1 = 5
    Vt = 4 x 5 + 1 x 1 = 21
    R = 4.2

    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 2 standard deviations from the weighted raw score. The final score displayed is the weighted score using only unfiltered votes.

    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.

Code Project Reputation

  1. What is it?
  2. 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.

  3. How many points are given or lost for particular actions?
  4. While this system is now mostly finalised, we welcome feedback and may tweek the points from time to time. For a uses live data report on the Reputation scales, go here: Member Reputation System

  5. How does a member's level affect how many points are awarded for a reputation event?
  6. 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.


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 United States
No Biography provided
Group type: Organisation

5 members

You may also be interested in...


Comments and Discussions

Discussions on this specific version of this article. Add your comments on how to improve this article here. These comments will not be visible on the final published version of this article.
PraiseVery good Article, very useful project to start. Pin
cdavide75@gmail.com15-Dec-17 0:44
membercdavide75@gmail.com15-Dec-17 0:44 
GeneralMy vote of 5 Pin
san2debug12-Nov-17 17:35
professionalsan2debug12-Nov-17 17:35 
AnswerSuper ! Pin
simulateurapl4-Nov-16 15:47
membersimulateurapl4-Nov-16 15:47 
QuestionWhich rating is considered as downvote? Pin
Rasik Bihari Tiwari3-Nov-16 19:53
professionalRasik Bihari Tiwari3-Nov-16 19:53 
GeneralMy vote of 1 Pin
Member 1137014630-Aug-16 21:49
memberMember 1137014630-Aug-16 21:49 
QuestionRating system itself gets 2 stars Pin
jmueller21-Jan-16 10:10
memberjmueller21-Jan-16 10:10 
AnswerRe: Rating system itself gets 2 stars Pin
Petr Abdulin25-May-17 1:33
memberPetr Abdulin25-May-17 1:33 
QuestionNice, but Model exposed in VM interface? Pin
halotron7720-Jan-16 1:55
memberhalotron7720-Jan-16 1:55 
GeneralNice Job, Good simple solution Pin
dtoland28-Sep-15 5:56
memberdtoland28-Sep-15 5:56 
QuestionReputation while updating an article Pin
ppolymorphe8-Jun-15 5:05
memberppolymorphe8-Jun-15 5:05 
GeneralMy vote of 5 Pin
Akhil Mittal 28-May-15 21:32
mvp Akhil Mittal 28-May-15 21:32 
Questionhelpfull article Pin
Member 1156415629-Mar-15 3:02
memberMember 1156415629-Mar-15 3:02 
GeneralMy vote of 5 Pin
Member 113271074-Mar-15 17:30
memberMember 113271074-Mar-15 17:30 
Question# of Download or Bookmark Pin
Mahsa Hassankashi31-Jan-15 11:44
mvpMahsa Hassankashi31-Jan-15 11:44 
GeneralMy vote of 5 Pin
Mahsa Hassankashi30-Jan-15 11:04
mvpMahsa Hassankashi30-Jan-15 11:04 
GeneralMy vote of 5 Pin
Dinesh Patra10-Oct-14 5:45
memberDinesh Patra10-Oct-14 5:45 
QuestionWhat if a user downvotes all contributions of a particular other user? Pin
Stefan_Lang16-Sep-14 4:20
memberStefan_Lang16-Sep-14 4:20 
AnswerRe: What if a user downvotes all contributions of a particular other user? Pin
Stefan_Lang16-Sep-14 21:26
memberStefan_Lang16-Sep-14 21:26 
QuestionHow do I mark a vote/comment for deletion? Pin
Michael Gazonda20-Aug-14 7:46
memberMichael Gazonda20-Aug-14 7:46 
GeneralMy vote of 1 Pin
sureshchengaiyan5-May-14 2:44
membersureshchengaiyan5-May-14 2:44 
GeneralMessage Closed Pin
16-Feb-14 20:56
professionalPBGuy16-Feb-14 20:56 
GeneralA big thanks Pin
Thales Sarczuk4-Oct-13 11:46
memberThales Sarczuk4-Oct-13 11:46 
QuestionCode Project Rating and Reputation FAQ Pin
Dhishoom13-Jul-13 6:44
professionalDhishoom13-Jul-13 6:44 
AnswerRe: Code Project Rating and Reputation FAQ Pin
Dave Clemmer4-Oct-13 8:12
professionalDave Clemmer4-Oct-13 8:12 
QuestionMember regarding Reputation Pin
ridoy6-Nov-12 8:45
memberridoy6-Nov-12 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin 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.180111.1 | Last Updated 24 Jun 2011
Article Copyright 2010 by CodeProject
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid