automatically calculate_scores from commit 96714ba675b9a0897acdaa1b8165ec37c2d8e94b