{% extends "base.html" %} {% block title %}Results — RWA Calculator{% endblock %} {% block content %}

Results · {{ framework }}

{% if not success %}
Calculation did not complete successfully — see issues below.
{% endif %}
{{ "{:,.0f}".format(summary.total_rwa) }}
Total RWA
{{ "{:,.0f}".format(summary.total_ead) }}
Total EAD
{{ "{:,}".format(summary.exposure_count) }}
Exposures
{{ "%.1f"|format(summary.average_risk_weight * 100) }}%
Avg risk weight
{{ "{:,.0f}".format(summary.total_rwa_sa) }}
RWA · SA
{{ "{:,.0f}".format(summary.total_rwa_irb) }}
RWA · IRB
{{ "{:,.0f}".format(summary.total_rwa_slotting) }}
RWA · Slotting
{% if summary.floor_applied %}
{{ "{:,.0f}".format(summary.floor_impact) }}
Output floor impact
{% endif %}

RWA by exposure class

{{ chart_rwa_by_class | safe }}

EAD by exposure class

{{ chart_ead_by_class | safe }}

RWA by approach

{{ chart_approach | safe }}

Download results

Save the full result set to a file. Parquet and CSV download as a zip of one file per dataset; Excel and COREP download as a single workbook.

Parquet CSV {% if xlsx_available %} Excel COREP {% else %} Excel COREP {% endif %}

Save to a folder

Write the selected formats straight to a folder on this machine. Each save lands in its own rwa_export_<id> subfolder so it never overwrites earlier results.

{% if save_outcome and save_outcome.files %}
Wrote {{ save_outcome.files | length }} file(s) to {{ save_outcome.folder }}.
{% endif %} {% if save_outcome and save_outcome.errors %}
{% for e in save_outcome.errors %}{{ e }}
{% endfor %}
{% endif %} {% if save_error %}
{{ save_error }}
{% endif %}
Formats
{% for fmt in export_formats %} {% set is_workbook = fmt in ("excel", "corep") %} {% endfor %}
{% if not xlsx_available %}

Install xlsxwriter to enable Excel and COREP.

{% endif %}

Exposure sample

First {{ table_rows | length }} exposures.

{% for c in table_columns %}{% endfor %} {% for row in table_rows %} {% for c in table_columns %} {% set v = row[c] %} {% endfor %} {% endfor %}
{{ c }}
{% if v is number %}{{ "{:,.2f}".format(v) }}{% else %}{{ v if v is not none else "" }}{% endif %}
{% if errors %}

Issues ({{ errors | length }})

{% for e in errors[:20] %}
[{{ e.code }}] {{ e.message }}
{% endfor %} {% endif %}

Run another

{% endblock %}