semvec/pypi-packages huggingface dataset:
code-grader 0.1.8
Add a short description here!
License: mit

[![PyPI badge](https://badge.fury.io/py/code-grader.svg )](https://badge.fury.io/py/code-grader)

# 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
```bash
pip3 install code-grader
```

Or from this repo:

```bash
pip3 install -e .
```

## Usage

```bash
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:
```bash
# Will generate one PDF for each subdir of current working directory
code-grader Signal.java LinearFilter.java --batch-grade
```

More options:

```bash
code-grader -h
```

## Magic Comments

Comment your code with 

 - `/// <-` Hint for the students
 - `// [task blub: X/Y points]` Grading for a subtask