4 releases
0.1.4 | Aug 20, 2023 |
---|---|
0.1.3 | Aug 20, 2023 |
0.1.1 | Aug 4, 2023 |
0.1.0 | Aug 3, 2023 |
#1409 in Development tools
44 downloads per month
47KB
921 lines
acadchecker
is a CLI tool for building checkers used in programming contests or homeworks.
The checker is configured from a json file.
Installation
cargo install acadchecker
Usage
acadchecker --config config.json
Config Example
{
"checker": {
"monitors": [
{
"time": {
"limit": {
"secs": 5,
"nanos": 0
}
}
}
],
"output_type": {
"scored": {
"per_test": 5
}
},
"in_refs": {
"1": [
"/binary/tests/in/001.in",
"/binary/tests/ref/001.ref"
]
}
},
"processor": {
"gcc": {
"language": "c++",
"flags": [
"-Werror",
"-Wall"
],
"exec": "/binary/solution"
}
},
"solution": {
"file": "/binary/solution.cpp"
},
"out_dir": "/binary/tests/out",
"security": {
"user": "sandbox",
"group": "restricted"
}
}
Dependencies
~10–21MB
~304K SLoC