protected function getSeverity($score)
    {
        foreach ($this->severityRatingScale as $level => $options) {
            if ($score >= $options['min_range'] && $score <= $options['max_range']) {
                return $level;
            }
        }
        return null;
    }