Skip to content

Commit

Permalink
identity: make generators.yaml conform
Browse files Browse the repository at this point in the history
  • Loading branch information
thorehusfeldt committed Mar 4, 2024
1 parent 5a12a3e commit 9f54cce
Showing 1 changed file with 13 additions and 19 deletions.
32 changes: 13 additions & 19 deletions test/problems/identity/generators/generators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -158,23 +157,19 @@ 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
- b: stdout.py 502 # 2-b
empty_group_6:
data:
- "": stdout.py 503
has_type:
type: directory
json:
{
data:
Expand All @@ -184,6 +179,5 @@ data:
{ "": stdout.py 602 },
],
}
unknown_key:

unknown_key:
unknown_key: this is allowed

0 comments on commit 9f54cce

Please sign in to comment.