From 7dab6c600dfe0af44cf8299a75825480864eed22 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sat, 27 Sep 2025 01:19:55 -0700 Subject: [PATCH] chore: remove nested fields --- conf.json | 100 ++++++++++++++++++++++++++---------------------------- 1 file changed, 49 insertions(+), 51 deletions(-) diff --git a/conf.json b/conf.json index 92be54c..7267b10 100644 --- a/conf.json +++ b/conf.json @@ -1,57 +1,55 @@ { - "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 + "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 } } - }, - "parsers": [ - { - "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