Difference between revisions of "Nbgrader notes/tools"

From Earlham CS Department
Jump to navigation Jump to search
Line 4: Line 4:
  
 
2. Run the bash script, converter.sh, by providing the paths of lab you are trying to investigate. For e.g.
 
2. Run the bash script, converter.sh, by providing the paths of lab you are trying to investigate. For e.g.
   >> ./converter.sh ~/cs128/submitted/*/Lab3-Math/ ~/cs128/submitted/*/Lab4-Control/
+
   >> ./converter.sh ~/cs128/submitted/*/Lab3-Math/
 
This will convert all the python notebooks to .py files and store it in a directory with the name of your choice.
 
This will convert all the python notebooks to .py files and store it in a directory with the name of your choice.
  

Revision as of 11:35, 9 August 2019

Using MOSS to detect cheating

1. ssh as nbgrader to tools.cs, cd to "Detection" directory.

2. Run the bash script, converter.sh, by providing the paths of lab you are trying to investigate. For e.g.

 >> ./converter.sh ~/cs128/submitted/*/Lab3-Math/

This will convert all the python notebooks to .py files and store it in a directory with the name of your choice.

3. Use MOSS on the named directory as follows:

 ./moss -l python DIR-NAME/*.py

Where DIR-NAME is the directory you created. It will return a link that will remain live for 14 days.

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

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