Skip to content

jvalue/made-exercise-feedback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MADE Automatic Exercise Feedback

This repository contains code to automatically give feedback for exercise submissions for the MADE course at FAU Erlangen-Nürnberg.

Install

Grading code is tested and supposed to run with the latest Python LTS version (3.11 at the time of writing, check https://devguide.python.org/versions/).

Pip is used for dependency management.

Use venv to manage a virtual environment for the project. If it is not already installed, install it on your machine using pip: pip install virtualenv

  1. Create a virtual env: python -m virtualenv env
  2. Activate the virtual env: source env/bin/activate
  3. Install dependencies using pip (inside the virtual env): pip install -r requirements.txt.

Execute

To run the automated grading, first activate the virtual env, then execute grading.py with an optional work directory as first argument.

  1. source env/bin/activate
  2. python grading.py <exerciseId>

Use with CI

To use the automated grading feedback in student repositories in MADE, use the GitHub Actions workflow inci/grading-feedback.yml. It sets up a GitHub action with Python 11 and Jayvee and then executes ./run_grading.sh.

The workflow creates badges for the exercise score. You can add them to markdown files via this pattern:

![](https://byob.yarr.is/<github-user-name>/<github-repo>/score_ex<exercise-number 1-5>)

Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published