-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6ac5f0
commit f739810
Showing
2 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
accepted/th.py: | ||
permitted: ["AC"] | ||
--- | ||
# applies to all submissions in accepted/ | ||
accepted: | ||
permitted: ["AC"] | ||
--- | ||
# this submissions passes all samples | ||
accepted/a.py: | ||
sample: | ||
permitted: ["AC"] | ||
--- | ||
# use globs for testnodes | ||
accepted/a.py: | ||
sample: | ||
required: ["AC"] | ||
secret/*/huge: | ||
required: ["TLE"] | ||
--- | ||
# specify many things for a submission | ||
accepted/lovelace.ada: | ||
author: Ada Lovelace <[email protected]> | ||
score: [0, 20] | ||
sample: | ||
required: ["AC"] | ||
secret/*/huge: | ||
required: ["TLE"] | ||
--- | ||
# More than one submission: | ||
accepted/a.py: | ||
score: [60, 80] | ||
accepted/b.py: | ||
score: [70, 74] | ||
--- | ||
other/*.py: | ||
required: ["TLE"] | ||
--- | ||
other/*: | ||
required: ["TLE"] | ||
--- | ||
accepted: | ||
author: "Ragnar van’t Höfnarß <foo_@bar>" | ||
permitted: ["AC", "TLE", "WA"] | ||
required: ["TLE"] | ||
score: [40, 50] | ||
sample: { required: [WA] } | ||
sample/1 : { required: [AC] } | ||
secret/*/huge: { required: [TLE] } # can use globbing | ||
"*/sample/foo": { permitted: [AC, TLE] } # remember quotes bc * is weird in YAML | ||
secret/*/*/1: { required: [TLE] } # no ** |