Great work Slasher! I am impressed.
Question regarding this week's ATP rankings (16-Sep-2013) after accounting for Davis cup matches played last week. I think ATP is miscalculating Davis Cup points for Berdych (ATP reports 220, I calculate 225), Stepanek (140 vs. 145), Tipsarevic (65 vs 70), Hajek (40 vs. 65), and Belucci (40 vs. 50).
Berdych, for instance, has 75 for the 2012 final, 80 for first round, and 70 for the semifinal last week, totaling 225, not 220 as ATP reports.
It seems like in some cases (Berdych, Stepanek, and Tipsarevic) ATP is giving 65 for semifinal live games instead of the correct 70.
In Hajek's case, ATP is giving 40 points for a quarterfinal live game instead of the correct 65.
In Bellucci's case, ATP is giving him 40 points for his first rounds games but he should have gotten 40 for the live win and 10 for the lost, totaling 50.
I would appreciate your input.