You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
args | Sequence of strings | Inherited from [`testdata.yaml`](#test-data-groups), which defaults to empty sequence
551
-
output_validator_args | Sequence of strings | Inherited from [`testdata.yaml`](#test-data-groups), which defaults to empty sequence
552
-
input_validator_args | Sequence of strings or map of strings to sequences of strings | Inherited from [`testdata.yaml`](#test-data-groups), which defaults to empty sequence
553
-
full_feedback | Boolean | Inherited from [`testdata.yaml`](#test-data-groups), which defaults to `false` in `secret` and `true` in `sample`
550
+
args | Sequence of strings | Inherited from [`test_group.yaml`](#test-data-groups), which defaults to empty sequence
551
+
output_validator_args | Sequence of strings | Inherited from [`test_group.yaml`](#test-data-groups), which defaults to empty sequence
552
+
input_validator_args | Sequence of strings or map of strings to sequences of strings | Inherited from [`test_group.yaml`](#test-data-groups), which defaults to empty sequence
553
+
full_feedback | Boolean | Inherited from [`test_group.yaml`](#test-data-groups), which defaults to `false` in `secret` and `true` in `sample`
554
554
hint | String |
555
555
description | String |
556
556
@@ -586,12 +586,12 @@ If a specific order is desired, a numbered prefix such as `00`, `01`, `02`, `03`
586
586
A subgroup must not have the same name as a test case in the same directory.
587
587
For example, if the file `data/secret/huge.in` exists then the directory `data/secret/huge/` must not, and vice versa.
588
588
589
-
In each test data group, a YAML file `testdata.yaml` may be placed to specify how the result of the test data group should be computed.
590
-
Some of the keys and their associated values will be inherited from the `testdata.yaml` in the closest ancestor group from the test case to the root `data` directory that has one.
591
-
Others must be explicitly defined in the group's `testdata.yaml` file — otherwise they are set to the default values.
592
-
If there is no `testdata.yaml` file in the root `data` group, one is implicitly added with the default values.
589
+
In each test data group, a YAML file `test_group.yaml` may be placed to specify how the result of the test data group should be computed.
590
+
Some of the keys and their associated values will be inherited from the `test_group.yaml` in the closest ancestor group from the test case to the root `data` directory that has one.
591
+
Others must be explicitly defined in the group's `test_group.yaml` file — otherwise they are set to the default values.
592
+
If there is no `test_group.yaml` file in the root `data` group, one is implicitly added with the default values.
@@ -627,7 +627,7 @@ In particular, for an existing feedback directory `dir`,
627
627
<output_validator_program> tc.in tc.ans dir [arguments] < tc.out # MUST FAIL
628
628
```
629
629
630
-
The directory `invalid_output` must be organized into a tree-like structure similar to `secret` and may contain arguments in `testdata.yaml` files that are passed to the validators.
630
+
The directory `invalid_output` must be organized into a tree-like structure similar to `secret` and may contain arguments in `test_group.yaml` files that are passed to the validators.
631
631
632
632
### Valid Output
633
633
@@ -644,7 +644,7 @@ In particular, for an existing feedback directory `dir`,
644
644
<output_validator_program> tc.in tc.ans dir [arguments] < tc.out # MUST PASS
645
645
```
646
646
647
-
The directory `invalid_output` must be organized into a tree-like structure similar to `secret` and may contain arguments in `testdata.yaml` files that are passed to the validators.
647
+
The directory `invalid_output` must be organized into a tree-like structure similar to `secret` and may contain arguments in `test_group.yaml` files that are passed to the validators.
648
648
649
649
### Samples
650
650
@@ -723,7 +723,7 @@ Otherwise the `.ans` is used as the `team_output`.
723
723
Files in `data/sample/download` are never validated,
724
724
although tooling may warn when there are inconsistencies between `download`, `statement`, and `data/sample/` itself.
725
725
726
-
Validation can be customized by specifying `input_validator_args` and `output_validator_args` in `data/sample/testdata.yaml`.
726
+
Validation can be customized by specifying `input_validator_args` and `output_validator_args` in `data/sample/test_group.yaml`.
727
727
These arguments are used when validating test cases in both `/data/sample` and `/data/sample/statement`.
728
728
729
729
## Generators
@@ -1181,7 +1181,7 @@ The goal of each submission is to maximize this score.
1181
1181
Only the `secret` group and its subgroups are scored.
1182
1182
1183
1183
Given a submission, scores are determined for test cases, test groups, and the submission itself (which is the score of the `secret` group).
1184
-
The scoring behavior is configured for each test data group by the following arguments in the `scoring` dictionary of its `testdata.yaml`:
1184
+
The scoring behavior is configured for each test data group by the following arguments in the `scoring` dictionary of its `test_group.yaml`:
@@ -1274,7 +1274,7 @@ A static validator may be provided under the `static_validator` directory, simil
1274
1274
1275
1275
Each test group may define a static validation test case.
1276
1276
It is an error to define static validation test cases without providing a static validator.
1277
-
A static validation test case is defined within a group's `testdata.yaml` file by specifying the key `static_validation`.
1277
+
A static validation test case is defined within a group's `test_group.yaml` file by specifying the key `static_validation`.
1278
1278
If a map is specified, it may have two keys `args`, and in the case of scoring test groups, `score`.
1279
1279
The key `args` maps to a string which represents the additional arguments passed to the static validator in this group's static validation test case.
1280
1280
The key `score` maps to a float which represents both the maximum score achievable for the static validation test case and the default score assigned in case the static validator accepts the submission for that test case.
0 commit comments