{% extends "base.html" %} {% block content %}
Contract: {% if record.contract_id %} {{ record.contract_id }} {% if record.contract_version %} {{ record.contract_version }} {% else %} No version {% endif %} {% else %} No contract recorded for this run. {% endif %}
{% if record.contract_id and record.draft_contract_version %}Draft Contract: {{ record.draft_contract_version }}
{% endif %} {% set output_details = record.dq_details.get('output', {}) %}Status: {{ record.status }} | Run type: {{ record.run_type }}
{% if output_details.get('violation_strategy') %}Violation strategy: {{ output_details.get('violation_strategy') }}
{% endif %} {% set warnings = output_details.get('warnings', []) %} {% if warnings %}| Kind | Dataset | Path |
|---|---|---|
| {{ entry.kind }} | {{ entry.dataset }} |
{% if entry.path %}{{ entry.path }}{% else %}n/a{% endif %} |
| Name | Predicate | Count |
|---|---|---|
| {{ key }} | {{ info.expression }} | {{ info.count }} |
No data quality failures.
{% endif %} {% set schema_errors = output_details.get('errors', []) %} {% if schema_errors %}| Recorded at | Operation | DQ Status | Context |
|---|---|---|---|
{{ event.recorded_at or 'n/a' }} |
{{ event.operation or 'unknown' }} | {% if event.dq_status %} {{ event.dq_status }} {% else %} n/a {% endif %} | {{ event.pipeline_context or {} | tojson(indent=2) }} |
No activity recorded.
{% endif %}{{ output_details | tojson(indent=2) }}
{% if data_preview %}
{{ data_preview }}
{% endif %}
{% endblock %}