Size: 1174
Comment:
|
Size: 1547
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
Currently the most widely used plagiarism detection software is serviced by [[http://theory.stanford.edu/~aiken/moss/|Moss]] | Currently the most widely used code plagiarism detection software is serviced by [[http://theory.stanford.edu/~aiken/moss/|Moss]] |
Line 7: | Line 7: |
. ~+`~give/stable/bin/`+~ contains a couple of scripts to make the process easier: * '''moss_setup''' - retrieve submissions and put them into directories suitable for moss-ing. Run this script from the class account. |
. ~+`~give/stable/bin/`+~ contains scripts to make the process easier: * '''moss''' - sends submissions to moss for processing. |
Line 10: | Line 10: |
. ~+`% ~give/stable/bin/moss_setup ` ''`12s2 `'' ''`assign1`''+~ . a ~+`plague`+~ directory will be created under ~+`~/12s2.work/assign1`+~ . Remove any files not to be included in moss plagiarism detection * '''moss_run''' - wrapper script for moss, sends submissions to moss for processing. |
. ~+`% moss -l python -m 4 -b template.py -d "*/*.py"`+~ * '''moss_setup''' - retrieve submissions and put them into directories suitable for moss-ing. |
Line 15: | Line 13: |
. ~+`% ~give/stable/bin/moss_run ` ''`cs1911 `'' ''`12s2 `'' ''`assign1 `'' ''`c `'' ''`*/*.c`''+~ . ~+`% ~give/stable/bin/moss_run ` ''`-d /home/cs1911/12s2.work/assign1/plague `'' ''`c `'' ''`*/*.c`''+~ . the last two arguments specify the programming language (C code) and which files to process (all .c files for each student). * '''moss''' |
. ~+`% ~give/stable/bin/moss_setup ` ''`21T2 `'' ''`ass1`''+~ * a plague directory will be created under ~/21T2.work/ass1 * remove any files not to be included in moss plagiarism detection * copy template files to plague/Samples to ignore similarity from these files * '''moss_run''' - wrapper script for moss script. |
Line 20: | Line 19: |
. ~+`% cd $WORK/ass1/plague; moss -l python -m 4 -b template.py -d "*/*.py"`+~ | . ~+`% ~give/stable/bin/moss_run ` ''`en1811 `'' ''`21T2 `'' ''`ass1 `'' ''`python `'' ''`"*/*.py"`''+~ . ~+`% ~give/stable/bin/moss_run ` ''`-d /home/en1811/21T2.work/ass1/plague `'' ''`python `'' ''"`*/*.py"`''+~ * last two arguments specify the programming language (python) and which files to process (all .py files for each student). * '''plague.pl''' * Paste everything on moss summary page into ~+''`moss_report_file `''+~ * Look at similarities in code on moss pages and select plagiarised pairs: . ~+`% plague.pl -s ` ''`assignment `'' ''`moss_report_file `'' ''`selected_plague_file`''+~ [[https://www.gs.unsw.edu.au/policy/plagiarismprocedure.html|Plagiarism Procedures]] |
Plagiarism Detection
Currently the most widely used code plagiarism detection software is serviced by Moss
~give/stable/bin/ contains scripts to make the process easier:
moss - sends submissions to moss for processing.
- example:
% moss -l python -m 4 -b template.py -d "*/*.py"
moss_setup - retrieve submissions and put them into directories suitable for moss-ing.
- example:
% ~give/stable/bin/moss_setup 21T2 ass1
- a plague directory will be created under ~/21T2.work/ass1
- remove any files not to be included in moss plagiarism detection
- copy template files to plague/Samples to ignore similarity from these files
moss_run - wrapper script for moss script.
- example:
% ~give/stable/bin/moss_run en1811 21T2 ass1 python "*/*.py"
% ~give/stable/bin/moss_run -d /home/en1811/21T2.work/ass1/plague python "*/*.py"
- last two arguments specify the programming language (python) and which files to process (all .py files for each student).
plague.pl
Paste everything on moss summary page into moss_report_file
- Look at similarities in code on moss pages and select plagiarised pairs:
% plague.pl -s assignment moss_report_file selected_plague_file