chore: new conf version

This commit is contained in:
张泊明518370910136 2025-06-04 06:38:53 -04:00
parent 8b6f94d115
commit 2edcb28f94
GPG Key ID: CA088E6D9284F870

116
conf.json
View File

@ -1,61 +1,63 @@
{
"stage": {
"stages": [
{
"name": "keyword",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"bash",
"-c",
". ./src/lib.sh; check_files ./src/assets"
],
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 65536
},
"stderr": {
"name": "stderr",
"max": 65536
}
}
}
},
"parser": {
"name": "keyword",
"with": {
"score": 100,
"files": [
"stdout"
],
"forceQuitOnDeduct": true,
"matches": [
{
"keywords": [
"check files error"
],
"score": 5
}
]
}
}
"stage": {
"stages": [
{
"name": "keyword",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"bash",
"-c",
". ./src/lib.sh; check_files ./src/assets"
],
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"cpuLimit": 10000000000,
"memoryLimit": 104857600,
"procLimit": 50,
"copyInDir": ".",
"copyOut": [
"stdout",
"stderr"
],
"stdin": {
"content": ""
},
"stdout": {
"name": "stdout",
"max": 65536
},
"stderr": {
"name": "stderr",
"max": 65536
}
}
}
},
"parsers": [
{
"name": "keyword",
"with": {
"score": 100,
"files": [
"stdout"
],
"forceQuitOnDeduct": true,
"matches": [
{
"keywords": [
"check files error"
],
"score": 5
}
]
}
}
]
}
}
]
}
}