{% extends "base.html" %} {% block content %}
Resolved & Verified {{ resolved_count }}
Fix Failed (Rolled Back) {{ failed_count }}
Total Attempts Logged {{ attempts|length }}
Remediation Iterations & Code Diffs
{% if attempts %} {% for iter_num, iter_attempts in iterations.items() %}

Iteration #{{ iter_num }}

{% for a in iter_attempts %}
{{ a.outcome }} {{ a.strategy }}
{{ a.created_at.strftime('%H:%M:%S') }}

Action: {{ a.explanation }}

{% if a.diff_text %}
View Applied Patch Diff
{{ a.diff_text }}
{% endif %}
{% endfor %}
{% endfor %} {% else %}

No automated remediation attempts were recorded for this scan.

{% endif %}
{% endblock %}