automatically calculate_scores from commit 26e6b6fbd9a013c405dadd63503776d3c199b5bb