{% extends "base.html" %} {% block title %}ODD {{ date }} {{ time }} - Scenario Result Viewer{% endblock %} {% block breadcrumb %} {% endblock %} {% macro outcome_badge(outcome) %} {% if outcome == "pass" %}PASS {% elif outcome == "fail" %}FAIL {% elif outcome == "error" %}ERROR {% else %}N/A{% endif %} {% endmacro %} {% block content %}

Results on the ODD

{{ results | length }} case(s) of {{ date }} {{ time }}. Each cell: the runs that spent time in it, coloured by what they did; click a cell to look inside it.

Compare with past runs
{% if matrix_html %}
{{ matrix_html | safe }}
{% else %}
No case of this session left a coverage file ({stem}_coverage.json): the ODD view needs a run with an ODD.
{% endif %} {% if plot_html %}
Drawn cases
{{ plot_html | safe }}
{% endif %}

{% if conditions %}Cases in {% for name, bucket in conditions %}{{ name }} = {{ bucket }}{% if not loop.last %}, {% endif %}{% endfor %} (whole ODD) {% else %}All cases{% endif %} {{ in_cell | length }}

{% for key, (label, _) in metric_names.items() %} {% endfor %} {% for r in in_cell %} {% for key in metric_names %} {% endfor %} {% endfor %}
# Case Result Drawn at{{ label }}
{{ r.index }} {{ r.label }} {{ outcome_badge(r.outcome) }} {% for name, bucket in r.buckets.items() if name in varying %}{{ name.split('.')[-1] }} {{ bucket }}{% endfor %} {% if key in r.metrics %}{{ r.metrics[key] }}{% else %}-{% endif %}
{% endblock %} {% block extra_scripts %} {% endblock %}