fix: cleanup to comply with joj features
parent
3dfc6820db
commit
56a16bc056
|
@ -114,9 +114,9 @@ share back with students.
|
||||||
Currently the following parsers are available:
|
Currently the following parsers are available:
|
||||||
- Generic:
|
- Generic:
|
||||||
- `keyword`: catch keywords on any generic text output
|
- `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
|
- `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:
|
- Code quality:
|
||||||
- `clangtidy`: parse clang-tidy output for specified keywords
|
- `clangtidy`: parse clang-tidy output for specified keywords
|
||||||
- `cppcheck`: parse cppcheck 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]
|
[compile]
|
||||||
command = "cmake"
|
command = "cmake"
|
||||||
copyfiles = [ "main.c", "task.h" ] # files to include with repo code when compiling
|
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]
|
[code-quality]
|
||||||
filelength.name = "File length check"
|
filelength.name = "File length check"
|
||||||
|
@ -176,13 +176,10 @@ case4.limit.cpu = 30
|
||||||
case4.limit.mem = 10
|
case4.limit.mem = 10
|
||||||
|
|
||||||
case5.score = 25
|
case5.score = 25
|
||||||
case5.parsers = [ ] # hide all output
|
|
||||||
|
|
||||||
case6.score = 25
|
case6.score = 25
|
||||||
case6.parsers = ["diff"]
|
|
||||||
case6.size.diff = 64
|
case6.size.diff = 64
|
||||||
|
|
||||||
case8.whitespace = false
|
|
||||||
case8.size.stderr = 128
|
case8.size.stderr = 128
|
||||||
|
|
||||||
[judge-msan]
|
[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
|
limit.mem = 500 # set default mem limit (in MB) for all OJ test cases
|
||||||
score = 10
|
score = 10
|
||||||
parsers = ["diff"]
|
parsers = ["diff"]
|
||||||
skip = ["case0.in", "case11.in"]
|
skip = ["case0", "case11"]
|
||||||
diff.ignorespaces = false
|
diff.ignorespaces = false
|
||||||
|
|
||||||
case4.score = 15
|
case4.score = 15
|
||||||
|
@ -199,11 +196,8 @@ case4.limit.cpu = 30
|
||||||
case4.limit.mem = 10
|
case4.limit.mem = 10
|
||||||
|
|
||||||
case5.score = 25
|
case5.score = 25
|
||||||
case5.parsers = [ ]
|
|
||||||
case5.diff.ignorespaces = false
|
|
||||||
|
|
||||||
case6.score = 25
|
case6.score = 25
|
||||||
case6.parsers = ["stderr"]
|
|
||||||
case6.size.stderr = 32
|
case6.size.stderr = 32
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user