{% extends "base.html" %} {% block core %} {% set st = get_score_type(dataset=shown_dataset) %} {% set sr = s.get_result(shown_dataset) %} {% set status = SubmissionResult.COMPILING %} {% if sr is not none %} {% set status = sr.get_status() %} {% endif %}

Submission {{ s.id }} (Task: {{ s.task.name }})

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

Submission details

{% if sr is not none %} {% set t, m = sr.get_max_evaluation_resources() %} {% endif %}
Property Value
Submission time {{ s.timestamp }}
Id {{ s.id }}
Task {{ s.task.name }}
User {{ s.participation.user.username }}
Files {% for filename in s.task.submission_format %} {% if filename in s.files %} {% set real_filename = filename if s.language is none else filename|replace(".%l", (s.language|to_language).source_extension) %} {{ real_filename }}
{% endif %} {% endfor %}
Language {% if s.language is none %} N/A {% else %} {{ s.language }} {% endif %}
Token {% if s.token is none %} No {% else %} Yes {% endif %}
Official
{{ xsrf_form_html|safe }} {% if s.official %} Yes {% else %} No {% endif %}
Status {% if status == SubmissionResult.COMPILING %} Compiling... {% elif status == SubmissionResult.COMPILATION_FAILED %} Compilation failed {% elif status == SubmissionResult.EVALUATING %} Evaluating... {% elif status == SubmissionResult.SCORING %} Scoring... {% elif status == SubmissionResult.SCORED %} {% if st is defined %} {% set max_score = st.max_score %} {% else %} {% set max_score = "[Cannot get score type - see logs]" %} {% endif %} Scored ({{ sr.score }} / {{ max_score }}) {% else %} N/A {% endif %}
Failures during compilation {{ sr.compilation_tries }}
Compilation shard {{ sr.compilation_shard }}
Compilation sandbox {{ sr.compilation_sandbox }}
Failures during evaluation {{ sr.evaluation_tries }}
Max execution time {% if t is not none %}{{ t }} s{% else %}N/A{% endif %}
Max memory used {% if m is not none %}{{ m // (1024 ** 2) }} MiB{% else %}N/A{% endif %}
Reevaluate {{ ReevaluationButtons( url("submission", s.id, shown_dataset.id), submission_id=s.id, dataset_id=shown_dataset.id) }}

Comment

{{ xsrf_form_html|safe }}
{% if sr is not none and sr.scored() %}

Evaluation (as seen by the user)

{% if s.tokened() %} {{ st.get_html_details(sr.score_details, s.task.feedback_level)|safe }} {% else %} {{ st.get_html_details(sr.public_score_details, s.task.feedback_level)|safe }} {% endif %}
{% endif %} {% if sr is not none and sr.evaluated() %}

Evaluation (as seen by the admin)

{% if sr.evaluations %} {% for ev in sr.evaluations|sort(attribute="codename") %} {% endfor %} {% endif %}
# Codename Outcome Visible Details Shard Resources Sandbox
{{ loop.index }} {{ ev.codename }} {{ ev.outcome }} {{ ev.text|format_status_text }} {{ ev.evaluation_shard }} {% if ev.execution_time is not none %} ({{ ev.execution_time }} s) {% endif %} {% if ev.execution_wall_clock_time is not none %} ({{ ev.execution_wall_clock_time }} s) {% endif %} {% if ev.execution_memory is not none %} ({{ (ev.execution_memory // 1024) // 1024 }} MiB) {% endif %} {{ ev.evaluation_sandbox }}
{% endif %} {% if sr is not none and sr.compiled() %}

Compilation

Outcome

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

Standard output

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

Standard error

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