From 949123477bdaa5d2134ca6d892211cb34f19e7d5 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 27 Jan 2025 22:38:28 -0500 Subject: [PATCH] chore: new conf version --- conf.json | 100 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 52 insertions(+), 48 deletions(-) diff --git a/conf.json b/conf.json index daf8c1d..92be54c 100644 --- a/conf.json +++ b/conf.json @@ -1,53 +1,57 @@ { - "stages": [ - { - "name": "sample", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": [ - "./sample", - "--score", - "-1" - ], - "env": [ - "PATH=/usr/bin:/bin" - ], - "cpuLimit": 10000000000, - "memoryLimit": 104857600, - "procLimit": 50, - "copyInDir": ".", - "copyIn": { - "sample": { - "src": "./../../../../../../build/sample" + "stage": { + "stages": [ + { + "name": "sample", + "executor": { + "name": "sandbox", + "with": { + "default": { + "args": [ + "./sample", + "--score", + "-1" + ], + "env": [ + "PATH=/usr/bin:/bin" + ], + "cpuLimit": 10000000000, + "memoryLimit": 104857600, + "procLimit": 50, + "copyInDir": ".", + "copyIn": { + "sample": { + "src": "./../../../../../../build/sample" + } + }, + "copyOut": [ + "stdout", + "stderr" + ], + "stdin": { + "content": "" + }, + "stdout": { + "name": "stdout", + "max": 4096 + }, + "stderr": { + "name": "stderr", + "max": 4096 } - }, - "copyOut": [ - "stdout", - "stderr" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 4096 - }, - "stderr": { - "name": "stderr", - "max": 4096 } } - } - }, - "parser": { - "name": "sample", - "with": { - "score": 10, - "comment": " + comment from toml conf" - } + }, + "parsers": [ + { + "name": "sample", + "with": { + "score": 10, + "comment": " + comment from toml conf" + } + } + ] } - } - ] -} + ] + } +} \ No newline at end of file