rankings wip
fixed rating calculator to work with ratings dict