{% extends "base.html" %} {% block title %}Risk Report - {{ evidence.title }}{% endblock %} {% block content %}
Forensic Risk Score: {{ '%.4f' | format(report.final_score) }}
Computed at {{ report.computed_at.strftime('%Y-%m-%d %H:%M:%S utc') }}Vulnerability rules, integrity checks, and event warnings.
{% set pct = (report.final_score * 100) | int %} {% set bar_color = 'success' if report.risk_level == 'LOW' else 'warning' if report.risk_level == 'MEDIUM' else 'danger' if report.risk_level == 'HIGH' else 'dark' %}| Factor | Raw Value | Normalised Score | Weight | Contribution | Explanation |
|---|---|---|---|---|---|
{{ f.name }} |
{{ f.raw_value }} |
{% set bar_pct = (f.normalised_score * 100) | int %}
{% set bar_col = 'success' if f.normalised_score < 0.25
else 'warning' if f.normalised_score < 0.5
else 'danger' %}
|
{{ '%.2f' | format(f.weight) }} | {{ '%.4f' | format(f.contribution) }} | {{ f.explanation }} |
| Base Score (weighted sum): | {{ '%.4f' | format(report.base_score) }} | ||||