385 lines
16 KiB
JSON
385 lines
16 KiB
JSON
{
|
|
"name": "hw7 ex2",
|
|
"logPath": "/home/tt/.cache/joj3/homework/h7/e2.log",
|
|
"expireUnixTimestamp": 1735574399,
|
|
"effectiveUnixTimestamp": -1,
|
|
"actorCsvPath": "/home/tt/.config/joj/students.csv",
|
|
"maxTotalScore": 100,
|
|
"stage": {
|
|
"sandboxExecServer": "172.17.0.1:5051",
|
|
"sandboxToken": "test",
|
|
"outputPath": "/tmp/joj3_result.json",
|
|
"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=50.5",
|
|
"-meta=README.md",
|
|
"-meta=Changelog.md",
|
|
"-checkFileSumList=a5b63323a692d3d8b952442969649b4f823d58dae26429494f613df160710dfc,b1bbad25b830db0a77b15a033f9ca1b7ab44c1d2d05056412bd3e4421645f0bf,f6740081487ca34963a005209e2e9adfdf6f3561719af082d40fe80145e0cceb,bbeca1491c2f8364821a328a6677c0c5d59ccd60250abac3cec0887eeb9bde3e",
|
|
"-checkFileNameList=.gitignore,.gitattributes,.gitea/workflows/push.yaml,.gitea/workflows/release.yaml"
|
|
],
|
|
"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",
|
|
"joj=1000:24,run=1000:24,=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": "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/./tools/tools/compile",
|
|
"max": 419430400
|
|
}
|
|
},
|
|
"copyInCached": {},
|
|
"copyInDir": ".",
|
|
"copyOut": [
|
|
"stdout",
|
|
"stderr"
|
|
],
|
|
"copyOutCached": [
|
|
"h7/build/ex2",
|
|
"h7/build/ex2-asan",
|
|
"h7/build/ex2-ubsan",
|
|
"h7/build/ex2-msan",
|
|
"h7/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": "[cq] Filelength",
|
|
"group": "cq",
|
|
"executor": {
|
|
"name": "sandbox",
|
|
"with": {
|
|
"default": {
|
|
"args": [
|
|
"./tools/filelength",
|
|
"400",
|
|
"300",
|
|
"*.cpp",
|
|
"*.h"
|
|
],
|
|
"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/filelength": {
|
|
"src": "/home/tt/./tools/tools/filelength",
|
|
"max": 419430400
|
|
}
|
|
},
|
|
"copyInCached": {
|
|
"h7/build/ex2": "h7/build/ex2",
|
|
"h7/build/ex2-asan": "h7/build/ex2-asan",
|
|
"h7/build/ex2-ubsan": "h7/build/ex2-ubsan",
|
|
"h7/build/ex2-msan": "h7/build/ex2-msan",
|
|
"h7/build/compile_commands.json": "h7/build/compile_commands.json"
|
|
},
|
|
"copyInDir": ".",
|
|
"copyOut": [
|
|
"stdout",
|
|
"stderr"
|
|
],
|
|
"copyOutCached": [],
|
|
"copyOutMax": 0,
|
|
"copyOutDir": "",
|
|
"tty": false,
|
|
"strictMemoryLimit": false,
|
|
"dataSegmentLimit": false,
|
|
"addressSpaceLimit": false
|
|
},
|
|
"cases": []
|
|
}
|
|
},
|
|
"parsers": [
|
|
{
|
|
"name": "keyword",
|
|
"with": {
|
|
"matches": [
|
|
{
|
|
"keywords": [
|
|
"recommended"
|
|
],
|
|
"score": 10
|
|
},
|
|
{
|
|
"keywords": [
|
|
"max"
|
|
],
|
|
"score": 20
|
|
}
|
|
],
|
|
"fullscore": 0,
|
|
"minscore": -1000,
|
|
"files": [
|
|
"stdout",
|
|
"stderr"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "result-detail",
|
|
"with": {
|
|
"score": 0,
|
|
"comment": "",
|
|
"showFiles": [
|
|
"stdout"
|
|
],
|
|
"showExitStatus": true,
|
|
"showRuntime": false,
|
|
"showMemory": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"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",
|
|
"ece280-joj",
|
|
"--max-total-score",
|
|
"100"
|
|
],
|
|
"env": [
|
|
"LOG_FILE_PATH=/home/tt/.cache/joint-teapot-debug.log"
|
|
],
|
|
"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": []
|
|
}
|
|
},
|
|
"parsers": [
|
|
{
|
|
"name": "log",
|
|
"with": {
|
|
"msg": "joj3 summary"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|