{% extends "base.html" %} {% set active_page = "analyze" %} {% block title %}FaultRay - AI Analysis{% endblock %} {% block page_title %}AI Analysis{% endblock %} {% block page_subtitle %}Intelligent risk assessment & recommendations{% endblock %} {% block top_actions %} {% if has_data %} {% endif %} {% endblock %} {% block content %} {% if analysis %}

Assessment Summary

{{ analysis.summary }}
{% if analysis.top_risks | length > 0 %}

Top Risks

    {% for risk in analysis.top_risks %}
  • {{ risk }}
  • {% endfor %}
{% endif %}

Availability Tier

{{ "%.1f" | format(analysis.estimated_current_nines) }}
nines
{% set nines_pct = ((analysis.estimated_current_nines - 1.0) / 4.0 * 100) | int %} {% set max_pct = ((analysis.theoretical_max_nines - 1.0) / 4.0 * 100) | int %}
1 2 3 4 5
Current Potential
{{ analysis.availability_assessment }}

Upgrade Path

{{ analysis.upgrade_path | e | replace('\n', '
') | safe }}

Recommendations ({{ analysis.recommendations | length }})

{% if analysis.recommendations | length > 0 %}
{% for rec in analysis.recommendations %}
{{ rec.severity | upper }} {{ rec.category }}
Effort: {{ rec.effort }}

{{ rec.title }}

{{ rec.description }}

Remediation

{{ rec.remediation }}

Impact: {{ rec.estimated_impact }}
{% endfor %}
{% else %}

No recommendations at this time. Your infrastructure is well-configured.

{% endif %}
{% else %}

No Analysis Available

Run a simulation first, then come back to view AI-powered analysis and recommendations.

{% endif %} {% endblock %}