automatically calculate_scores from commit 6c7ed09d9434574d3a632e3ee80f4c1ffa0d72f1