To run Moss on assignments, you needto run ~cs246/moss/Scripts/moss246.sh .

You need to change some variables, comment/uncomment lines each time depending on the setup:

# You might want to use search functionality to find where these variables have been defined.

# The following are term numbers of the past terms you want to compare the solution with.

TERM1NUM=1501

TERM2NUM=1501

TERM3NUM=1501

# ...

# The following are directories where the student submission of past term's assignment is stored.

TERM1=/u/${USER}/archives/${TERM1NUM}/moss/${1}

TERM2=/u/${USER}/archives/${TERM2NUM}/moss/${1}

TERM3=/u/${USER}/archives/${TERM3NUM}/moss/${1}

# ...

# This is the actual command going to be invoked to run moss on a past term.

# Comment out the lines for corresponding terms that you are not running moss with.

# If you are running only with the current term, comment all of them out.

${scriptDir}/moss_run_past.sh $resultDir $TERM1 $TERM1NUM

${scriptDir}/moss_run_past.sh $resultDir $TERM2 $TERM1NUM

${scriptDir}/moss_run_past.sh $resultDir $TERM3 $TERM1NUM

-- YangTianZi - 2015-08-20

Topic revision: r1 - 2015-08-20 - YangTianZi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback