{% extends 'oscar/base.html' %} {% from '__common__/new_issue.html' import new_issue %} {% block title %}{{ _('stats') }} - {% if selected_engine_name %} {{ selected_engine_name }} - {% endif %}{% endblock %} {%- macro th_sort(column_order, column_name) -%} {%- if selected_engine_name -%} {{ column_name }} {%- elif column_order==sort_order -%} {{ column_name }} {{ icon('arrow-dropdown') }} {%- else -%} {{ column_name }} {%- endif -%} {%- endmacro -%} {% block content %}
{{ th_sort('name', _("Engine name")) }} | {{ th_sort('score', _('Scores')) }} | {{ th_sort('result_count', _('Result count')) }} | {{ th_sort('time', _('Response time')) }} | {{ th_sort('reliability', _('Reliability')) }} | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ engine_stat.name }} |
{%- if engine_stat.score -%}
{{ engine_stat.score|round(1) }}
{{- "" -}}
{%- endif -%}
{{ _('Scores per result') }}: {{ engine_stat.score_per_result | round(3) }} |
{%- if engine_stat.result_count -%} | {{- "" -}} {%- endif -%}
{%- if engine_stat.total is not none -%}
{{- "" -}}
{%- endif -%}
|
{{- "" -}}
{{ engine_reliabilities.get(engine_stat.name, {}).get('reliablity') }} |
{{ _('Exception') }} | {{ error.exception_classname }} | {%- elif error.log_message -%}{{ _('Message') }} | {{ error.log_message }} | {%- endif -%}{{ _('Percentage') }} | {{ error.percentage }} |
---|---|---|---|---|---|
{{ _('Parameter') }} | {{- '' -}}{%- for param in error.log_parameters -%} {{ param }} {%- endfor -%} | ||||
{{ _('Filename') }} | {{ error.filename }}:{{ error.line_no }} | ||||
{{ _('Function') }} | {{ error.function }} | ||||
{{ _('Code') }} | {{ error.code }} |
{{ _('Failed test') }} | {{ _('Comment(s)') }} |
---|---|
{{ test_name }} |
{% for r in results %} {{ r }} {% endfor %} |