automatically calculate_scores from commit 6e648f5ac5d4e1dcdda60050d6213aa9b02dbd41