Add a short description here!
Project description
code-grader
Generate a PDF of graded source files as a feedback for students
Installation
- 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 .
Usage
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
Magic Comments
Comment your code with
/// <-
Hint for the students// [task blub: X/Y points]
Grading for a subtask
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
code-grader-0.1.8.tar.gz
(15.7 kB
view details)
File details
Details for the file code-grader-0.1.8.tar.gz
.
File metadata
- Download URL: code-grader-0.1.8.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05dbb65703676f3a695036646cec6d247fc0f7646a8439f72a9d32f0d381c3c7 |
|
MD5 | 8956e3f6443ad563feea630cf7881728 |
|
BLAKE2b-256 | ae2994266df6d3d5ff86328e3d60ccb19cba12ef0f0316ead5cf3295cb7f8908 |