automatically calculate_scores from commit 7164935fa0155dafe07bb90a2e1d27890e2553a3