JOJ3-config-generator/tests/convert/basic/task.json

236 lines
9.9 KiB
JSON

{
"name": "e2",
"logPath": "/home/tt/.cache/joj3/exam/e2.log",
"expireUnixTimestamp": 1735574399,
"actorCsvPath": "/home/tt/.config/joj/students.csv",
"stage": {
"sandboxExecServer": "172.17.0.1:5051",
"sandboxToken": "test",
"outputPath": "/tmp/joj3_result.json",
"stages": [
{
"name": "healthcheck",
"group": "",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"/tmp/repo-health-checker",
"-root=.",
"-repoSize=50.5",
"-meta=README.md",
"-checkFileSumList=a7bda693bf603a20b0ecf1bcdae62c7268596313e7efffcbc8a6fe393e3397b6,b1bbad25b830db0a77b15a033f9ca1b7ab44c1d2d05056412bd3e4421645f0bf,0f786177a68c4553043d0c8f8235908730249cc84c5bbbbbe0dc05fad82ac5ca,50682ce666d694d2cf11aebb3a0d0c2e2d6649562dde38fbcedff006484bf994",
"-checkFileNameList=.gitignore,.gitattributes,.gitea/workflows/push.yaml,.gitea/workflows/release.yaml"
],
"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": {
"/tmp/repo-health-checker": {
"src": "/usr/local/bin/repo-health-checker",
"max": 419430400
}
},
"copyInCached": {},
"copyInDir": ".",
"copyOut": [],
"copyOutCached": [],
"copyOutMax": 0,
"copyOutDir": "",
"tty": false,
"strictMemoryLimit": false,
"dataSegmentLimit": false,
"addressSpaceLimit": false
},
"cases": []
}
},
"parsers": [
{
"name": "healthcheck",
"with": {
"score": 0,
"comment": ""
}
}
]
},
{
"name": "[cq] Compilation",
"group": "",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"./tools/compile"
],
"env": [
"PATH=/usr/bin:/bin:/usr/local/bin"
],
"stdin": {
"content": "",
"max": 419430400
},
"stdout": {
"name": "stdout",
"max": 800000000000000
},
"stderr": {
"name": "stderr",
"max": 800000000000000
},
"cpuLimit": 1000000000000000,
"realCpuLimit": 0,
"clockLimit": 2000000000000000,
"memoryLimit": 838860800,
"stackLimit": 0,
"procLimit": 50,
"cpuRateLimit": 0,
"cpuSetLimit": "",
"copyIn": {
"tools/compile": {
"src": "/home/tt/.config/joj/tools/compile",
"max": 419430400
},
"h6/build/ex3-main.c": {
"src": "/home/tt/.config/joj/h6/build/ex3-main.c",
"max": 419430400
},
"h6/build/ex4-main.c": {
"src": "/home/tt/.config/joj/h6/build/ex4-main.c",
"max": 419430400
},
"h6/build/ex5-main.c": {
"src": "/home/tt/.config/joj/h6/build/ex5-main.c",
"max": 419430400
},
"h6/build/ex7-main.c": {
"src": "/home/tt/.config/joj/h6/build/ex7-main.c",
"max": 419430400
}
},
"copyInCached": {},
"copyInDir": ".",
"copyOut": [
"stdout",
"stderr"
],
"copyOutCached": [
"h6/build/ex2",
"h6/build/ex2-asan",
"h6/build/ex2-ubsan",
"h6/build/ex2-msan",
"h6/build/ex3",
"h6/build/ex3-asan",
"h6/build/ex3-ubsan",
"h6/build/ex3-msan",
"h6/build/ex4",
"h6/build/ex4-asan",
"h6/build/ex4-ubsan",
"h6/build/ex4-msan",
"h6/build/ex5",
"h6/build/ex5-asan",
"h6/build/ex5-ubsan",
"h6/build/ex5-msan",
"h6/build/ex6",
"h6/build/ex6-asan",
"h6/build/ex6-ubsan",
"h6/build/ex6-msan",
"h6/build/ex7",
"h6/build/ex7-asan",
"h6/build/ex7-ubsan",
"h6/build/ex7-msan",
"h6/build/ex3-main.c",
"h6/build/ex4-main.c",
"h6/build/ex5-main.c",
"h6/build/ex7-main.c",
"h6/build/compile_commands.json"
],
"copyOutMax": 0,
"copyOutDir": "",
"tty": false,
"strictMemoryLimit": false,
"dataSegmentLimit": false,
"addressSpaceLimit": false
},
"cases": []
}
},
"parsers": [
{
"name": "result-detail",
"with": {
"score": 0,
"comment": "",
"showFiles": [
"stderr"
],
"showExitStatus": true,
"showRuntime": false,
"showMemory": false
}
},
{
"name": "result-status",
"with": {
"score": 0,
"comment": "Congratulations! Your code compiled successfully.",
"forceQuitOnNotAccepted": true
}
},
{
"name": "file",
"with": {
"name": "stdout"
}
}
]
}
]
},
"teapot": {
"logPath": "/home/tt/.cache/joj3/exam/e2-joint-teapot-debug.log",
"scoreboardPath": "exam/e2-scoreboard.csv",
"failedTablePath": "exam/e2-failed-table.md",
"gradingRepoName": "engr151-joj",
"skipIssue": false,
"skipScoreboard": false,
"skipFailedTable": false,
"maxTotalScore": 100,
"groups": [
{
"name": "joj",
"maxCount": 1000,
"timePeriodHour": 24
},
{
"name": "run",
"maxCount": 1000,
"timePeriodHour": 24
}
]
}
}