Skip to main content

A generic homework checker.

Project description

# Homework checker #

This is a python module and script that can be used to check homeworks.

## How to use it ## One can specify the expected results in the form of a yaml file specifying excercises and specific tests for them, then this file is fed into the [](ipb_homework_checker/ script. The result is a markdown file with a table of results and a list of encountered errors.

To set up a new job script, follow the [schema.yml](schema/schema.yml) file. The schema file is automatically generated whenever you run the tests of this project, and your script should follow the guides defined in that schema file. For an example job script, see an example from the tests of this project: [example_job.yml](ipb_homework_checker/tests/data/homework/example_job.yml).

If you want to see a project that uses this checker, feel free to poke around [homework-solutions-repo][solutions] project. If you have no access, ask me or Cyrill for it.

## Prerequesits ## We need ruamel.yaml and schema libraries to run this code. Install them with: ` sudo pip3 install ruamel.yaml schema `

## Start digging ## If you want to change anything, start from [](ipb_homework_checker/ script and dig from there.


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

ipb_homework_checker-0.0.6.tar.gz (11.4 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