{% from 'simple/icons.html' import icon_big %}
{% from 'simple/new_issue.html' import new_issue with context %}
{% extends "simple/page_with_header.html" %}
{%- macro th_sort(column_order, column_name) -%}
{% if selected_engine_name %}
{{ column_name }}
{% elif column_order==sort_order %}
{{ column_name }} {{ icon_big('arrow-dropdown') }}
{% else %}
{{ column_name }}
{% endif %}
{%- endmacro -%}
{% block head %} {% endblock %}
{% block content %}
{% for secondary in [False, True] %}
{% set ns = namespace(first=true) %}
{% for error in engine_reliabilities[selected_engine_name].errors %}
{% if secondary == error.secondary %}
{% if ns.first %}
{% set ns.first = false %}
{% if secondary %}{{ _('Warnings') }}{% else %}{{ _('Errors and exceptions') }}{% endif %}
{% endif %}
{%- if error.exception_classname -%}
{{ _('Exception') }} | {{ error.exception_classname }} |
{%- elif error.log_message -%}
{{ _('Message') }} | {{ error.log_message }} |
{%- endif -%}
{{ _('Percentage') }} | {{ error.percentage }} |
{% if error.log_parameters and error.log_parameters != (None, None, None) %}{{ _('Parameter') }} | {{- '' -}}
{%- for param in error.log_parameters -%}
{{ param }}
{%- endfor -%}
|
{% endif %}
{{ _('Filename') }} | {{ error.filename }}:{{ error.line_no }} |
{{ _('Function') }} | {{ error.function }} |
{{ _('Code') }} | {{ error.code }} |
{% endif %}
{% endfor %}
{% endfor %}
{% if engine_reliabilities[selected_engine_name].checker %}
{{ _('Checker') }}
{{ _('Failed test') }} |
{{ _('Comment(s)') }} |
{% for test_name, results in engine_reliabilities[selected_engine_name].checker.items() %}
{{ test_name }} |
{% for r in results %} {{ r }} {% endfor %}
|
{% endfor %}
{% endif %}
{{ new_issue(selected_engine_name, engine_reliabilities[selected_engine_name]) }}
{% endif %}
{% endblock %}