Giter Site home page Giter Site logo

mmehrez / ipb_homework_checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prbonn/ipb_homework_checker

0.0 1.0 0.0 102 KB

✔️ A generic homework checker that we use to automatically check students homework

License: Apache License 2.0

Python 93.21% CMake 3.83% C++ 2.84% Shell 0.11%

ipb_homework_checker's Introduction

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

If you want to see a project that uses this checker, feel free to poke around homework-solutions-repo 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 script and dig from there.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.