Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MO-P
CMS
Commits
a5087a45
Commit
a5087a45
authored
1 year ago
by
Jan Hadrava
Browse files
Options
Downloads
Patches
Plain Diff
Fix Group-worst feedback to CEOI 2024 rules
parent
2b8aaedb
Branches
jh-test
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cms/grading/scoretypes/abc.py
+5
-5
5 additions, 5 deletions
cms/grading/scoretypes/abc.py
with
5 additions
and
5 deletions
cms/grading/scoretypes/abc.py
+
5
−
5
View file @
a5087a45
...
...
@@ -200,9 +200,9 @@ class ScoreTypeGroup(ScoreTypeAlone):
N_
(
"
Example subtask %(index)s
"
)
N_
(
"
#
"
)
N_
(
"
Outcome
"
)
N_
(
"
Outcome
(Worst case)
"
)
N_
(
"
(Worst case)
"
)
N_
(
"
Details
"
)
N_
(
"
Details
(First error)
"
)
N_
(
"
(First error)
"
)
N_
(
"
Execution time
"
)
N_
(
"
Memory used
"
)
N_
(
"
N/A
"
)
...
...
@@ -251,7 +251,7 @@ class ScoreTypeGroup(ScoreTypeAlone):
or (feedback_level == FEEDBACK_LEVEL_GROUP_WORST_RESTRICTED)
) %}
<th class=
"
outcome
"
>
{% trans %}Outcome
(Worst case){% endtrans %}
{% trans %}Outcome
{% endtrans %} {% trans %}
(Worst case){% endtrans %}
</th>
{% if
"
score_fraction
"
not in st or st[
"
score_fraction
"
] >= 1.0 %}
<th class=
"
details
"
>
...
...
@@ -259,7 +259,7 @@ class ScoreTypeGroup(ScoreTypeAlone):
</th>
{% else %}
<th class=
"
details
"
>
{% trans %}Details
(First error){% endtrans %}
{% trans %}Details
{% endtrans %} {% trans %}
(First error){% endtrans %}
</th>
{% endif %}
{% else %}
...
...
@@ -305,7 +305,7 @@ class ScoreTypeGroup(ScoreTypeAlone):
(feedback_level == FEEDBACK_LEVEL_GROUP_WORST)
or (feedback_level == FEEDBACK_LEVEL_GROUP_WORST_RESTRICTED)
) %}
<td class=
"
idx
"
></td>
<td class=
"
idx
"
>
{{ loop.index }}
</td>
{% else %}
<td class=
"
idx
"
>{{ loop.index }}</td>
{% endif %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment