{# First, we include the rubric report, if there is one #}
{% if task['report'] %}
{% set rep = task['report'] %}
Rubric report
Overall evaluation:
{{ rep['evaluation']|safe }}
{{ rep['summary']|safe }}
{% for w in rep['warnings'] %}
{{w|safe}}
{% endfor %}
{{rep.get('rendered_table', '')|safe}}
{% endif %}
{# Second, we include a section for the rendered code #}
Your code
{% if 'code_html' in task %}
80 characters
⇥
{{ task['code_html']|safe }}
80 characters
⇥
{% else %}
80 characters
⇥
# No code submitted (or no changes from the starter code)
80 characters
⇥
{% endif %}
{# Third, we include the context results #}
Test results
{% if 'rendered_contexts' in rep %}
{{ rep['rendered_contexts']|safe }}
{% else %}
No testing results available.
{% endif %}