A collection of parameterizable tests for automatic grading.
Project description
Generic Grader
A collection of generic tests for grading programming assignments.
Usage
Don't use this yet. It's not ready.
Contributing
-
Clone the repo onto your machine.
-
HTTPS
git clone https://github.com/Purdue-EBEC/generic-grader.git
-
SSH
git clone git@github.com:Purdue-EBEC/generic-grader.git
-
-
Set up a new virtual environment in the cloned repo.
cd generic-grader python3.11 -m venv .env3.11
-
Activate the virtual environment. If you are using VS Code, there may be a pop-up to do this automatically when working from this directory.
-
Linux/macOS
source .env3.11/bin/activate
-
Windows
.env3.11\Scripts\activate
-
-
Install tesseract-ocr
-
on Linux
sudo apt install tesseract-ocr
-
on macOS
brew install tesseract
-
on Windows, download the latest installers from https://github.com/UB-Mannheim/tesseract/wiki
-
-
Install other dependencies.
pip install -r common/requirements.txt
-
Install the pre-commit hooks.
pre-commit install
-
Install the package. Note that this installs the package as editable, so edits will be automatically reflected in the installed package.
pip install -e .[dev]
-
Run the tests.
pytest
-
Make changes ...
-
Deactivate the virtual environment.
deactivate
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
Built Distribution
Hashes for generic_grader-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1cf0895de09867550933ae6988c40c576919cdafb8de04b8be853a119f6a007 |
|
MD5 | 9d9856c1d7aa5231869f0b25a323830f |
|
BLAKE2b-256 | 2059387e67ae44a49ab09930639191df2bbf2d30682829692cf9dc3a70f46bac |