{% extends 'series-layout.html' %} {% macro get_metadata_value(metadata, group) %} {% if metadata.get(group) is not none %} {% if metadata[group]|count > 1 %}

({{ metadata[group]|join(', ') }})

{% else %} {% if group =='data types' %}

({% for value, label in metadata[group][0].mapping.items() %} {{ label }}: {{ value }} {% endfor %})

{% else %}

({{ metadata[group][0]|numberformat }})

{% endif %} {% endif %} {% endif %} {% endmacro %} {% block menu %} {{ series_menu('Checks') }} {% endblock %} {% block series_title %}

Checks

{% endblock %} {% block series_content %} {% if series_score is not none %}
Score: {{ series_score }}%
{% endif %} {% if metadata_checks|count == 0 and checks_per_kpi|count == 0 %}
No checks available.
{% endif %} {% if metadata_checks|count > 0 %} {% for group, checks in metadata_checks|groupby('metadata.group') %} {% for check in checks|sort(attribute='metadata.name') %} {% set loop_changed = loop.changed(group) %} {% if loop_changed %} {% endif %} {{ visualize_check_result(check) }} {% endfor %} {% endfor %}
Metadata group Metadata checks Result
{{ group|capitalize }} {{ get_metadata_value(metadata, group)}} {{ check.metadata.name }} {{ info_popover(check.metadata.short_help_text) }}
{% endif %} {% if checks_per_kpi|count > 0 %} {% for kpi, checks in checks_per_kpi|dictsort %} {% for check in checks|sort(attribute='result', reverse=True)|sort(attribute='metadata.data_type') %} {% set loop_changed = loop.changed(kpi) %} {% if loop_changed %} {% endif %} {{ visualize_check_result(check) }} {% endfor %} {% endfor %} {% if no_kpi_checks|count > 0 %} {% for check in no_kpi_checks|sort(attribute='result', reverse=True)|sort(attribute='metadata.data_type') %} {% if loop.index == 1 %} {% endif %} {{ visualize_check_result(check) }} {% endfor %} {% endif %}
KPIs Series checks Event frames Result
{{ kpi|capitalize }}
{{ check.metadata.name }} {{ info_popover(check.metadata.short_help_text) }}
{% if check.metadata.event_frame_types %} {% endif %}
(No KPI)
{{ check.metadata.name }} {{ info_popover(check.metadata.short_help_text) }}
{% if check.metadata.event_frame_types %} {% endif %}
{% endif %} {% if not_ran_checks|count > 0 %}
Other checks

The checks in these modules did not run.

{% for not_ran_check in not_ran_checks %} {% endfor %}
Module Reason
{{not_ran_check.check_name}} {{not_ran_check.message}}
{% endif %} {% endblock series_content %}