{% extends 'base.html' %} {% block title %}Risk Scoring Settings - DEICMS{% endblock %} {% block content %}
Risk Scoring Settings

Adjust the relative importance of each risk factor and the score thresholds used to classify evidence as LOW / MEDIUM / HIGH / CRITICAL. Weights are re-normalised so they always sum to 1.0 - enter any relative values. Changes apply immediately to newly computed scores.

Factor Weights
{% for name, value in weights.items() %} {% endfor %}
FactorWeightDefault
{{ name.replace('_', ' ') | title }} {{ '%.2f' | format(default_weights[name]) }}
Classification Thresholds
{% for level, value in thresholds.items() %} {% endfor %}
Level boundaryThresholdDefault
{% if level == 'LOW' %}LOW -> MEDIUM {% elif level == 'MEDIUM' %}MEDIUM -> HIGH {% else %}HIGH -> CRITICAL{% endif %} {{ '%.2f' | format(default_thresholds[level]) }}
Scores below the LOW->MEDIUM boundary are classified LOW; scores at or above the HIGH->CRITICAL boundary are CRITICAL. Thresholds must be strictly increasing.
{% endblock %}