ISG Course Account Training Resources www cs uwaterloo



























![Automarking: RST • Scripts for testing and printing use rst <assign> <suite> [<identifier>] where: Automarking: RST • Scripts for testing and printing use rst <assign> <suite> [<identifier>] where:](https://slidetodoc.com/presentation_image/44e3ff311655c42ca4ed3bfbea5bfa8e/image-28.jpg)








- Slides: 36
ISG: Course Account Training Resources: www. cs. uwaterloo. ca/isg/ >Tutor/TA Handbook >Training>scripts >ISG Wi. Ki
Agenda • • Connecting to the Course Account Structure of Course Account Maintenance of Course Account Assignment Submission Support Scripts Email ISG Wiki
Viewing filesystem - Finder • From the Mac Finder, select the “Go” menu, then click “Connect to Server…”
Viewing filesystem - Finder • Type in the server address smb: //smb-shares. student. cs. uwaterloo. ca/cs. NNN where NNN is a course number
Viewing filesystem - Finder
Logging in – command line • Use ssh; i. e. , ssh localhost -l cs. NNN ssh cs. NNN@<undergrad-machine>
Logging in – command line • If you have an ssh key already generated on the student. cs systems, you’re done • Otherwise, run the command ssh-keygen -b 2048 -t rsa http: //www. cs. uwaterloo. ca/cscf/howto/ssh/public_key/#openssh
Important Files: . classlist • . classlist (also called. classlist. $term) • Read-only, updated regularly by CFCF from Registrar’s info • Do not change permissions on this file; instead, use: • . exceptionlist. $term • . coursestaff. $term https: //www. cs. uwaterloo. ca/twiki/view/ISG/Class. List. Perl. Module
Important Files: . login • Normally contains only the following line: exec /u/isg/bin/login • Automates access to standardized tools on command line, and creation of a directory for your personalized configuration and files. • Automatically creates directory under /u/cs. NNN/u
Important files: . rhosts • Gives people access to the course account; check first with ISC. • Put person in. rhosts file in /u/cs. NNN • Rest takes care of itself when they connect if they have an account on student. cs • Within an hour, personal ssh keys should be added to the authorized keys for the course account
Important Directories /u/cs. NNN archives bin course handin marking marks pub / public_html u
Directory: archives • Contains material used in previous terms (assignment submissions, web content, etc. ) • Can be interesting to see how things like marking scripts were done before, but knowledge transfer is more properly done via the Wiki: https: //www. cs. uwaterloo. ca/twiki/view/ISG/Web. Home
Directory: bin • Contains scripts/programs specific to this course • Any scripts located here should be available to you automatically because of the login program.
Directory: course • Contains data about the course, which varies from account to account. Can include snapshots of course enrolment, records of public test results, …
Directories: handin/marking • Depending on course structure, may contain assignment submissions and assignment autotesting suites, respectively.
Directory: u • Parent directory of the personalized directory created for you by the login script. Contains configuration and personal files of users of the course account. • Files specific to you belong here, instead of elsewhere on the account.
Web Site • public_html • Ensure list of course staff is up-todate at beginning of term • Update announcements and marks regularly • Set a good example by making websites that validate!
Web Site: display. Marks • Uses marks, which normally also contains the mark spreadsheet • CSV files read by this program should be generated regularly from the spreadsheet so students get prompt feedback. https: //www. cs. uwaterloo. ca/twiki/view/ISG/Online. Mark. Upload
Web Site: display. Marks • Sample spreadsheet and generated file (from Wiki)
Web Site: display. Marks • Sample user display
Web Site: display. Marks • Sample root user display
Submission: submit/Odyssey • Student submissions in handin, partitioned by assignment and then by userid • . submitrc: global configuration • . subfiles: list of files to submit for an assignment • . lates: list of students who handed assignment in late; maintained by scripts deadline, makelateclone, submit, and unlate
Submission: Marmoset https: //marmoset. student. cs. uwaterloo. ca/
Submission: Markus https: //markus. cs. uwaterloo. ca/ https: //www. student. cs. uwaterloo. ca/markus/cs. NNN
Submission: UW-ACE http: //uwace. uwaterloo. ca/
Scripts http: //www. student. cs. uwaterloo. ca/~isg/scripts/ • Purposes: • • • Cover page Auto-marking Plagiarism detection Course announcements …
Cover Pages (Written Assignments) • Configuration file. coverrc • Command make. Cover • For each assignment, add list of questions and marks per question to. coverrc
Automarking: RST • Scripts for testing and printing use rst <assign> <suite> [<identifier>] where: • rst is /u/isg/bin/rst, • assign = subdirectory of marking • suite = name of directory holding scripts • identifier = name of this test run • Suite pt is used for public tests • Also see rsta and distrst
Automarking: Bitter. Suite • Testing framework used in some courses; abstracts away from mechanism of how tests are run so tutors can focus on designing tests instead of the details of maintaining scripts. • Typically run via RST
Automarking: print. Out • Not used in Mark. Us-based courses • print. Out <assign> <suite> <timestamp> <piles> <where> • piles = 'section' or number of piles, • where = -7 for lp 7_cs , -0 for don't actually print, -g for Graphics Services Xerox 470
Plagiarism detection: moss • run. Moss, moss_makereadable, and moss_getgroups • Used to get statistically matching results, eliminate any matches that don’t reach a certain threshold, and find clusters that may not be apparent in moss’s pairwise results.
Course announcements • announce utility • Posts to course website, RSS Feed, and newsgroup. • Should be used for all major information that needs to be pushed to all students.
Course Email • When in doubt, check with instructors/ISC first (or forward to them) • Carbon-copy replies so: • others know a reply has been sent • record is kept in case of problem https: //www. cs. uwaterloo. ca/twiki/view/ISG/Procmail. Setup
ISG Wiki
ISG Wiki • Important resource to supplement material in this and other presentations • Should be used regularly throughout the term to check how to do things • Should be updated regularly throughout the term so information stays current https: //www. cs. uwaterloo. ca/twiki/view/ISG/Web. Home
The End Resources: www. cs. uwaterloo. ca/isg/ >Tutor/TA Handbook >Training>scripts >ISG Wi. Ki