Skip to main content

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

  1. 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
      
  2. Set up a new virtual environment in the cloned repo.

    cd generic-grader
    python3.11 -m venv .env3.11
    
  3. 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
      
  4. Install tesseract-ocr

  5. Install other dependencies.

    pip install -r common/requirements.txt
    
  6. Install the pre-commit hooks.

    pre-commit install
    
  7. 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]
    
  8. Run the tests.

    pytest
    
  9. Make changes ...

  10. 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

generic_grader-0.0.5.tar.gz (18.6 kB view hashes)

Uploaded Source

Built Distribution

generic_grader-0.0.5-py3-none-any.whl (20.9 kB view hashes)

Uploaded Python 3

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