grading
Version:
Grading of student submissions, in particular programming tests.
40 lines • 1.27 kB
JSON
{
"$schema": "https://gitlab.bht-berlin.de/nodepackages/grading/-/raw/main/src/grade/grading.schema.json",
"exam": "Blatt xx",
"course": "Module",
"term": "WS 2022/23",
"points": 100,
"minCoverageStatements": 80,
"penaltiesCoverageMax": 15,
"extraCoverageMax": 5,
"tasks": [ // Hint: Do no create this manually, run `npx grading prepare -cg gen.grading.json` instead
{
"name": "Name",
"suite": "suite.check.ts",
"points": 10,
"grading": [
{
"preconditions": [
{
"test": "function implemented",
"failure": "Scheinbar wurde die Funktion nicht implementiert."
}
],
"tests": [
"check1",
"check2"
],
"points": 6,
"text": "Funktionalität 1"
},
{
"tests": [
"checkX"
],
"points": 4,
"text": "Funktionalität x"
}
]
}
]
}