Nbgrader notes/tools

From Earlham CS Department
Jump to navigation Jump to search

Using MOSS to detect similarity in answers

1. ssh as nbgrader to tools.cs.

2. Run run_moss.py. Example run: $python3 run_moss.py -s s20 -l lab3 (Note that you do NOT have to enter the full name of the lab anymore. That should be in lab-names.txt in root nbgrader directory.)

3. It will return a link that will remain live for 14 days. In that link you will find a list of "similar" student work, with similarity scores, listed in descending order of similarity. Click either on the left or right link in each row that seems like it might be a high similarity. It will pull up a page with color-coded sections that look similar. Click on the same color for both students and check similarity manually until you're satisfied.

The documentation for MOSS is in the file called moss itself.

To do: Make it so we can improve results using a base file.