From 890120c4796675df91e8b878703be8d7f457a9ff Mon Sep 17 00:00:00 2001 From: jon-lee Date: Tue, 18 Mar 2025 15:59:26 +0800 Subject: [PATCH] fix(diff): use list instead of set to past tests --- joj3_config_generator/transformers/task.py | 12 +- tests/convert/clang-tidy/task.json | 155 +----------- tests/convert/cppcheck/task.json | 155 +----------- tests/convert/cpplint/task.json | 155 +----------- tests/convert/diff/task.json | 265 +++++---------------- tests/convert/keyword/task.json | 155 +----------- tests/convert/result-detail/task.json | 155 +----------- 7 files changed, 68 insertions(+), 984 deletions(-) diff --git a/joj3_config_generator/transformers/task.py b/joj3_config_generator/transformers/task.py index 066b82a..4c91a1d 100644 --- a/joj3_config_generator/transformers/task.py +++ b/joj3_config_generator/transformers/task.py @@ -173,7 +173,7 @@ def fix_diff( ) testcases = get_testcases(task_root, task_path) # TODO: better filter strategy - default_cases = testcases.difference(task_stage.cases) + default_cases = list(filter(lambda x: x not in task_stage.cases, testcases)) stage_cases = [] parser_cases = [] for case, case_stage in valid_cases: @@ -225,10 +225,12 @@ def fix_diff( def get_testcases( task_root: Path, task_path: Path -) -> Set[str]: # basedir here should be task_conf.root / task_conf.path - testcases = set() +) -> List[str]: # basedir here should be task_conf.root / task_conf.path + testcases = [] for testcases_path in (task_root / task_path).parent.glob("**/*.in"): - testcases.add( - str(testcases_path.relative_to(task_path.parent)).removesuffix(".in") + testcases.append( + str( + testcases_path.relative_to((task_root / task_path).parent) + ).removesuffix(".in") ) return testcases diff --git a/tests/convert/clang-tidy/task.json b/tests/convert/clang-tidy/task.json index 2c207ef..5c9b30e 100644 --- a/tests/convert/clang-tidy/task.json +++ b/tests/convert/clang-tidy/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "Health Check", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [], - "env": [], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=", - "-checkFileNameList=" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Clang-tidy", "group": "cq", @@ -221,73 +135,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/cppcheck/task.json b/tests/convert/cppcheck/task.json index 144796d..bc2d317 100644 --- a/tests/convert/cppcheck/task.json +++ b/tests/convert/cppcheck/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "Health Check", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [], - "env": [], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=", - "-checkFileNameList=" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Cppcheck", "group": "cq", @@ -191,73 +105,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/cpplint/task.json b/tests/convert/cpplint/task.json index 6ffe678..8fdb56f 100644 --- a/tests/convert/cpplint/task.json +++ b/tests/convert/cpplint/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "Health Check", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [], - "env": [], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=", - "-checkFileNameList=" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Cpplint", "group": "cq", @@ -193,73 +107,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/diff/task.json b/tests/convert/diff/task.json index c4bb518..4e93004 100644 --- a/tests/convert/diff/task.json +++ b/tests/convert/diff/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "Health Check", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [], - "env": [], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=", - "-checkFileNameList=" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[joj] ex2-asan", "group": "joj", @@ -166,6 +80,16 @@ "memoryLimit": 4194304, "procLimit": 50 }, + { + "stdin": { + "src": "/home/tt/.config/joj/diff/case2.in" + } + }, + { + "stdin": { + "src": "/home/tt/.config/joj/diff/case3.in" + } + }, { "stdin": { "src": "/home/tt/.config/joj/diff/task1/task1.in" @@ -173,7 +97,12 @@ }, { "stdin": { - "src": "/home/tt/.config/joj/diff/task1/subtask1/task5.in" + "src": "/home/tt/.config/joj/diff/task1/task2.in" + } + }, + { + "stdin": { + "src": "/home/tt/.config/joj/diff/task2/task4.in" } }, { @@ -188,22 +117,7 @@ }, { "stdin": { - "src": "/home/tt/.config/joj/diff/case3.in" - } - }, - { - "stdin": { - "src": "/home/tt/.config/joj/diff/task2/task4.in" - } - }, - { - "stdin": { - "src": "/home/tt/.config/joj/diff/case2.in" - } - }, - { - "stdin": { - "src": "/home/tt/.config/joj/diff/task1/task2.in" + "src": "/home/tt/.config/joj/diff/task1/subtask1/task5.in" } } ] @@ -239,6 +153,30 @@ } ] }, + { + "outputs": [ + { + "score": 5, + "fileName": "stdout", + "answerPath": "/home/tt/.config/joj/diff/case2.out", + "forceQuitOnDiff": false, + "alwaysHide": false, + "compareSpace": false + } + ] + }, + { + "outputs": [ + { + "score": 5, + "fileName": "stdout", + "answerPath": "/home/tt/.config/joj/diff/case3.out", + "forceQuitOnDiff": false, + "alwaysHide": false, + "compareSpace": false + } + ] + }, { "outputs": [ { @@ -256,7 +194,19 @@ { "score": 5, "fileName": "stdout", - "answerPath": "/home/tt/.config/joj/diff/task1/subtask1/task5.out", + "answerPath": "/home/tt/.config/joj/diff/task1/task2.out", + "forceQuitOnDiff": false, + "alwaysHide": false, + "compareSpace": false + } + ] + }, + { + "outputs": [ + { + "score": 5, + "fileName": "stdout", + "answerPath": "/home/tt/.config/joj/diff/task2/task4.out", "forceQuitOnDiff": false, "alwaysHide": false, "compareSpace": false @@ -292,43 +242,7 @@ { "score": 5, "fileName": "stdout", - "answerPath": "/home/tt/.config/joj/diff/case3.out", - "forceQuitOnDiff": false, - "alwaysHide": false, - "compareSpace": false - } - ] - }, - { - "outputs": [ - { - "score": 5, - "fileName": "stdout", - "answerPath": "/home/tt/.config/joj/diff/task2/task4.out", - "forceQuitOnDiff": false, - "alwaysHide": false, - "compareSpace": false - } - ] - }, - { - "outputs": [ - { - "score": 5, - "fileName": "stdout", - "answerPath": "/home/tt/.config/joj/diff/case2.out", - "forceQuitOnDiff": false, - "alwaysHide": false, - "compareSpace": false - } - ] - }, - { - "outputs": [ - { - "score": 5, - "fileName": "stdout", - "answerPath": "/home/tt/.config/joj/diff/task1/task2.out", + "answerPath": "/home/tt/.config/joj/diff/task1/subtask1/task5.out", "forceQuitOnDiff": false, "alwaysHide": false, "compareSpace": false @@ -355,73 +269,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/keyword/task.json b/tests/convert/keyword/task.json index 88f6a61..355db46 100644 --- a/tests/convert/keyword/task.json +++ b/tests/convert/keyword/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "Health Check", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [], - "env": [], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=", - "-checkFileNameList=" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Filelength", "group": "cq", @@ -190,73 +104,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } } diff --git a/tests/convert/result-detail/task.json b/tests/convert/result-detail/task.json index 8daa140..cd060e1 100644 --- a/tests/convert/result-detail/task.json +++ b/tests/convert/result-detail/task.json @@ -10,92 +10,6 @@ "sandboxToken": "", "outputPath": "/tmp/joj3_result.json", "stages": [ - { - "name": "Health Check", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [], - "env": [], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [ - { - "args": [ - "/usr/local/bin/repo-health-checker", - "-root=.", - "-repoSize=10", - "-checkFileSumList=", - "-checkFileNameList=" - ] - }, - { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-check-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--group-config", - "" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ] - } - ] - } - }, - "parsers": [ - { - "name": "healthcheck", - "with": { - "score": 1 - } - }, - { - "name": "debug", - "with": { - "score": 0 - } - } - ] - }, { "name": "[cq] Filelength", "group": "cq", @@ -172,73 +86,6 @@ } ], "preStages": [], - "postStages": [ - { - "name": "teapot", - "group": "", - "executor": { - "name": "local", - "with": { - "default": { - "args": [ - "/usr/local/bin/joint-teapot", - "joj3-all-env", - "/home/tt/.config/teapot/teapot.env", - "--grading-repo-name", - "Nuvole-joj", - "--max-total-score", - "100" - ], - "env": [ - "LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log" - ], - "stdin": { - "content": "" - }, - "stdout": { - "name": "stdout", - "max": 33554432, - "pipe": true - }, - "stderr": { - "name": "stderr", - "max": 33554432, - "pipe": true - }, - "cpuLimit": 1000000000, - "clockLimit": 2000000000, - "memoryLimit": 134217728, - "stackLimit": 0, - "procLimit": 50, - "cpuRateLimit": 0, - "cpuSetLimit": "", - "copyIn": {}, - "copyInCached": {}, - "copyInDir": ".", - "copyOut": [ - "stdout", - "stderr" - ], - "copyOutCached": [], - "copyOutMax": 0, - "copyOutDir": "", - "tty": false, - "strictMemoryLimit": false, - "dataSegmentLimit": false, - "addressSpaceLimit": false - }, - "cases": [] - } - }, - "parsers": [ - { - "name": "log", - "with": { - "msg": "joj3 summary" - } - } - ] - } - ] + "postStages": [] } }