{% 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 %}
{% if entry.product_id %} {{ entry.product_name or entry.product_id }} {% else %} Unknown product {% endif %} {% if entry.direction %} {{ entry.direction }} {% endif %}
{% if entry.latest_status_label %} {{ entry.latest_status_label }} {% endif %}
Port
{% if entry.port_name %}{{ entry.port_name }}{% else %}n/a{% endif %} {% if entry.port_version %}{{ entry.port_version }}{% endif %}
Contract
{% if entry.contract_id %} {{ entry.contract_id }} {% else %} Unknown {% endif %} {% if entry.contract_version %} {% if entry.contract_id %}/{% endif %} {{ entry.contract_version }} {% endif %}
Latest dataset
{% if entry.latest_dataset_version %} {{ entry.latest_dataset_version }} {% else %} n/a {% endif %}
{% endfor %}
{% endif %} {% set output_details = record.dq_details.get('output', {}) %}

Status: {{ record.status }} | Run type: {{ record.run_type }}

{% if record.observation_label or record.observation_scope %}

Observation scope: {{ record.observation_label or record.observation_scope.replace('_', ' ').title() }} {% if record.observation_operation %} ({{ record.observation_operation }} run) {% endif %}

{% endif %} {% if output_details.get('violation_strategy') %}

Violation strategy: {{ output_details.get('violation_strategy') }}

{% endif %} {% set warnings = output_details.get('warnings', []) %} {% if warnings %}
Warnings
{% endif %} {% include "includes/metrics_summary.html" %} {% 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 %} {% block page_scripts %} {{ super() }} {% include "includes/metrics_chart_script.html" %} {% endblock %}