{% extends "base.html" %} {% block core %} {% set utr = ut.get_result(shown_dataset) %} {% set status = UserTestResult.COMPILING %} {% if utr is not none %} {% set status = utr.get_status() %} {% endif %}

User test {{ ut.id }} (Task: {{ ut.task.name }})

{% set dataset_selector_par_url = url("user_test", ut.id) %} {% include "fragments/dataset_selector.html" %}

User test details

{% if utr is not none %} {% endif %}
Property Value
Id {{ ut.id }}
Task {{ ut.task.name }}
User {{ ut.participation.user.username }}
Files {% for filename in ut.task.submission_format %} {% if filename in ut.files %} {% set real_filename = filename if ut.language is none else filename|replace(".%l", (ut.language|to_language).source_extension) %} {{ real_filename }}
{% endif %} {% endfor %}
Language {% if ut.language is none %} N/A {% else %} {{ ut.language }} {% endif %}
Status {% if status == UserTestResult.COMPILING %} Compiling... {% elif status == UserTestResult.COMPILATION_FAILED %} Compilation failed {% elif status == UserTestResult.EVALUATING %} Evaluating... {% elif status == UserTestResult.EVALUATED %} Evaluated {% else %} N/A {% endif %}
Failures during compilation {{ utr.compilation_tries }}
Compilation shard {{ utr.compilation_shard }}
Compilation sandbox {{ utr.compilation_sandbox }}
Failures during evaluation {{ utr.evaluation_tries }}
{% if utr is not none and utr.evaluated() %}

Evaluation

Outcome

{% if utr.evaluation_text|length > 0 %}{{ utr.evaluation_text|format_status_text }}{% endif %}
{% if utr.output is not none %}

Output

See output {% endif %}
{% endif %} {% if utr is not none and utr.compiled() %}

Compilation

Outcome

{% if utr.compilation_text|length > 0 %}{{ utr.compilation_text|format_status_text }}{% endif %}

Standard output

{% if utr.compilation_stdout is not none %}{{ utr.compilation_stdout }}{% endif %}

Standard error

{% if utr.compilation_stderr is not none %}{{ utr.compilation_stderr }}{% endif %}
{% endif %} {% endblock core %}