Find some values, make a table of the website ratings vs your ratings and fit a polynomial to it.
For e.g. if you want to do this for codechef then
Where x are the ratings on codechef and y are databread ratings(assumed). Now take more such values and fit a polynomial to it.