automatically calculate_scores from commit 9b4793d25cebc9cc214a35cc062b47c20f7f23b5