13. Create ScholasticGrading Assignments¶
The ScholasticGrading MediaWiki extension must be populated with all the assignments for the entire semester.
Start biol300_2017 and log in:
ssh -p 8015 firstname.lastname@example.org
Check for and install system updates on the virtual machine:
sudo apt-get update sudo apt-get dist-upgrade sudo apt-get autoremove
Start biol300_2016 if it is not already running.
If you haven’t done so already, give yourself (and any other TAs) privileges to edit grades. Navigate to
and add each instructor to the “grader” group.
Export the ScholasticGrading student groups, assignments, and assignment-group-membership tables from the previous year (remember to add the MySQL password from last Spring to the first command, and note that you will be prompted three times for last year’s BIOL 300 Wiki password):
ssh email@example.com "mysqldump --user=root --password=<BIOL 300 Wiki 2016 MySQL password> -c biol300_wiki scholasticgrading_group scholasticgrading_assignment scholasticgrading_groupassignment > ~/scholasticgrading_2016.sql" scp firstname.lastname@example.org:scholasticgrading_2016.sql ~/ ssh email@example.com "rm ~/scholasticgrading_2016.sql"
For exporting content from the 2016 wiki, the commands above are fine, but they should be revised for the future by using the
The first command (
sed) will do a search-and-replace on the year to make updating the dates in the next step a little faster.
sed -i 's/2016/2017/g' ~/scholasticgrading_2016.sql mysql -u root -p wikidb < ~/scholasticgrading_2016.sql rm ~/scholasticgrading_2016.sql
Enter the <MySQL password> when prompted.
Update the dates for each assignment. Navigate to the assignments management page,
First, check that the point total (listed at the bottom of the page) is 100 for the “All students” group.
Next, for each assignment, determine the appropriate new date using the syllabus and update it. Remember to “Apply changes” often so you don’t lose work!
To see what the assignment list looks like to a student, navigate to the groups management page,
Add yourself to the “All students” group and press “Apply changes”. Next, navigate to the “View all user scores” page,
You should see the complete list of assignments under your name, along with the racetrack. Look this over to see if everything looks correct. All the runners should be all the way on the left. Once you are done, remove yourself from the “All students” group.
Shut down the virtual machine:
sudo shutdown -h now
Using VirtualBox, take a snapshot of the current state of the virtual machine. Name it “ScholasticGrading assignments created”.