Skip to content

Commit ef8a625

Browse files
committed
[problem] Mark TODOs for RagnarGrootKoerkamp#424 (support singular output_validator/)
1 parent 907237b commit ef8a625

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bin/problem.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def __init__(
159159
or (
160160
"custom" in mode
161161
if self.is_legacy()
162-
# TODO: output_validator should be singular, but DOMjudge does not support this yet, so this should be fixed during export.
162+
# TODO #424: output_validator should be singular, but DOMjudge does not support this yet, so this should be fixed during export.
163163
else (problem.path / "output_validators").exists()
164164
)
165165
)
@@ -715,6 +715,7 @@ def _validators(
715715
return problem._validators_cache[key]
716716

717717
assert hasattr(cls, "source_dirs")
718+
# TODO #424: We should not support multiple output validators inside output_validator/.
718719
paths = [p for source_dir in cls.source_dirs for p in glob(problem.path / source_dir, "*")]
719720

720721
# Handle default output validation

bin/validate.py

+1
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ def __init__(self, problem, path, **kwargs):
312312

313313
validator_type = "output"
314314

315+
# TODO #424: We should not support multiple output validators inside output_validator/.
315316
source_dirs = ["output_validator", "output_validators"]
316317

317318
def run(

0 commit comments

Comments
 (0)