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

215 lines
9.3 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",
"executor": {
"name": "sandbox",
"with": {
"default": {
"args": [
"/tmp/repo-health-checker",
"-root=.",
"-repoSize=50.5",
"-meta=README.md",
"-checkFileSumList=a5b63323a692d3d8b952442969649b4f823d58dae26429494f613df160710dfc,b1bbad25b830db0a77b15a033f9ca1b7ab44c1d2d05056412bd3e4421645f0bf,f6740081487ca34963a005209e2e9adfdf6f3561719af082d40fe80145e0cceb,ad7ba6fbee5d80e018e4190e31bd842553d540044f0faf13592d73cef93a061b",
"-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": "Compilation",
"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": false
}
}
]
}
]
},
"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
}
}