Testcase No. {{ forloop.counter }}
{% if not error.type %}
{{error|safe}}
{% elif error.type == 'assertion' %}
{% if error.test_case %}
We tried calling your function with the following test case: |
{{error.test_case}} |
{% endif %}
The following error took place:
Exception Name: |
{{error.exception}}
|
Exception Message: | {{error.message}} |
{% if error.traceback %}
Full exception: |
{{error.traceback}} |
{% endif %}
{% elif error.type == 'stdio' %}
{% if error.given_input %}
For given Input value(s): |
{{error.given_input}} |
{% endif %}
Line No. |
Expected Output |
User output |
Status |
{% for expected,user in error.expected_output|zip:error.user_output %}
{{forloop.counter}} |
{{expected|default:""}} |
{{user|default:""}} |
{% if forloop.counter0 in error.error_line_numbers or not expected or not user %}
|
{% else %}
|
{% endif %}
{% endfor %}
Error: |
{{error.error_msg}} |
{% endif %}