fix: cleanup to comply with joj features

manuel 2024-10-14 21:49:21 +08:00
parent 3dfc6820db
commit 56a16bc056

@ -114,9 +114,9 @@ share back with students.
Currently the following parsers are available:
- Generic:
- `keyword`: catch keywords on any generic text output
- `result-status`: check if the executor exit with status accepted
- `result-detail`: provide basic statistics on memory and CPU usage
- `dummy`: output the score and comment in the settings
- `result-status`: check if the executor exit with status accepted
- `dummy`: output the score and comment in the settings (only use for testing purpose)
- Code quality:
- `clangtidy`: parse clang-tidy output for specified keywords
- `cppcheck`: parse cppcheck output for specified keywords
@ -140,7 +140,7 @@ stages = [ "compile", "code-quality", "judge-base", "judge-msan" ] # list of sta
[compile]
command = "cmake"
copyfiles = [ "main.c", "task.h" ] # files to include with repo code when compiling
# limit.cpu = 600 # allow 600s for complex/long compilation
# limit.cpu = 300 # allow 300s for complex/long compilation
[code-quality]
filelength.name = "File length check"
@ -176,13 +176,10 @@ case4.limit.cpu = 30
case4.limit.mem = 10
case5.score = 25
case5.parsers = [ ] # hide all output
case6.score = 25
case6.parsers = ["diff"]
case6.size.diff = 64
case8.whitespace = false
case8.size.stderr = 128
[judge-msan]
@ -191,7 +188,7 @@ limit.cpu = 10 # default cpu limit (in sec) for each test case
limit.mem = 500 # set default mem limit (in MB) for all OJ test cases
score = 10
parsers = ["diff"]
skip = ["case0.in", "case11.in"]
skip = ["case0", "case11"]
diff.ignorespaces = false
case4.score = 15
@ -199,11 +196,8 @@ case4.limit.cpu = 30
case4.limit.mem = 10
case5.score = 25
case5.parsers = [ ]
case5.diff.ignorespaces = false
case6.score = 25
case6.parsers = ["stderr"]
case6.size.stderr = 32
```