This feature enables JuliaBox group admins to create/fetch/grade assignment submitted by the students belonging to the same group. it involves three kinds of actors and communication between these actors forms the autograder workflow. Following are the actors involved:
- JuliaBox Autograder
Admin: This account will have the ability to create assignment notebooks(tutor notebook) using
Autograder tab provided to them. All notebooks will have a access to a new cell toolbar called
Create Assignment, which will be used to create assignment notebooks. This notebook then will be converted to a
student notebook and finally released to members.
Member: Once Admin releases an assignment, all the members belonging to Admin's group will have assignments in their home directory inside folder named after their group. Member will now be able to complete the assignment and submit the assignment by clicking
Submit button provided in the notebook. All the submitted notebooks will be automatically graded by JuliaBox Autograder. Students can view the result of the submisson by clicking
Feedback button provided in the notebook.
JuliaBox Autograder: uses the tutor notebook to grade the student's submission and stores the feedback. Admins will have access to member's submission notebook as well as the feedback generated by JuliaBox. JuliaBox will also provide a button for Admins to download the scores as a CSV file.
Creating tutor notebook
- Click on the
- Now you can see the table containing list of all the created assignments if they exist.
- Click on
Add new assignmentlink at the bottom.
- Give a name to the assignment. Name should not contain any whitespace or should be unique within the course. (Due date and Timezone are not supported yet)
- Click on Save
- Wait for your Assignment to be listed in the table.
- Now Click on the Assignment name which is displayed as a hyper-link. This should open a notebook directory. This will be the assignment directory. All the contents are this directory will be distributed to students.
- Upload your assignment notebook.
Assignment notebook will typically contain exercises in Julia code. Exercises supported by JuliaBox Grader involves implementing function defination, Assigning values to variables only. For eg: Instructor wants students to implement following function
function fact(n) if n == 1 n else n * fact(n-1) end end
Typically assignment notebook will contain such exercises.
Once the notebook is uploaded, which typically has all the solutions, we need to create a student version, which won't have the solutions in it.
Go to notebook menu, Click on
View->Cell Toolbar-> Create Assignment.
Click on the dropdown, which has the values (
Manually Graded Answer). Manually Graded Answer is not supported yet.
Click on the the notebook cell which contains the function to be implemented. Select
Autograded Answerin the dropdown.
Add the delimter
### BEGIN SOLUTIONand
### END SOLUTIONinside the function body all the contents inside the delimiter will be removed and replaced by
# Your Code Herefrom the student's notebook.
Implemented function needs to be tested now. Create a new cell right below the exercise cell.
Autograded Testsfrom the dropdown.
Now you can write assert statements inside the cell to test the function implementation. if this cells block upon run, doesnt throw any exception, We consider that exercise
Tests passed. You need to assign point to test cell block which will be awarded to student if the tests pass.
You can remove some or all of tests cases from student's notebook, which will of course be added again automatically while grading. You can do this by placing the tests inside delimiter
### BEGIN HIDDEN TESTSand
### END HIDDEN TESTS.
Once Steps 13-17 are done for all the exercises in a notebook, save the notebook and return to Autograder dashboard.
Now we need to generate the student version of tutor notebook.
Generatelink next to the assignment name to generates student notebook.
Previewto view the student version.
Releaseto distribute the student version to all the students.
Accessing student's submission and scores
- You can get the scores of all the students as a CSV file, by clicking
Get Students Scorebutton in