Skip to content

Commit 1e629a7

Browse files
committed
Restructere the advice here
Don't use the config option but use the buttons.
1 parent 90675ec commit 1e629a7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

webapp/src/Controller/Jury/JuryMiscController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ public function judgingVerifierAction(Request $request): Response
335335
'nomatch' => $nomatch,
336336
'earlier' => $earlier,
337337
'problems' => $problems,
338+
'contestId' => $this->dj->getCurrentContest()->getCid(),
338339
'verifyMultiple' => $verifyMultiple,
339340
]);
340341
}

webapp/templates/jury/check_judgings.html.twig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,14 @@
101101

102102
{% if problems != [] %}
103103
<h2>Problem runtime analytics</h2>
104-
You probably want to
104+
You probably want to <a href="{{ path('jury_contest', {'contestId': contestId }) }}">rejudge</a>
105+
all submissions with a reasonable overshoot and
105106
{%- if not is_granted('ROLE_ADMIN') %} let an admin {% endif %}
106-
{%- if is_granted('ROLE_ADMIN') %}<a href="{{ path('jury_config') }}">{% endif %}
107-
fully
108-
{%- if is_granted('ROLE_ADMIN') %}</a>{% endif %}
109-
judge all submissions with enough overshoot to see the maximum runtime for <code>Accepted</code>
107+
judge the
108+
{%- if is_granted('ROLE_ADMIN') %}<a href="{{ path('jury_contest_request_remaining', {'contestId': contestId}) }}">{% endif %}
109+
remaining testcases
110+
{%- if is_granted('ROLE_ADMIN') %}</a>{% endif %}.
111+
After this compare the maximum runtime for <code>Accepted</code>
110112
solutions and tune those against expected <code>Time Limit Exceeded</code> solutions.<br>
111113
{% for p in problems %}
112114
{% set link = path('analysis_problem', {'probid': p.probid, 'view': 'hidden'}) %}

0 commit comments

Comments
 (0)