Skip to main content

# 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 [check_homework.py](ipb_homework_checker/check_homework.py) 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 [check_homework.py](ipb_homework_checker/check_homework.py) script and dig from there.

[solutions]: https://gitlab.igg.uni-bonn.de/teaching/homework-solutions-repo

Release files for ipb-homework-checker 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipb-homework-checker 0.0.6
File Size Uploaded
ipb_homework_checker-0.0.6.tar.gz 11.4 kB Details

Release files / ipb_homework_checker-0.0.6.tar.gz

Download URL ipb_homework_checker-0.0.6.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ddd9cde84846e3cb3426600a2c08f0257c0e74eac48831cf9053c56ec0d56928
BLAKE2b-256 checksum
How to use checksums
95441b34825830f34be94a0d912295d798026dd555d24a7251f8e3139ea799c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page