UNPKG

grading

Version:

Grading of student submissions, in particular programming tests.

31 lines (26 loc) 822 B
export const GRADING_SCHEMA_IN_PACKAGE = "https://gitlab.bht-berlin.de/nodepackages/grading/-/raw/main/src/grade/grading.schema.json"; export interface CorrectionSchema { /** Only for VSCode, "$schema": "../node_modules/grading/dist/grade/correction.schema.json" */ $schema: string course: string, term: string, exam: string; corrections: StudentCorrection[] } export interface StudentCorrection { submissionID: string; userName: string; general?: GeneralCorrection[]; tasks?: TaskCorrection[]; } export interface AbstractCorrection { points?: number; reason: string|string[]; } export interface GeneralCorrection extends AbstractCorrection { points?: number; absolute: boolean; } export interface TaskCorrection extends AbstractCorrection { name: string; }