{% extends "base.html" %} {% block content %}

Dataset {{ record.dataset_name }} {{ record.dataset_version }}

Back to versions

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 %} {% if data_products %}

Data product associations

{% for entry in data_products %} {% endfor %}
Data product Port Role Status Version
{% if entry.product_id %} {{ entry.product_id }} {% else %} Unknown {% endif %} {% if entry.port_name %} {{ entry.port_name }} {% else %} n/a {% endif %} {% if entry.role %} {{ entry.role }} {% else %} {% endif %} {{ entry.status or 'unknown' }} {{ entry.dataset_version or '—' }}
{% 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 %}
Warnings
{% endif %} {% set aux = output_details.get('auxiliary_datasets', []) %} {% if aux %}

Auxiliary datasets

{% for entry in aux %} {% endfor %}
KindDatasetPath
{{ entry.kind }} {{ entry.dataset }} {% if entry.path %}{{ entry.path }}{% else %}n/a{% endif %}
{% endif %} {% set fails = output_details.get('failed_expectations', {}) %}

Data Quality

{% if fails %} {% for key, info in fails.items() %} {% endfor %}
NamePredicateCount
{{ key }}{{ info.expression }}{{ info.count }}
{% else %}

No data quality failures.

{% endif %} {% set schema_errors = output_details.get('errors', []) %} {% if schema_errors %}
Schema errors
{% endif %} {% set pipeline_activity = output_details.get('pipeline_activity', []) %} {% if pipeline_activity %}

Pipeline activity

{% for entry in pipeline_activity %}
Dataset version: {{ entry.dataset_version or 'unknown' }} {% if entry.contract_id and entry.contract_version %} Contract {{ entry.contract_id }}:{{ entry.contract_version }} {% endif %}
{% set events = entry.events or [] %} {% if events %}
{% for event in events %} {% endfor %}
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) }}
{% else %}

No activity recorded.

{% endif %}
{% endfor %} {% endif %}

Details

{{ output_details | tojson(indent=2) }}
{% if data_preview %}

Data

{{ data_preview }}
{% endif %} {% endblock %}