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 🙂

Exciting Updates for the month of June 2022

Updates in the Practice Section We have launched the Practice skill score. It contains Platform statistics: Where you can see the overall stats of...
surajmsharma
1 min read

We’re Celebrating Our Birthday Month, And There’s Some Exciting…

The Chef turns 13 this month, and as we step into our promising teen years, we’d like to bring you some good news.  Special...
debanjan321
1 min read

Exciting updates for February 2022

A month back we re-designed the practice landing page to improve the user experience. That was just the start of some amazing enhancements that...
surajmsharma
1 min read

26 Replies to “Rating and Ranking system on Codechef”

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

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

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

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

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

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

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

  10. 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… 😛

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

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

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

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

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

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

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