Crates.io | acadchecker |
lib.rs | acadchecker |
version | 0.1.4 |
source | src |
created_at | 2023-08-03 03:33:42.171091 |
updated_at | 2023-08-20 17:16:09.194299 |
description | CLI tool for building checkers used in programming contests or homeworks. |
homepage | |
repository | https://github.com/acadnet-dev/checker-rs |
max_upload_size | |
id | 933365 |
size | 34,474 |
acadchecker
is a CLI tool for building checkers used in programming contests or homeworks.
The checker is configured from a json file.
cargo install acadchecker
acadchecker --config config.json
{
"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"
}
}