Click here to Skip to main content
Click here to Skip to main content
 

Code Project Rating and Reputation FAQ

By , 16 Mar 2010
 

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 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.

    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 and popularity. 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

  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 tweak 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.

License

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

About the Author

The Code Project
Software Developer The Code Project
Canada Canada
Member
Organisation
16 members

No Biography provided

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionCan I Remove an Accidental Vote?memberRobert Ranck5:28 15 May '12  
After reading a comment on an article, I wanted to return to the first page of comments, but accidentally clicked on the 1 that voted on the comment rather than the 1 that was just below it to return to the first page. Can I remove that vote?
AnswerRe: Can I Remove an Accidental Vote?memberenhzflep7:32 15 May '12  
You can change your vote, but I don't believe you can 'un-vote'.
QuestionA glitch?memberKjellKod.cc20:02 15 Mar '12  
I wonder if this is a tiny glitch or did the internal "ratings" of the people that voted change so for that reason the article grading is "fluctuating" in a non-obvious way.
 
Let me explain:
2 votes for 3,
2 votes for 4 and
16 votes for 5 gave an article rating of 4.33.
 
Later on the article get one more vote for 5 but no (to me) apparent change of the other grading. Then with the new 5-vote the rating went from 4.33 down to 4.28.
 
So a higher vote decreased the total rating? This I can understand if someones "reputation" point changed. Either a 5-voter got lower reputation or a 3-voter got higher reputation.
 
Either way to me it is unintuitive. Oh, and I did take some snapshots of this weird behaviour but I do not know how to upload them to this reply (if even possible)
 
Chers
Kjell
QuestionSome bored people are downvoting solutions without reason. [modified]memberBjörn Ranft3:15 15 Mar '12  
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 Regards

modified 16:48 15 Mar '12.

AnswerRe: Some negative people are downvoting solutions without reason.adminChris Maunder5:15 15 Mar '12  
The abusive member has been removed. As have the votes.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

QuestionError while votingmemberCholo8:28 24 Jan '12  
I made a mistake when voting a comment. Is it possible to change or invalidate the vote value?
AnswerRe: Error while votingadminChris Maunder8:34 24 Jan '12  
Refresh the page and revote.
cheers,
Chris Maunder
 
The Code Project | Co-founder
Microsoft C++ MVP

GeneralRe: Error while votingmemberCholo8:58 24 Jan '12  
Thanks! problem solved. Best regards
Questionprivileges decided based on number of points?memberPankaj Chamria22:57 17 Jan '12  
Are privileges (what I can do or not do) decided based on how many points I have? If so is there an article which specifies which privileges will be enabled at what levels?
Pankaj Chamria,
Software Developer.

SuggestionWho votes high or low?memberTCP_JM20:07 11 Sep '11  
Hi Chris,
 
I would like to ask you if it's possible to reveal who voted high and especially "who voted low without leaving a message".
 
It's very well said in the 'Code Project Rating and Reputation FAQ':
"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."
 
And I think that this is the right statement for messages in the message boards, too.
 
I'm a little annoyed about people who are hiding behind the anonymity of this voting system.
 
Don't get me wrong please: I do not doubt their right to vote bad or "low" but I doubt that this "just voting bad without leaving a reason" (=stabbing a person in his back) is helpful.
 
Thank you very much for your answer in advance.
 
Cheers,
Jochen

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.120927.1 | Last Updated 16 Mar 2010
Article Copyright 2010 by The Code Project
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid