Rating and Ranking system on Codechef

1 min read

Greetings,

Over the past few weeks we have been thinking of implementing some kind of a rating system on Codechef. We would like your opinions on a few aspects of the rating system. Some of the areas on which we would like your help are :

Fixed points for problems vs. Variable points for problems.
As of now, all our problems have a value of 1 (other than the challenge problem where only the best submission gets a value of 1 and all others get a value relative to that). Should we have the same points for all problems (other than the challenge type) or should the points for each problem vary according to the number of submissions for that problem. Along with the contest problems, this could extend to practice problems as well. So, the points awarded for solving a problem X having N users who have submitted correct solutions could be 1/N or some variant of this. If a new correct solution for one of the problems were to be submitted, we would change the points awarded for that problem accordingly. So, if someone were to solve a lot of easy problems, he/she would get less points compared to someone who would solve a really tough problem having fewer correct submissions. Any suggestions on what parameters we could consider while determining the points awarded to a problem would be welcome.

Cummulative rating vs. Dynamic rating based on ranks in a contest.
Every user would have a rating which would depend on his / her performance in a contest. There are two methods that we feel could be used for this. The first would be that the rating of the user is simply the sum of the points of the problems he / she has solved in the contest. The other method would be to base his rating on his actual rank in the contest and his expected rank based on his performance in the previous contests. If a participant performs poorly compared to his expected ranking, he would experience a rating drop and if he performs better than his expected ranking, he would get an increase in rating. Again, if you have any suggestions on what parameters we can consider while calculating the ratings for a particular user, they would be helpful.

Looking forward to your replies πŸ™‚

To turning 11

Submissions and Challenges, Errors and Bugs The Chef’s Kitchen is always hustling with its community and fresh serves! Another year older and another year...
shwetali1602
1 min read

API < br/ >

CodeChef has always believed that innovation is the change that unlocks new value. With this, in 2018, CodeChef opened its API for the community...
shwetali1602
1 min read

CodeChef DSA Student Offer

About the Offer The CodeChef DSA Certification provides the software industry a benchmark to evaluate and recruit the best programmers out there. More importantly,...
admin
1 min read

26 Replies to “Rating and Ranking system on Codechef”

  1. In regards to the variable point system we could also include such factors as: number of submissions it took to solve the problem, time it took to solve the problem, etc…

  2. In regards to the variable point system we could also include such factors as: number of submissions it took to solve the problem, time it took to solve the problem, etc…

  3. I think prefer using something like 1/ln(N) rather than than going 1/N. 1/N falls too fast. Also something like 1/ln(N*M) can be used, where M is number of submission.

  4. I think prefer using something like 1/ln(N) rather than than going 1/N. 1/N falls too fast. Also something like 1/ln(N*M) can be used, where M is number of submission.

  5. I don’t think you should take number of submissions into account. All this will do is encourage people to create multiple accounts and thus submit everything correct the first time on one account. Better to encourage people to keep trying by the fact that solving the problem in the end is all that matters.

  6. I don’t think you should take number of submissions into account. All this will do is encourage people to create multiple accounts and thus submit everything correct the first time on one account. Better to encourage people to keep trying by the fact that solving the problem in the end is all that matters.

  7. I think Dynamic rating is better option here.

    Suppose one user solve 3 problem continuously for about 50 contest. Then he will have 150 points himself.

    Now, after that 50 contest, there’s a new user who is capable of solving 5 problems in every contest,then it will take around 75 competition for the new user to match the first one (supposing both continues solving 3 and 5 problems) even though second user is better coder then first one.

    Dynamic rating would reflect a real time rating.

  8. I think Dynamic rating is better option here.

    Suppose one user solve 3 problem continuously for about 50 contest. Then he will have 150 points himself.

    Now, after that 50 contest, there’s a new user who is capable of solving 5 problems in every contest,then it will take around 75 competition for the new user to match the first one (supposing both continues solving 3 and 5 problems) even though second user is better coder then first one.

    Dynamic rating would reflect a real time rating.

  9. I think Dynamic rating is better option here.

    Suppose one user solve 3 problem continuously for about 50 contest. Then he will have 150 points himself.

    Now, after that 50 contest, there’s a new user who is capable of solving 5 problems in every contest,then it will take around 75 competition for the new user to match the first one (supposing both continues solving 3 and 5 problems) even though second user is better coder then first one.

    Dynamic rating would reflect a real time rating.

  10. I think Dynamic rating is better option here.

    Suppose one user solve 3 problem continuously for about 50 contest. Then he will have 150 points himself.

    Now, after that 50 contest, there’s a new user who is capable of solving 5 problems in every contest,then it will take around 75 competition for the new user to match the first one (supposing both continues solving 3 and 5 problems) even though second user is better coder then first one.

    Dynamic rating would reflect a real time rating.

  11. Isn’t this like very similar to Topcoder? :O
    I think SPOJ system is very good (which is what Codechef is based on)
    BTW, DirectiPlex sounds very similar to Googleplex… πŸ˜›

  12. Isn’t this like very similar to Topcoder? :O
    I think SPOJ system is very good (which is what Codechef is based on)
    BTW, DirectiPlex sounds very similar to Googleplex… πŸ˜›

  13. @Imran: for a total contest score, instead of taking the sum of scores it could be considered to do something like this: sum_{i=0}^N R^i * score_i / maxscore_i,

    where score_0 is the score in the latest contest, score_N is the score in the oldest contest, score_i = 0 if the contestant didn’t compete. R = 0.99.

    This way old contest scores lose value over time. If you consistently get maximum possible score, this will converge to 1/(1-R) = 100.

  14. @Imran: for a total contest score, instead of taking the sum of scores it could be considered to do something like this: sum_{i=0}^N R^i * score_i / maxscore_i,

    where score_0 is the score in the latest contest, score_N is the score in the oldest contest, score_i = 0 if the contestant didn’t compete. R = 0.99.

    This way old contest scores lose value over time. If you consistently get maximum possible score, this will converge to 1/(1-R) = 100.

  15. @Imran: for a total contest score, instead of taking the sum of scores it could be considered to do something like this: sum_{i=0}^N R^i * score_i / maxscore_i,

    where score_0 is the score in the latest contest, score_N is the score in the oldest contest, score_i = 0 if the contestant didn’t compete. R = 0.99.

    This way old contest scores lose value over time. If you consistently get maximum possible score, this will converge to 1/(1-R) = 100.

  16. I would prefer having the ratings to be dependent on “speed” or “time taken” rather than the number of submissions. This would surely encourage atleast me to write faster algorithms and try to micro-optimize as much as possible and at the same time keep the interest going for an already solved problem. Ofcourse the major problem might be the variety of languages being used. But maybe it’ll also encourage people to learn/know/understand the best language for a particular problem too :).
    Also I hope you will consider rating for “Challenge Problems” in a different way (as that of the score itself or rank).

    Looking forward for the rating system!

  17. I would prefer having the ratings to be dependent on “speed” or “time taken” rather than the number of submissions. This would surely encourage atleast me to write faster algorithms and try to micro-optimize as much as possible and at the same time keep the interest going for an already solved problem. Ofcourse the major problem might be the variety of languages being used. But maybe it’ll also encourage people to learn/know/understand the best language for a particular problem too :).
    Also I hope you will consider rating for “Challenge Problems” in a different way (as that of the score itself or rank).

    Looking forward for the rating system!

  18. I would prefer having the ratings to be dependent on “speed” or “time taken” rather than the number of submissions. This would surely encourage atleast me to write faster algorithms and try to micro-optimize as much as possible and at the same time keep the interest going for an already solved problem. Ofcourse the major problem might be the variety of languages being used. But maybe it’ll also encourage people to learn/know/understand the best language for a particular problem too :).
    Also I hope you will consider rating for “Challenge Problems” in a different way (as that of the score itself or rank).

    Looking forward for the rating system!

  19. I would prefer having the ratings to be dependent on “speed” or “time taken” rather than the number of submissions. This would surely encourage atleast me to write faster algorithms and try to micro-optimize as much as possible and at the same time keep the interest going for an already solved problem. Ofcourse the major problem might be the variety of languages being used. But maybe it’ll also encourage people to learn/know/understand the best language for a particular problem too :).
    Also I hope you will consider rating for “Challenge Problems” in a different way (as that of the score itself or rank).

    Looking forward for the rating system!

  20. Just don’t include Competition performance, and practice room performance to the same ratings. Sounds unfair.

  21. Just don’t include Competition performance, and practice room performance to the same ratings. Sounds unfair.

  22. Just don’t include Competition performance, and practice room performance to the same ratings. Sounds unfair.

  23. Just don’t include Competition performance, and practice room performance to the same ratings. Sounds unfair.

  24. I don't think you should take number of submissions into account. All this will do is encourage people to create multiple accounts and thus submit everything correct the first time on one account. Better to encourage people to keep trying by the fact that solving the problem in the end is all that matters.

  25. I don't think you should take number of submissions into account. All this will do is encourage people to create multiple accounts and thus submit everything correct the first time on one account. Better to encourage people to keep trying by the fact that solving the problem in the end is all that matters.

  26. I don't think you should take number of submissions into account. All this will do is encourage people to create multiple accounts and thus submit everything correct the first time on one account. Better to encourage people to keep trying by the fact that solving the problem in the end is all that matters.

Leave a Reply

Your email address will not be published. Required fields are marked *