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"]
- For example:
- 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.tar.gz
(14.6 kB
view hashes)
Built Distribution
workflow_uva-0.2-py3-none-any.whl
(14.9 kB
view hashes)
Close
Hashes for workflow_uva-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d8777d0b17f0972aeca644c675d6edc0e50a1f4d7d51a5b6780b1905dfe7c7 |
|
MD5 | 0ea0b6a2ac6f56fbed1188308797504e |
|
BLAKE2b-256 | 762e664426f0718ecaea48d401466be09c290b324fc80162827f21ef46e7a92a |