This is a small flask program that can be used to correct submissions to the ILIAS system.
iliasCorrector is being developed on archlinux with the latest released python and chromium versions.
Below are all available commands that can be run from the shell. These are given for archlinux, you might need to adjust them to your system.
# create a python 3 virtualenv
virtualenv env
source env/bin/activate
# install requirements
pip install -r requirements.txt
# create database
python app.py db upgrade
# run the web interface
python app.py runserver
-
Create the directory
iliasCorrector/data
-
Start the web interface
-
For each assignment you want to correct, extract the submissions of the students into a subdirectory of
data
(data/assignment_1
for example) -
Go to http://localhost:5000/
-
Press
Synchronize Exercises
to readdata
and create entries for the submissions in the database.
Note that each exercise (subdirectory) can only be imported one time. Currently exercises can not be updated. So make sure the directory contains all the necessary files. -
Grades are imported from a csv file of the following format that resides in the assignments' directory:
<Last Name>_<First Name>_<Student_Ident>;<Grade>;<Remarks>
Here are a couple of sample entries:
Doe_John_JohnDoe_123456789;12; well Done
Doe_Jane_JaneDoe_987654321;---;-- keine Bemerkung --
- Exporting produces a csv formatted file as described above
Nearly no error checking is done. Please make sure the grades you import are correctly formatted and that the files you place inside data
follow the scheme of files that are downloaded from ILIAS when using the function to download all submissions in a single archive.
You are advised to inspect the code yourself before actually using it.
This is published under the MIT license. This means it is published as is with absolutely no guarantees