{% extends "base.html" %} {% block title %}Data Quality — Data Canvas — ICDEV{% endblock %} {% block content %}
Define completeness, uniqueness, range, pattern, and freshness expectations. Run checks — results feed the Assessment engine (DDC-QUA-001).
Based on {{ runs | length }} recent rule runs
{% else %}Run quality checks to see your score.
{% endif %}| Name | Table.Column | Check | Threshold | Enabled | |
|---|---|---|---|---|---|
| {{ r.name }} | {{ r.table_name }}{% if r.column_name %}.{{ r.column_name }}{% endif %} | {{ r.check_type }} | {{ r.threshold }}{% if r.check_type in ['completeness','uniqueness','pattern'] %}%{% endif %} |
Hourly reflex results for all freshness quality rules (via FreshnessGuardianReflex). Alerts sourced from dd_freshness_alerts.
| Rule | Design | Max Value | Cutoff | Status | Detail | Checked |
|---|---|---|---|---|---|---|
| {{ a.rule_name or a.rule_id }} | {{ a.design_id or '—' }} | {{ a.actual_max_value or '—' }} | {{ a.cutoff_value or '—' }} | {{ '✓ PASS' if a.passed else '✗ BREACH' }} | {{ a.last_checked[:16] if a.last_checked else (a.created_at[:16] if a.created_at else '—') }} |
| Rule | Table.Col | Type | Result | Actual | Threshold | Detail | When |
|---|---|---|---|---|---|---|---|
| {{ r.rule_name or r.rule_id }} | {{ r.table_name or '—' }}{% if r.column_name %}.{{ r.column_name }}{% endif %} | {{ r.check_type or '—' }} | {{ '✓ PASS' if r.passed else '✗ FAIL' }} | {{ '%.1f'|format(r.actual_value or 0) }} | {{ r.threshold }} | {{ r.created_at[:16] if r.created_at else '—' }} |