regrade

{{ psid }} {{ task['taskid'] }} {{task['filename']}}: {% if task['report'] %} {{ task["report"]["evaluation"] }} {% else %} not evaluated {% endif %} {% if not hide_points %} ( {{task.grade_string}} ) {% endif %}

{# 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 %}
{{ task['code_html']|safe }}
{% 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 %}