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

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 of assignments,
  • decide on a passing grade and the limit of a "perfect" grade and
  • create publishable results with some additional exam statistics generated using pandas.

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

python setup.py install 

from the root diretory of this repository.

Usage

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. Execute it using jupyter-notebook or jupyter-lab:

jupyter-notebook ./2019_MyExam.ipynb`

Grade your exam

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.

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.tar.gz (36.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: hbrs_grader-1.0.tar.gz
  • Upload date:
  • Size: 36.9 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.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for hbrs_grader-1.0.tar.gz
Algorithm Hash digest
SHA256 6a85332940d2fc4e4454578bd14d269375fc31650819996328519efa98aa1f30
MD5 86bc029bed773189e8ef8141f91648f7
BLAKE2b-256 3c52eac0f7e65457245cf27df79f90ef580b94af6f1d34e1f844a41cd92ece7c

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