{% extends "base.html" %} {% macro status_class(result) -%} {%- if result.passed() -%} CSuccess {%- elif result.partially_passed() -%} CWarning {%- elif result.failed() -%} CDanger {%- elif result.pending() -%} CLink {%- endif -%} {%- endmacro %} {% macro display_results(results, edit_mode, summarize) -%} {% for r in results %} {% if settings is undefined or state.settings.select(r) %} {% endif %} {% endfor %} {% if summarize %} {% set summary = results.summarize() %} {% endif %}
i Unit Test Score Notes Output
{{ loop.index }} ID: {{ hash(r.id) }}
Label: {{ r.label|e }}
Target(s): {{ r.target|join(',') }}
{% if edit_mode %} {% else %} {{ r.score }} {% endif %} / {{ r.score_max }} {% for m in r.messages %} {% if m.startswith('data:image') %} {{ r.target }}
{% else %}
{{ m|e }}
{% endif %} {% endfor %} {% if edit_mode %}
{% endif %}
stdout
{{ r.stdout|e }}
stderr
{{ r.stderr|e }}
{{ summary.tests }} {{ summary.score }} / {{ summary.score_max }} {{ summary.passed }} passed, {{ summary.failed }} failed, {{ summary.pending }} pending
{%- endmacro %} {% macro list_artifacts(results, link) -%}

Artifacts

The following files have been created or modified during execution of the Jupyter notebook:

{% if results.artifacts %} {% else %} None {% endif %}

All files listed above can be found in the /artifacts directory of the results archive.

The following files have been excluded from the results archive as they haven't changed during execution:

{% if results.artifacts %} {% else %} None {% endif %} {%- endmacro %}