From 9f54cce39f59f3bcb1e0d6d03ebd2fda51ab3e20 Mon Sep 17 00:00:00 2001 From: Thore Husfeldt Date: Mon, 4 Mar 2024 22:31:09 +0100 Subject: [PATCH] identity: make generators.yaml conform --- .../identity/generators/generators.yaml | 32 ++++++++----------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/test/problems/identity/generators/generators.yaml b/test/problems/identity/generators/generators.yaml index fbfbe913..59feb531 100644 --- a/test/problems/identity/generators/generators.yaml +++ b/test/problems/identity/generators/generators.yaml @@ -4,13 +4,13 @@ solution: /submissions/accepted/author.py random_salt: "abc" generators: - main.py: + main_py: - main.py - lib.py - main.cpp: + main_cpp: - main.cpp - lib.h - main.c: + main_c: - main.c - lib.h @@ -68,13 +68,12 @@ data: data: stdoutpy: stdout.py 200 stdoutcpp: stdout.cpp 201 - # {name} should always just be `testcase` now. - inans_old: write_in_and_ans_old.py {name} 212 + inans_old: write_in_and_ans_old.py 212 inans: write_in_and_ans.py 202 hintdesc: hint_desc.py 203 - main.py: main.py 204 - main.c: main.c 205 - main.cpp: main.cpp 206 + main_py: main.py 204 + main_c: main.c 205 + main_cpp: main.cpp 206 numbered_group: data: - dir: dir 300 @@ -98,7 +97,7 @@ data: - "": stdout.py 132 # 10.in seeding: testdata.yaml: - arbitrary_key: some_value + output_validator_flags: some_value solution: /submissions/accepted/author.cpp random_salt: "def" data: @@ -158,14 +157,12 @@ data: boolean_generator_false: solution: /generators/false generate: f - unknown_key: - empty_group_1: {} - empty_group_2: - data: + #unknown_key: + # empty_group_1: {} + #empty_group_2: + # data: empty_group_3: data: [] - empty_group_4: - data: empty_group_5: data: - a: stdout.py 501 # 1-a @@ -173,8 +170,6 @@ data: empty_group_6: data: - "": stdout.py 503 - has_type: - type: directory json: { data: @@ -184,6 +179,5 @@ data: { "": stdout.py 602 }, ], } - unknown_key: -unknown_key: +unknown_key: this is allowed