CSE
1. How do I use the Bodek system to automatically check submissions to a Moodle assignment?
How do I use the Bodek system to automatically check submissions to a Moodle assignment?
How do I use the Bodek system to automatically check submissions to a Moodle assignment?
- If you have not already done so, create a CourseAdmin assignment as follows:
- su to the course account: su - <course>
- Add a line to ~/course-admin/results/grade-parameters. Let's say
ex1 - If your automatic tests will use CourseAdmin errorcodes, create file ~/course-admin/results/ex1.errorcodes.
See Grading an assignment under Tools for CSE courses - On the Moodle course page, click on the link in the CourseAdmin preview block in order to load everything into CourseAdmin
- In the Moodle assignment:
- In the top section, set CourseAdmin assignment name to ex1
- In section Submission types, ensure that File submissions is checked, Maximum number of uploaded file is set to 1 and Only a Bodek archive file is checked
- You must now wait for at least one student to submit to the assignment.
You can, if you wish, use a test account and submit as a test user. See Question 14 in the FAQ for teachers - You will see that a directory hierarchy ~/course-admin/bodek/assignments/ex1 has been created
- Create your tests in ~/course-admin/bodek/assignments/ex1/presubmission and/or ~/course-admin/bodek/assignments/ex1/final.
See Automatic tests under Tools for CSE courses