Hello everyone!
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