Skip to main content

A workflow for Canvas and Nbgrader

Project description

Workflow

Workflow.json (Config file)

A few things can or need to be added to workflow.json:

  • sequence, a list of assignments in order
    • For example: "sequence": [ "AssignmentWeek1", "AssignmentWeek2", "AssignmentWeek3"]
  • groups, a dict of groups of assignments
    • It should be a dict with as key the name of a group. The value of this dict is again a dict, with keys "assignments" and "weight". The key "assignments" should have as value a list of assignments and "weight" should have the relative weight as a number (for the whole group).
    • For example: "groups": { "Assignments": { "assignments": [ "AssignmentWeek1", "AssignmentWeek2", "AssignmentWeek3", ], "weight": 20 }}
  • resits, a dict of resits, and which assignments it replaces
    • It should be a dict with as keys the names of the resits, and as values the name of the assignment it replaces or a list of names.
    • For example: "resits": { "ResitExam1": "Exam1", "OverallResit": [ "Exam1", "Exam2" ] }
  • requirements, a list of minimal grades students have to have for assignment groups to pass the course
    • It should be a list of dictionaries, with as keys "groups" and "min_grade". The value of groups can be a string or list and should refer to the name of a group. The value of min_grade should be a number.
    • For example: "requirements": [ { "groups": "Theoretical_Assignments", "min_grade": 4.5 }, { "groups": ["Practical_Assignments", "Theoretical_Assignments"], "min_grade": 5.5 } ]

FAQ

Where to get an Canvas API key?

See the Canvas API Documentation

Where to store the Canvas API key?

The Workflow notebook will ask for it. Otherwise, it can be changed in the workflow.json file.

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

workflow_uva-0.2.5.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

workflow_uva-0.2.5-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

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