{% extends 'timeseer.html' %} {% from 'resources.html' import resource_breadcrumb %} {% from 'macros.html' import alerter, info_popover, menu_back, progress_bar, visualize_score, visualize_series_name, visualize_split_kpi_score %} {% macro compare(a, b) %} {% if a == b %} = {% elif a > b %} {{ b - a }}% {% else %} +{{ b - a }}% {% endif %} {% endmacro %} {% block menu %} {{ menu_back(url_for('home.home_page', sourcename=source_name)) }} {% endblock %} {% block breadcrumb %} {{ resource_breadcrumb([ ("Data services", url_for('data_services.list_data_services', sourcename=source_name)), (current_bin.data_service_view.data_service.name, url_for('data_services.configure_data_service', dataservicename=current_bin.data_service_view.data_service.name, sourcename=source_name)), current_bin.data_service_view.series_set_name, ]) }} {% endblock %} {% block csp_style %} 'self' 'unsafe-inline' {% endblock %} {% block scripts %} {% endblock %} {% block styles %} {% endblock %} {% block main %}

Evaluations for "{{ current_bin.data_service_view.series_set_name }}" ({{ current_bin.data_service_view.data_service.name }})

{% for bin in other_bins|sort(attribute="start_date", reverse=true) %} {% endfor %}
Evaluation bin
{% if bin is not none and bin.db_id != current_bin.db_id %} {{ bin.start_date|ts_datetime }} - {{ bin.end_date|ts_datetime }} {% else %} {{ bin.start_date|ts_datetime }} - {{ bin.end_date|ts_datetime }} {% endif %}

Results for "{{current_bin.data_service_view.series_set_name }}" ({{ current_bin.data_service_view.data_service.name }})

{% if other_views|count > 1 %}
Series sets
{% else %}
Series set
{% endif %}
Display
{% if analysis_state.is_defined() and not analysis_state.is_completed() %}
{% call progress_bar(analysis_state, url_for('data_services_api.get_view_analysis_state', dataserviceviewid=current_bin.data_service_view.db_id), label='calculations', empty_is_pending=True) %} Analysis {% endcall %}
{% else %}

Quality KPI scores

{% if kpi_scores|count > 0 and other_bins|count > 2 %} {% endif %}
{% if kpi_scores|count > 0 %}
{% if kpi_scores|count > 2 %}
{% endif %}
{% for entry in kpi_set_entries|sort(attribute='kpi.name') %} {% set kpi = entry.kpi %} {% if kpi.name in kpi_scores %} {{ visualize_score(kpi_scores[kpi.name]) }} {% else %} {% endif %} {% if kpi.name in kpi_scores and kpi.name in comparison_kpi_scores %} {{ compare(comparison_kpi_scores[kpi.name], kpi_scores[kpi.name]) }} {% else %} {% endif %} {% endfor %}
{{ kpi_set.name }} {{ bootstrap_icon('box-arrow-up-right') }} Score Evolution
{% if entry.favorite %} {{ bootstrap_icon('star-fill', 'text-primary icon') }} {% endif %} {{ kpi.name }} --
{% else %}
No results to display.
{% endif %}
{% if current_bin.data_service_view.data_service.time_range.has_no_time_range() is false %}

Bad actor visualization

Loading chart...
{% endif %}
{% for kpi, scores in kpi_score_scores|dictsort %}

{{ kpi|capitalize }}

{% if scores|count > 0 %} {% for score in scores|sort(attribute="weight", reverse=True) %} {{ visualize_score(score.score) }} {% endfor %} {% endif %}
Name Score
{% if score.metadata.name in multivariate_checks %} {{ score.metadata.name|capitalize }} {% else %} {{ score.metadata.name|capitalize }} {% endif %} {{ info_popover(score.metadata.short_help_text) }}
{% if scores|count == 0 %}
No results to display.
{% endif %}
{% endfor %}

Worst scoring series

{% if worst_series|count > 0 %}
{% if source_name %} {% endif %}
{% endif %}
{% if worst_series|count > 0 %} {% for series, score in worst_series.items() %} {{ visualize_score(score) }} {% endfor %}
Series name Score
{{ visualize_series_name(series.name) }}
{% else %}
No results to display.
{% endif %}
{% endif %} {% endblock %} {% block scripts_bottom %} {% endblock %}