From 05f66841f05f8e48de5e8aeb18223e37829d322e Mon Sep 17 00:00:00 2001 From: Thore Husfeldt Date: Thu, 28 Nov 2024 19:43:04 +0100 Subject: [PATCH] Temporarily remove some defs from problemformat.cue (currently in generators.cue) --- support/schemas/problemformat.cue | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/support/schemas/problemformat.cue b/support/schemas/problemformat.cue index 336aeb17..a3570946 100644 --- a/support/schemas/problemformat.cue +++ b/support/schemas/problemformat.cue @@ -1,25 +1,14 @@ package problemformat // Schemas relevant for the problem package format specification. +problem_package_format: string | *"legacy" -// Names for testgroups and testcases are alphanumerical with internal -// underscores and hyphens; such as "huge", "make_tree", "3", or "connected_graph-01", -// but not "huge_" or "-2". -let basename = "([A-Za-z0-9][A-Za-z0-9_-]*[A-Za-z0-9]|[A-Za-z0-9])" -name: =~"^\(basename)$" -// Filenames are somewhat like names, but can also contain '.' -// and have length at least 2, such as "good-solution_02.py" -// but not "huge_" or "a". -let filename = "[A-Za-z0-9][A-Za-z0-9_.-]*[A-Za-z0-9]" - -filepath: =~"^/?\(filename)(/\(filename))*$" -casepath: =~"^\(filename)(/\(basename))*$" // Test data settings #testdata_settings: { - input_validator_flags?: *"" | string | {[string]: string} + input_validator_flags?: *"" | string | {[string]: string} output_validator_flags?: *"" | string grading?: { score?: >0