{% extends "jury/base.html.twig" %} {% import _self as checkJudgings %} {% import "jury/jury_macros.twig" as macros %} {% block title %}Judging verifier - {{ parent() }}{% endblock %} {% block extrahead %} {{ parent() }} {{ macros.table_extrahead() }} {% endblock %} {% block content %}

Judging verifier

{{ numChecked }} submissions checked: {{ unexpected | length }} unexpected results, {% if verifyMultiple %} {{ multiple | length }} automatically verified (multiple outcomes), {% else %} {{ multiple | length }} to check manually, {% endif %} {{ verified | length }} automatically verified
{{ numUnchecked }} submissions not checked: {{ earlier | length }} verified earlier, {{ nomatch | length }} without magic string

{% macro verifyResults(id, header, results, collapse) %} {% if results is not empty %}

{{ header }}

{% for submitId,result in results %} {% set link = path('jury_submission', {'submitId': submitId}) %} {% endfor %}
problemfile(s) actual expected (one of)
s{{ submitId }} {% if result.contestProblem is defined %} {{ result.contestProblem | problemBadge }} {% endif %} {% if result.files is defined and result.files|length > 0 %} {% for file in result.files[:3] %} {{ file.filename }} {% endfor %} {% endif %} {% if result is defined and result.actual is defined %} {{ result.actual | printResult }} {% endif %} {% if result is defined and result.expected is defined %} {% for r in result.expected %} {{ r | printResult }} {% if not loop.last %}, {% endif %} {% endfor %} {% endif %}
{% endif %} {% endmacro %} {{ checkJudgings.verifyResults('unexpected', 'Unexpected results', unexpected) }} {% if verifyMultiple %} {{ checkJudgings.verifyResults('multiple', 'Automatically verified (multiple outcomes)', multiple, true) }} {% else %} {{ checkJudgings.verifyResults('multiple', 'Check manually', multiple) }} {% if multiple is not empty %}

Verify all multiple outcome submissions:

{% endif %} {% endif %} {{ checkJudgings.verifyResults('verified', 'Automatically verified', verified, true) }} {{ checkJudgings.verifyResults('earlier', 'Verified earlier', earlier, true) }} {{ checkJudgings.verifyResults('nomatch', 'Without magic string', nomatch, true) }} {% endblock %}