Move calculateScore() from ResultHelper to result controller.