How to correct an assignment
Tutorial on assignment correction.
In this tutorial we quickly explain the workflow for making a correction for an assignment available to learners. The assignment is based on the c_hello_world
assignment created in assignment creation tutorial.
Assignment "correction"
An assignment correction is an exercise that is "tagged" as a correction in the Dojo. The workflow is therefore to create an exercise and solve it. Once solved is can be linked as a solution by the following dojo
command:
dojo assignment correction link -a c_hello_world https://gitedu.hesge.ch/dojo/exercise/dojo-ex_c_hello_world_7c39a375-68a0-415d-9335-6298e1bde4a4.git
Please wait while we check access...
✔ The assignment exists
✔ You are in the staff of the assignment
✔ Assignment is published
Please wait while we link the exercise...
✔ Correction linked
More than one correction can be linked with an assignment. The linked exercise is by default the last commit on the main branch of the exercise repository at the moment the dojo assignment correction link
command is run. It is possible to update to a more recent commit by running the update
subcommand
dojo assignment correction update -a c_hello_world https://gitedu.hesge.ch/dojo/exercise/dojo-ex_c_hello_world_7c39a375-68a0-415d-9335-6298e1bde4a4.git
Please wait while we check access...
✔ The assignment exists
✔ You are in the staff of the assignment
✔ Assignment is published
Please wait while we link the exercise...
✔ Correction updated
Exercise "correction"
Now anybody can find your assignment correction. In this case, the correction exercises of the c_hello_world
assignment can now be found by running the command
dojo exercise correction -a c_hello_world
✔ Here are corrections of the assignment 'c_hello_world':
- orestis.malaspin
https://gitedu.hesge.ch/dojo/exercise/dojo-ex_c_hello_world_7c39a375-68a0-415d-9335-6298e1bde4a4/-/tree/45b42a129c5732d476bfd17182fc506d88472e9a