Skip to main content

Add a short description here!

Project description

PyPI badge

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 the geometry 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


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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page