Skip to main content

A jupyter workflow for grading exams

Project description

HBRS Grader

pipeline status

A Jupyter Notebook workflow for grading exams at the Hochschule Bonn-Rhein-Sieg for everyone who hates spreadsheets as much as I do.

This workflow allows you to

  • import a csv-file (e.g. obtained from DIAS),
  • enter points for each student for an exam consisting of a specified number of assignments,
  • decide on a passing grade and the limit of a "perfect" grade and
  • create publishable results with some additional exam statistics.

Check out this example notebook. The exported HTML-document will not contain the code cells.

Since the export format is HTML and most online teaching tools such as MOODLE or ILIAS support HTML, you can simply copy the HTML source to a text node of your online course.

Installation

Run

pip install hbrs_grader

Usage

Step 1/3: Create a Notebook from template

Run

hbrs-grader create 2019_MyExam

to create a Jupyter notebook called 2010_MyExam.ipynb in your current working directory.

Step 2/3: Grade your exam

Execute the newly created notebook using jupyter-notebook or jupyter-lab:

jupyter-notebook ./2019_MyExam.ipynb

Then just follow the instructions in the code comments. You can add additional code cells if you like, just make sure that all code cells contain the following metadata

{
    "hideCode": true,
    "hidePrompt": true
}

so that they don't show up in the published html.

Step 3/3: Publish the results

Once you are done grading, you can export the notebook to HTML with the following command:

hbrs-grader export-notebook 2019_MyExam.ipynb

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

hbrs_grader-1.0.1.tar.gz (36.0 kB view details)

Uploaded Source

File details

Details for the file hbrs_grader-1.0.1.tar.gz.

File metadata

  • Download URL: hbrs_grader-1.0.1.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for hbrs_grader-1.0.1.tar.gz
Algorithm Hash digest
SHA256 757db62b5e70c22467779cc9c9b4cba16ed9afc6628dce1144973050b734552c
MD5 2ff346fb150615c6bb1ae768004304ba
BLAKE2b-256 d807e10c2bb80c32d27a6386da9539e009f203c4f7b8cfd6540a01e207e8d034

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page