Codechef Rating Predictor

Hello everyone!

alt text

Codechef Rating Predictor

The delay in previous month rating changes + inspiration from CF Predictor and for the practice of a web-application, i tried to write a script that can predict rating changes from ongoing live contests @ Codechef.

While the actual delays in rating changes s/would be fixed, this script can help in predicting rating changes as new submissions are made, so hopefully it can be useful for Long contests :).

The script is written in nodejs and is based on open rating formulas available at this link.
The code for the project can be accessed here

Website is currently hosted on Openshift free servers and has few restrictions on use. Therefore the server might be slow or not responding during the period rating changes are calculated. Currently, ratings are expected to be updated every 15 minutes

I also tested rating changes on few past contests and the predictions were accurate within an error of 2 for almost everyone except the first rank (I have no idea why first rank predictions are wrong in some contests using current formulas)

Please note that project is still in beta stage and also actual changes might differ more due to changes in ranklist after plagiarism detection

Your feedback/suggestions would be appreciated

JUNE17 Links:

All: http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/JUNE17/all/

Long: http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/JUNE17/long/

Few stats on JUNE17 Predictions. I matched ratings (All) of first 6391 users and the results were as follows:

Difference - No of users

  • 0 - 5868
  • 1 - 275
  • 2 - 125
  • 3 - 68
  • = 4 - 55

There were around 40 users having difference > 50. Turns out some usernames appears to be missing in the ranklist when sorted by rank and hence they were showing as last in the prediction list.

I ran the code again after fixing the above bug and results are better now (Maximum difference is 8)

  • 0 - 5900
  • 1 - 485
  • = 2 - 6

COOK83 Links:

All: http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/COOK83/all/

Short: http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/COOK83/short/

The ratings are expected to update every 5 minute

Few stats, 4811/4820 predictions (for both all and cook-off predictions) were right. Rest have diff < 3 with the exception of rating prediction of first rank in cook off. Also, as @vikasj554 pointed out, few users got rating changed after initial update. (I still need to figure out why this happened). But even after this 4794/4820 predictions were accurate.

LTIME49 Links:

All: http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/LTIME49/all/

Lunchtime : http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/LTIME49/ltime/

The ratings are again expected to update every 5 minute

JULY17 Links:

All: http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/JULY17/all/

Long : http://codechef-rating-predictor.7e14.starter-us-west-2.openshiftapps.com/contest/JULY17/long/

Update frequency: 10 mins

66 Likes

That is brilliant work! I always wonder what my rank would be after the contest but codechef’s delays leave me checking in everyday only to find out the ratings have not been updated.

Thanks a lot, buddy!!

3 Likes

but the links are showing 504 GATEWAY error

The CF predictor was/is incredibly useful. I imagine this would be too.
Nice work! :slight_smile:

5 Likes

Awesome tool buddy :slight_smile:

1 Like

Excellent Work.And one small suggestion can you sort the names if possible or is there any way to find my username quickly?

1 Like

Amazing Work
Now really don’t need to much worry about my ratings change.

1 Like

starred on github.
Nice work dude.

according to this I’ll be loosing 31 points at the moment…
but great job!!!
good way to get a fair warning.

1 Like

Very nice work. To be honest, once I thought of doing this, guess I don’t need to now :). Your work is amazing. Thanks, we needed this.

1 Like

nice job mate :smiley:

1 Like

That’s some amazing work man :slight_smile:

Currently the links say “Application not available”. Excellent work by the way, I used the predictor during the June Long Challenge and it was very accurate in my case, appreciate the time you put into this.

1 Like

Exactly accurate (100%)
:smiley:

1 Like

great dude! really useful.

Very useful!! Great initiative!

Amazing app…shows perfect prediction

Amazing app…shows perfect prediction

Awesome work buddy!

1 Like

Awesome work buddy!

1 Like