{% extends "base.html" %} {% from "_macros.html" import failure_card, reporting_units, rule_text, severity_chip %} {% block title %}Export failures · {{ current.name }} — rwa-filer dash{% endblock %} {% block content %} {% set base = "/returns/" ~ current.return_id ~ "/rules" %}
Back to Rules

Export failures

{{ report.occurrences | count }} occurrence{{ "s" if report.occurrences != 1 }} across {{ report.rules | length | count }} failed rule{{ "s" if report.rules | length != 1 }} on all matching pages.

Applied filters

{% for field in ["Status", "Severity", "Template", "Search", "Warning threshold (money)", "Warning threshold (bp)", "Hide zero-only null checks"] %}
{{ field }}
{{ report.summary[field] }}
{% endfor %}
{% if sample %}
{% for name, value in [('severity', severity), ('template', template), ('q', query)] %} {% if value %}{% endif %} {% endfor %} {% if dimensions %} {% else %}

Reporting-unit breakdown unavailable for this return.

{% endif %}
{% endif %}
{% if sample %}
Preview · first matching occurrence
{{ severity_chip(sample.row.severity) }} {{ sample.row.rule_id }}

{{ sample.row.label or "No label published" }}

{{ sample.row.templates | join(" · ") }}

{{ rule_text(sample) }} {{ failure_card(sample.failures[0], "/returns/" ~ current.return_id ~ "/templates", sample.row.rule_id) }} {% if report.dimension %} {{ reporting_units(report.dimension, report.attribution, trace) }} {% endif %} {% else %}

No failures match the applied filters.

{% endif %}
{% endblock %}