{{ report.title }}

Executive Summary

{{ report.executive_summary|replace('\n', '
')|safe }}

{% if report.findings %}

Key Findings

{% for finding in report.findings %}
{{ finding.title }}
{{ finding.description }}
{% endfor %}
{% endif %} {% for section in report.sections|sort(attribute='order') %}

{{ section.title }}

{% if section.content is string %}

{{ section.content }}

{% elif section.content is mapping %} {% for key, value in section.content.items() %} {% endfor %}
{{ key }} {% if value is sequence and value is not string %}
    {% for item in value %} {% if item is mapping %} {% for k, v in item.items() %}
  • {{ k }}: {{ v }}
  • {% endfor %} {% else %}
  • {{ item }}
  • {% endif %} {% endfor %}
{% elif value is mapping %} {% for k, v in value.items() %} {% endfor %}
{{ k }}{{ v }}
{% else %} {{ value }} {% endif %}
{% elif section.content is sequence %} {% if section.content and section.content[0] is mapping %} {% for key in section.content[0].keys() %} {% endfor %} {% for item in section.content %} {% for value in item.values() %} {% endfor %} {% endfor %}
{{ key }}
{{ value }}
{% else %} {% endif %} {% endif %} {% for subsection in section.subsections|sort(attribute='order') %}

{{ subsection.title }}

{% if subsection.content is string %}

{{ subsection.content }}

{% elif subsection.content is mapping %} {% for key, value in subsection.content.items() %} {% endfor %}
{{ key }} {% if value is sequence and value is not string %}
    {% for item in value %}
  • {{ item }}
  • {% endfor %}
{% elif value is mapping %} {% for k, v in value.items() %} {% endfor %}
{{ k }}{{ v }}
{% else %} {{ value }} {% endif %}
{% elif subsection.content is sequence %} {% if subsection.content and subsection.content[0] is mapping %} {% for key in subsection.content[0].keys() %} {% endfor %} {% for item in subsection.content %} {% for value in item.values() %} {% endfor %} {% endfor %}
{{ key }}
{{ value }}
{% else %}
    {% for item in subsection.content %}
  • {{ item }}
  • {% endfor %}
{% endif %} {% endif %}
{% endfor %}
{% endfor %} {% if report.recommendations %}

Recommendations

{% for rec in report.recommendations %}
{{ rec.priority|replace('_', ' ')|upper }}
{{ rec.title }}
{{ rec.description }}
{% endfor %}
{% endif %}