Generate a PDF of graded source files as a feedback for students
- Please ensure that latexmk or pdflatex is in
$PATH
! - We use the
minted
and thegeometry
LaTeX package - Install this package
pip3 install code-grader
Or from this repo:
pip3 install -e .
code-grader Signal.java LinearFilter.java
where Signal.java
LinearFilter.java
are Java source code files somewhere in the directory structure of current
directory.
Usually, you want to grade more than one student:
# Will generate one PDF for each subdir of current working directory
code-grader Signal.java LinearFilter.java --batch-grade
More options:
code-grader -h
Comment your code with
/// <-
Hint for the students// [task blub: X/Y points]
Grading for a subtask