Conversation
m4teuk
commented
Apr 8, 2026
- Subtask dependency config option
- Displaying a warning icon and an explanation when the score is lowered due to a failing prerequisite subtask
| #: zeus/templates/zeus/program-report.html:21 | ||
| msgid "Zeus id" | ||
| msgstr "ID Zeusa" | ||
|
|
There was a problem hiding this comment.
please update translations via transifex
|
sinol-make docs should be updated accordingly, to describe how to use it. |
|
Not only the docs, but also scoring and config validation should be updated. Would be great if someone would be willing to do this:) |
|
| normalized_value = 0 | ||
| else: | ||
| # Scale prereq score proportionally to the target max_score | ||
| normalized_value = round(prereq_score.value * target_max_value / prereq_max.value) if prereq_score else 0 |
There was a problem hiding this comment.
Ensure there are no rounding issues here, as errors can accumulate across multiple tests. Instead of scaling by the maximum score within this group, consider rescaling using the least common multiple of all group maxima (though this may become very large), or use exact percentage values directly from TestReport to avoid loss of precision (for problems with partial scoring available)
| visiting = set() | ||
| visited = set() | ||
|
|
||
| def dfs(node): |


