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.

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.

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

homework_checker-2.0.0.tar.gz (19.4 kB view hashes)

Uploaded Source

Built Distribution

homework_checker-2.0.0-py3-none-any.whl (23.1 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