automatically calculate_scores from commit 2624d2af8fc976befda8864aec1f5b892e868aec