From 761ee705796528cecdd39577d077d269dbe2f2cf Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Mon, 27 Jan 2025 21:57:44 -0500 Subject: [PATCH] chore: new conf version --- conf.json | 111 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 47 deletions(-) diff --git a/conf.json b/conf.json index 9749723..1dc44cd 100644 --- a/conf.json +++ b/conf.json @@ -1,51 +1,68 @@ { - "stages": [ - { - "name": "keyword", - "executor": { - "name": "sandbox", - "with": { - "default": { - "args": ["cpplint", "--recursive", "."], - "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": ["stderr"], - "endOnMatch": true, - "matches": [ + "stage": { + "stages": [ { - "keywords": ["[legal/copyright]"], - "score": 5 - }, - { - "keywords": ["[runtime/references]"], - "score": 2, - "maxMatchCount": 3 + "name": "keyword", + "executor": { + "name": "sandbox", + "with": { + "default": { + "args": [ + "cpplint", + "--recursive", + "." + ], + "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": [ + "stderr" + ], + "endOnMatch": true, + "matches": [ + { + "keywords": [ + "[legal/copyright]" + ], + "score": 5 + }, + { + "keywords": [ + "[runtime/references]" + ], + "score": 2, + "maxMatchCount": 3 + } + ] + } + } } - ] - } - } + ] } - ] -} +} \ No newline at end of file