Skip to main content

Homework checker

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

The idea behind the script is the following:

  • There is a homework yaml file, see homework.yml that follows the schema
  • In this file we define the structure of the homework
  • The homework checker library knows how to execute certain types of tasks following the guides in the yaml file

It is expected that the submitted homework will follow the folder structure specified in the homework.yml file.

Core functionality

Run different tests

For now we support running tests for code written in different languages:

  • c++
  • bash

Inject data into homeworks

We sometimes want to inject a certain folder before running tests, there is an option to do this here.

How it works

I will probably not go into details here at this level of the package maturity. For now you can start digging from the check_homework.py script and hopefully the code is clear enough. You can also look at the homework.yml file that we use to test all the implemented functionality.

Release files for homework-checker 2.0.0

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

Source distribution (sdist)

Source distribution for homework-checker 2.0.0
File Size Uploaded
homework_checker-2.0.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for homework-checker 2.0.0
File Interpreter ABI Platform
homework_checker-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 42.4 kB

Release files / homework_checker-2.0.0.tar.gz

Download URL homework_checker-2.0.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
04eddc523dced9c8b2f64936fdf8ac29f1f033ca9c10929a1a84beaaa4142052
BLAKE2b-256 checksum
How to use checksums
e6619368bf0e56676f861ef64858c60e84c6699bada0c463da36a3da23923143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release files / homework_checker-2.0.0-py3-none-any.whl

Download URL homework_checker-2.0.0-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
587aa6e720e4c0c4ac0f064234bb254f6103d9193042ccaaa74c57b1b72e7f85
BLAKE2b-256 checksum
How to use checksums
adca8d563ab33f21163e695a9b2aeacf9185a341fe49275706c4ad9c8cbcab2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.1

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

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