{% extends "base.html" %} {% macro status_class(result) -%} {%- if result.passed() -%} cls-success {%- elif result.partially_passed() -%} cls-warning {%- elif result.failed() -%} cls-danger {%- elif result.pending() -%} cls-link {%- 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 ID Label Target(s) Reached Score Max Score Message(s) Output
{{ loop.index }} {{ hash(r.id) }}
{{ r.label|e }} {{ 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

While the jupyter notebook is executed, autograde watches the current working directory for files being created or modified:

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

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

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

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