βIn Open edX
Last updated
Last updated
Follow the steps below to create a new CodeGrade assignment in Open edX:
Edit the unit in which you want to add CodeGrade and select Advanced from the Add New Component section. Select LTI Consumer.
Select Edit in the component that appears. This should open a modal in which you can set up the CodeGrade assignment.
Set the Display Name to the name of the assignment.
The value for LTI ID depends on the configuration that your administrator set, however this will probably be codegrade
.
The LTI URL is https://app.codegra.de/api/v1/lti/launch/1
for most CodeGrade instances, if you use a custom CodeGrade URL replace app
with your custom URL prefix.
Now scroll all the way to the bottom and make sure the following options are all set to True:
Scored, this option allows to passback a grade for the assignment
Request userβs email
Request user's full name
Request userβs username
Click the save button.
Grades are automatically sent back to Open edX after setting the assignment state to Done in CodeGrade. While the assignment is in the Done state, all grades and changes to grades are immediately sent back to Open edX.
Now, go ahead and set up the General Settings: