36
ISG: Course Account Training Resources:www.cs.uwaterloo.ca/isg / >Tutor/TA Handbook >Training>scripts >ISG WiKi

ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Embed Size (px)

Citation preview

Page 1: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

ISG: Course Account Training

Resources:www.cs.uwaterloo.ca/isg/

>Tutor/TA Handbook >Training>scripts

>ISG WiKi

Page 2: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Agenda• Connecting to the Course Account

• Structure of Course Account

• Maintenance of Course Account

• Assignment Submission

• Support Scripts

• Email

• ISG Wiki

Page 3: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Viewing filesystem - Finder

• From the Mac Finder, select the “Go” menu, then click “Connect to Server…”

Page 4: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Viewing filesystem - Finder

• Type in the server addresssmb://smb-shares.student.cs.uwaterloo.ca/csNNN

where NNN is a course number

Page 5: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Viewing filesystem - Finder

Page 6: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Logging in – command line• Use ssh; i.e.,ssh localhost -l csNNNssh csNNN@<undergrad-machine>

Page 7: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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 rsahttp://www.cs.uwaterloo.ca/cscf/howto/ssh/public_key/#openssh

Page 8: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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/ClassListPerlModule

Page 9: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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/csNNN/u

Page 10: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Important files: .rhosts

• Gives people access to the course account; check first with ISC.• Put person in .rhosts file in /u/csNNN• 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

Page 11: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Important Directories

archives

bin

course

handin

marking

marks

pub / public_html

u

/u/csNNN

Page 12: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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/WebHome

Page 13: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Directory: bin

• Contains scripts/programs specific to this course

• Any scripts located here should be available to you automatically because of the login program.

Page 14: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Directory: course

• Contains data about the course, which varies from account to account. Can include snapshots of course enrolment, records of public test results, …

Page 15: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Directories: handin/marking

• Depending on course structure, may contain assignment submissions and assignment autotesting suites, respectively.

Page 16: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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.

Page 17: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Web Site

• public_html• Ensure list of course staff is up-to-

date at beginning of term

• Update announcements and marks regularly

• Set a good example by making websites that validate!

Page 18: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Web Site: displayMarks• 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/OnlineMarkUpload

Page 19: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Web Site: displayMarks• Sample spreadsheet and generated

file (from Wiki)

Page 20: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Web Site: displayMarks• Sample user display

Page 21: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Web Site: displayMarks• Sample root user display

Page 22: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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

Page 23: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Submission: Marmosethttps://marmoset.student.cs.uwaterloo.ca/

Page 24: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Submission: Markushttps://markus.cs.uwaterloo.ca/

https://www.student.cs.uwaterloo.ca/markus/csNNN

Page 25: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Submission: UW-ACEhttp://uwace.uwaterloo.ca/

Page 26: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Scripts

• Purposes:• Cover page • Auto-marking• Plagiarism detection• Course announcements• …

http://www.student.cs.uwaterloo.ca/~isg/scripts/

Page 27: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Cover Pages(Written Assignments)

• Configuration file .coverrc• Command makeCover• For each assignment, add list of

questions and marks per question to .coverrc

Page 28: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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

Page 29: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Automarking: BitterSuite

• 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

Page 30: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Automarking: printOut

• Not used in MarkUs-based courses• printOut <assign> <suite> <timestamp> <piles> <where>• piles = 'section' or number of piles, • where = -7 for lp7_cs , -0 for don't actually print, -g for Graphics Services Xerox 470

Page 31: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

Plagiarism detection: moss

• runMoss, 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.

Page 32: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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.

Page 33: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

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/ProcmailSetup

Page 34: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

ISG Wiki

Page 35: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >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/WebHome

Page 36: ISG: Course Account Training Resources: >Tutor/TA Handbook >Training>scripts >ISG WiKi

The End

Resources:www.cs.uwaterloo.ca/isg/

>Tutor/TA Handbook >Training>scripts

>ISG WiKi