fix: pass test
This commit is contained in:
parent
e87b3ca775
commit
5601b46ffa
|
@ -276,13 +276,7 @@ def fix_diff(
|
||||||
stage_cases.append(
|
stage_cases.append(
|
||||||
result.OptionalCmd(
|
result.OptionalCmd(
|
||||||
stdin=result.CmdFile(
|
stdin=result.CmdFile(
|
||||||
src=(
|
src=f"/home/tt/.config/joj/{task_conf.task.type_}/{stdin}",
|
||||||
(task_conf.root / task_conf.path)
|
|
||||||
.parent.joinpath(stdin)
|
|
||||||
.name
|
|
||||||
if task_conf.root is not None and task_conf.path is not None
|
|
||||||
else f"/home/tt/.config/joj/{task_conf.task.type_}/{stdin}"
|
|
||||||
)
|
|
||||||
),
|
),
|
||||||
args=(shlex.split(command) if command is not None else None),
|
args=(shlex.split(command) if command is not None else None),
|
||||||
cpu_limit=cpu_limit,
|
cpu_limit=cpu_limit,
|
||||||
|
@ -305,16 +299,7 @@ def fix_diff(
|
||||||
{
|
{
|
||||||
"score": diff_output.score,
|
"score": diff_output.score,
|
||||||
"fileName": "stdout",
|
"fileName": "stdout",
|
||||||
"answerPath": (
|
"answerPath": f"/home/tt/.config/joj/{task_conf.task.type_}/{stdout}",
|
||||||
(task_conf.root / task_conf.path)
|
|
||||||
.parent.joinpath(stdout)
|
|
||||||
.name
|
|
||||||
if (
|
|
||||||
task_conf.root is not None
|
|
||||||
and task_conf.path is not None
|
|
||||||
)
|
|
||||||
else f"/home/tt/.config/joj/{task_conf.task.type_}/{stdout}"
|
|
||||||
),
|
|
||||||
"forceQuitOnDiff": diff_output.forcequit,
|
"forceQuitOnDiff": diff_output.forcequit,
|
||||||
"alwaysHide": diff_output.hide,
|
"alwaysHide": diff_output.hide,
|
||||||
"compareSpace": not diff_output.ignorespaces,
|
"compareSpace": not diff_output.ignorespaces,
|
||||||
|
|
|
@ -22,20 +22,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
@ -69,9 +69,9 @@
|
||||||
"env": [
|
"env": [
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
"PATH=/usr/bin:/bin:/usr/local/bin"
|
||||||
],
|
],
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"copyOut": [
|
"copyOut": [
|
||||||
"stdout",
|
"stdout",
|
||||||
|
@ -91,9 +91,9 @@
|
||||||
"env": [
|
"env": [
|
||||||
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
||||||
],
|
],
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"copyOut": [
|
"copyOut": [
|
||||||
"stdout",
|
"stdout",
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"tools/compile": {
|
"tools/compile": {
|
||||||
"src": "/home/tt/.config/joj/tools/compile",
|
"src": "/home/tt/.config/joj/tools/compile",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"copyInCached": {},
|
"copyInCached": {},
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -244,7 +244,7 @@
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"tools/filelength": {
|
"tools/filelength": {
|
||||||
"src": "/home/tt/.config/joj/tools/filelength",
|
"src": "/home/tt/.config/joj/tools/filelength",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"copyInCached": {
|
"copyInCached": {
|
||||||
|
@ -332,7 +332,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -353,7 +353,7 @@
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"tests/homework/h7/.clang-tidy": {
|
"tests/homework/h7/.clang-tidy": {
|
||||||
"src": "/home/tt/.config/joj/tests/homework/h7/.clang-tidy",
|
"src": "/home/tt/.config/joj/tests/homework/h7/.clang-tidy",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"copyInCached": {
|
"copyInCached": {
|
||||||
|
@ -467,7 +467,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -573,7 +573,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -719,8 +719,8 @@
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
"PATH=/usr/bin:/bin:/usr/local/bin"
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "case0.in",
|
"src": "/home/tt/.config/joj/homework/h7/e2/case0.in",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2000000000,
|
"clockLimit": 2000000000,
|
||||||
|
@ -736,8 +736,8 @@
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
"PATH=/usr/bin:/bin:/usr/local/bin"
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "case1.in",
|
"src": "/home/tt/.config/joj/homework/h7/e2/case1.in",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2000000000,
|
"clockLimit": 2000000000,
|
||||||
|
@ -762,7 +762,7 @@
|
||||||
{
|
{
|
||||||
"score": 5,
|
"score": 5,
|
||||||
"fileName": "stdout",
|
"fileName": "stdout",
|
||||||
"answerPath": "case0.out",
|
"answerPath": "/home/tt/.config/joj/homework/h7/e2/case0.out",
|
||||||
"forceQuitOnDiff": false,
|
"forceQuitOnDiff": false,
|
||||||
"alwaysHide": false,
|
"alwaysHide": false,
|
||||||
"compareSpace": false
|
"compareSpace": false
|
||||||
|
@ -774,7 +774,7 @@
|
||||||
{
|
{
|
||||||
"score": 5,
|
"score": 5,
|
||||||
"fileName": "stdout",
|
"fileName": "stdout",
|
||||||
"answerPath": "case1.out",
|
"answerPath": "/home/tt/.config/joj/homework/h7/e2/case1.out",
|
||||||
"forceQuitOnDiff": false,
|
"forceQuitOnDiff": false,
|
||||||
"alwaysHide": false,
|
"alwaysHide": false,
|
||||||
"compareSpace": false
|
"compareSpace": false
|
||||||
|
@ -822,20 +822,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
|
@ -10,111 +10,6 @@
|
||||||
"sandboxToken": "",
|
"sandboxToken": "",
|
||||||
"outputPath": "/tmp/joj3_result.json",
|
"outputPath": "/tmp/joj3_result.json",
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"group": "",
|
|
||||||
"executor": {
|
|
||||||
"name": "local",
|
|
||||||
"with": {
|
|
||||||
"default": {
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"stdin": {
|
|
||||||
"content": "",
|
|
||||||
"max": 419430400
|
|
||||||
},
|
|
||||||
"stdout": {
|
|
||||||
"name": "stdout",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"stderr": {
|
|
||||||
"name": "stderr",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"realCpuLimit": 0,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"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="
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
"/usr/local/bin/joint-teapot",
|
|
||||||
"joj3-check-env",
|
|
||||||
"/home/tt/.config/teapot/teapot.env",
|
|
||||||
"--grading-repo-name",
|
|
||||||
"ece280-joj",
|
|
||||||
"--group-config",
|
|
||||||
"=100:24"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parsers": [
|
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"with": {
|
|
||||||
"score": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "debug",
|
|
||||||
"with": {
|
|
||||||
"score": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "[cq] Clang-tidy",
|
"name": "[cq] Clang-tidy",
|
||||||
"group": "cq",
|
"group": "cq",
|
||||||
|
@ -136,7 +31,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -157,11 +52,11 @@
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"tests/homework/h7/.clang-tidy": {
|
"tests/homework/h7/.clang-tidy": {
|
||||||
"src": "/home/tt/.config/joj/tests/homework/h7/.clang-tidy",
|
"src": "/home/tt/.config/joj/tests/homework/h7/.clang-tidy",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"h7/build/compile_commands.json": {
|
"h7/build/compile_commands.json": {
|
||||||
"src": "/home/tt/.config/joj/h7/build/compile_commands.json",
|
"src": "/home/tt/.config/joj/h7/build/compile_commands.json",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"copyInCached": {},
|
"copyInCached": {},
|
||||||
|
@ -271,20 +166,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
|
@ -10,111 +10,6 @@
|
||||||
"sandboxToken": "",
|
"sandboxToken": "",
|
||||||
"outputPath": "/tmp/joj3_result.json",
|
"outputPath": "/tmp/joj3_result.json",
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"group": "",
|
|
||||||
"executor": {
|
|
||||||
"name": "local",
|
|
||||||
"with": {
|
|
||||||
"default": {
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"stdin": {
|
|
||||||
"content": "",
|
|
||||||
"max": 419430400
|
|
||||||
},
|
|
||||||
"stdout": {
|
|
||||||
"name": "stdout",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"stderr": {
|
|
||||||
"name": "stderr",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"realCpuLimit": 0,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"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="
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
"/usr/local/bin/joint-teapot",
|
|
||||||
"joj3-check-env",
|
|
||||||
"/home/tt/.config/teapot/teapot.env",
|
|
||||||
"--grading-repo-name",
|
|
||||||
"ece280-joj",
|
|
||||||
"--group-config",
|
|
||||||
"=100:24"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parsers": [
|
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"with": {
|
|
||||||
"score": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "debug",
|
|
||||||
"with": {
|
|
||||||
"score": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "[cq] Cppcheck",
|
"name": "[cq] Cppcheck",
|
||||||
"group": "cq",
|
"group": "cq",
|
||||||
|
@ -136,7 +31,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -239,20 +134,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
|
@ -10,111 +10,6 @@
|
||||||
"sandboxToken": "",
|
"sandboxToken": "",
|
||||||
"outputPath": "/tmp/joj3_result.json",
|
"outputPath": "/tmp/joj3_result.json",
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"group": "",
|
|
||||||
"executor": {
|
|
||||||
"name": "local",
|
|
||||||
"with": {
|
|
||||||
"default": {
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"stdin": {
|
|
||||||
"content": "",
|
|
||||||
"max": 419430400
|
|
||||||
},
|
|
||||||
"stdout": {
|
|
||||||
"name": "stdout",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"stderr": {
|
|
||||||
"name": "stderr",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"realCpuLimit": 0,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"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="
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
"/usr/local/bin/joint-teapot",
|
|
||||||
"joj3-check-env",
|
|
||||||
"/home/tt/.config/teapot/teapot.env",
|
|
||||||
"--grading-repo-name",
|
|
||||||
"ece280-joj",
|
|
||||||
"--group-config",
|
|
||||||
"=100:24"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parsers": [
|
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"with": {
|
|
||||||
"score": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "debug",
|
|
||||||
"with": {
|
|
||||||
"score": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "[cq] Cpplint",
|
"name": "[cq] Cpplint",
|
||||||
"group": "cq",
|
"group": "cq",
|
||||||
|
@ -135,7 +30,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -241,20 +136,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
|
@ -10,111 +10,6 @@
|
||||||
"sandboxToken": "",
|
"sandboxToken": "",
|
||||||
"outputPath": "/tmp/joj3_result.json",
|
"outputPath": "/tmp/joj3_result.json",
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"group": "",
|
|
||||||
"executor": {
|
|
||||||
"name": "local",
|
|
||||||
"with": {
|
|
||||||
"default": {
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"stdin": {
|
|
||||||
"content": "",
|
|
||||||
"max": 419430400
|
|
||||||
},
|
|
||||||
"stdout": {
|
|
||||||
"name": "stdout",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"stderr": {
|
|
||||||
"name": "stderr",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"realCpuLimit": 0,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"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="
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
"/usr/local/bin/joint-teapot",
|
|
||||||
"joj3-check-env",
|
|
||||||
"/home/tt/.config/teapot/teapot.env",
|
|
||||||
"--grading-repo-name",
|
|
||||||
"ece280-joj",
|
|
||||||
"--group-config",
|
|
||||||
"=100:24"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parsers": [
|
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"with": {
|
|
||||||
"score": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "debug",
|
|
||||||
"with": {
|
|
||||||
"score": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "[joj] ex2-asan",
|
"name": "[joj] ex2-asan",
|
||||||
"group": "joj",
|
"group": "joj",
|
||||||
|
@ -148,7 +43,7 @@
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"h7/build/ex2-asan": {
|
"h7/build/ex2-asan": {
|
||||||
"src": "/home/tt/.config/joj/h7/build/ex2-asan",
|
"src": "/home/tt/.config/joj/h7/build/ex2-asan",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"copyInCached": {},
|
"copyInCached": {},
|
||||||
|
@ -171,8 +66,8 @@
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
"PATH=/usr/bin:/bin:/usr/local/bin"
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "case0.in",
|
"src": "/home/tt/.config/joj/homework/h7/e2/case0.in",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2000000000,
|
"clockLimit": 2000000000,
|
||||||
|
@ -188,8 +83,8 @@
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
"PATH=/usr/bin:/bin:/usr/local/bin"
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"src": "case1.in",
|
"src": "/home/tt/.config/joj/homework/h7/e2/case1.in",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 1000000000,
|
"cpuLimit": 1000000000,
|
||||||
"clockLimit": 2000000000,
|
"clockLimit": 2000000000,
|
||||||
|
@ -214,7 +109,7 @@
|
||||||
{
|
{
|
||||||
"score": 5,
|
"score": 5,
|
||||||
"fileName": "stdout",
|
"fileName": "stdout",
|
||||||
"answerPath": "case0.out",
|
"answerPath": "/home/tt/.config/joj/homework/h7/e2/case0.out",
|
||||||
"forceQuitOnDiff": false,
|
"forceQuitOnDiff": false,
|
||||||
"alwaysHide": false,
|
"alwaysHide": false,
|
||||||
"compareSpace": false
|
"compareSpace": false
|
||||||
|
@ -226,7 +121,7 @@
|
||||||
{
|
{
|
||||||
"score": 5,
|
"score": 5,
|
||||||
"fileName": "stdout",
|
"fileName": "stdout",
|
||||||
"answerPath": "case1.out",
|
"answerPath": "/home/tt/.config/joj/homework/h7/e2/case1.out",
|
||||||
"forceQuitOnDiff": false,
|
"forceQuitOnDiff": false,
|
||||||
"alwaysHide": false,
|
"alwaysHide": false,
|
||||||
"compareSpace": false
|
"compareSpace": false
|
||||||
|
@ -274,20 +169,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
|
@ -10,111 +10,6 @@
|
||||||
"sandboxToken": "",
|
"sandboxToken": "",
|
||||||
"outputPath": "/tmp/joj3_result.json",
|
"outputPath": "/tmp/joj3_result.json",
|
||||||
"stages": [
|
"stages": [
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"group": "",
|
|
||||||
"executor": {
|
|
||||||
"name": "local",
|
|
||||||
"with": {
|
|
||||||
"default": {
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"stdin": {
|
|
||||||
"content": "",
|
|
||||||
"max": 419430400
|
|
||||||
},
|
|
||||||
"stdout": {
|
|
||||||
"name": "stdout",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"stderr": {
|
|
||||||
"name": "stderr",
|
|
||||||
"max": 4096
|
|
||||||
},
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"realCpuLimit": 0,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"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="
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"PATH=/usr/bin:/bin:/usr/local/bin"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"args": [
|
|
||||||
"/usr/local/bin/joint-teapot",
|
|
||||||
"joj3-check-env",
|
|
||||||
"/home/tt/.config/teapot/teapot.env",
|
|
||||||
"--grading-repo-name",
|
|
||||||
"ece280-joj",
|
|
||||||
"--group-config",
|
|
||||||
"=100:24"
|
|
||||||
],
|
|
||||||
"env": [
|
|
||||||
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
|
||||||
],
|
|
||||||
"cpuLimit": 4000000000000,
|
|
||||||
"clockLimit": 8000000000000,
|
|
||||||
"memoryLimit": 838860800,
|
|
||||||
"procLimit": 50,
|
|
||||||
"copyOut": [
|
|
||||||
"stdout",
|
|
||||||
"stderr"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"parsers": [
|
|
||||||
{
|
|
||||||
"name": "healthcheck",
|
|
||||||
"with": {
|
|
||||||
"score": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "debug",
|
|
||||||
"with": {
|
|
||||||
"score": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "[cq] Filelength",
|
"name": "[cq] Filelength",
|
||||||
"group": "cq",
|
"group": "cq",
|
||||||
|
@ -134,7 +29,7 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
|
@ -155,7 +50,7 @@
|
||||||
"copyIn": {
|
"copyIn": {
|
||||||
"tools/filelength": {
|
"tools/filelength": {
|
||||||
"src": "/home/tt/.config/joj/tools/filelength",
|
"src": "/home/tt/.config/joj/tools/filelength",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"copyInCached": {},
|
"copyInCached": {},
|
||||||
|
@ -239,20 +134,20 @@
|
||||||
],
|
],
|
||||||
"stdin": {
|
"stdin": {
|
||||||
"content": "",
|
"content": "",
|
||||||
"max": 419430400
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stdout": {
|
"stdout": {
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"stderr": {
|
"stderr": {
|
||||||
"name": "stderr",
|
"name": "stderr",
|
||||||
"max": 4096
|
"max": 128000000
|
||||||
},
|
},
|
||||||
"cpuLimit": 4000000000000,
|
"cpuLimit": 1,
|
||||||
"realCpuLimit": 0,
|
"realCpuLimit": 0,
|
||||||
"clockLimit": 8000000000000,
|
"clockLimit": 2,
|
||||||
"memoryLimit": 838860800,
|
"memoryLimit": 128000000,
|
||||||
"stackLimit": 0,
|
"stackLimit": 0,
|
||||||
"procLimit": 50,
|
"procLimit": 50,
|
||||||
"cpuRateLimit": 0,
|
"cpuRateLimit": 0,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user