Some scripts and tools I found useful for dealing with blackboard
for d in submissions/*; do if [ ! -r $d/swish.pl ]; then echo "$d doesn't contain swish.pl, but `ls $d`"; fi; done
mmv "submissions/*/*.pl.pl" "submissions/#1/#2.pl"
also very useful: https://github.com/hjalti/mossum for analysis
ln -s submission_on_time.zip gradebook.zip
python blackboard_tools/extract_gradebook.py
- delete stupid stuff in submissions, e.g.
find submissions/ | grep '/devel/' | xargs rm -r -v
- run moss:
find -L submissions -name "*.py" -print0 | xargs -0 moss -l python
- run mossum:
mossum --show-loops -o moss -p 60 -l 30 http://moss.stanford.edu/results/RESPONSECODEHERE/
- look at output:
open moss-1.png