public function calculateScore(Paper $paper, $base = null)
    {
        $score = $this->repository->findScore($paper);
        if (!empty($base) && $base > 0) {
            $scoreTotal = $this->calculateTotal($paper);
            if ($scoreTotal && $scoreTotal !== $base) {
                $score = ($score / $scoreTotal) * $base;
            }
        }

        return $score;
    }