{% extends "vantage/base.html" %} {% load vantage i18n %} {% block content %}

{% translate "Data quality" %}

{% blocktranslate trimmed with models=totals.models issues=totals.issues %} {{ issues }} issues across {{ models }} models. Read-only: counts and links, never the values themselves. {% endblocktranslate %}

{% csrf_token %} {% if detail %}{% endif %}
{% if audit.pending %}
{% blocktranslate trimmed count counter=audit.pending|length %} {{ counter }} model has not been audited yet. Re-run the audit to continue; each run stays within its time budget. {% plural %} {{ counter }} models have not been audited yet. Re-run the audit to continue; each run stays within its time budget. {% endblocktranslate %}
{% endif %} {% if detail %} {% include "vantage/pages/_data_quality_detail.html" %} {% else %}

{% translate "Models" %}

{% if audit.reports %}
{% for report in audit.reports %} {% endfor %} {% for label, name in audit.pending %} {% endfor %}
{% translate "Model" %} {% translate "Rows" %} {% translate "Score" %} {% translate "Issues" %} {% translate "Worst issue" %}
{{ report.label }} {{ report.rows_display }} {% if report.skipped %}{% translate "skipped" %} {% elif report.sampled %}{% translate "sampled" %} {% elif report.rows_kind == "estimated" %}{% translate "estimated" %}{% endif %} {% if report.error %}{% translate "error" %} {% elif report.score is None %}– {% else %}{{ report.score }}{% endif %} {{ report.issues|length }} {% with worst=report.worst %} {% if worst %} {{ worst.severity }}: {{ worst.field|default:report.label }} · {{ worst.message }} {% elif report.partial %}{% translate "Incomplete" %} {% else %}{% translate "None" %}{% endif %} {% endwith %}
{{ name }} {% translate "not yet run" %}
{% else %}
{% icon "box" class="v-empty-icon" %}

{% translate "No models to check." %}

{% translate "No registered model is visible to you, or all are opted out." %}

{% endif %}

{% translate "Checks" %}

{% for check in checks %}
{{ check.label|default:check.name }}
{{ check.description }}
{% endfor %}
{% endif %} {% endblock %}