CS 501: TA Training Seminarleadta/slides/Week7.pdf · CS 501: TA Training Seminar Auto-Grading...

Preview:

Citation preview

CS 501: TA Training Seminar

Neeraj Kumarcs.ucsb.edu/∼leadta

CS 501: TA Training SeminarAuto-Grading Tools

Neeraj Kumarcs.ucsb.edu/∼leadta

Submit.cs

Web-based Autograder written by Bryce Boe

Submit.cs

Web-based Autograder written by Bryce Boe

URL: http://submit.cs.ucsb.edu

Source: http://github.com/ucsb-cs/submit

Submit.cs

Web-based Autograder written by Bryce Boe

URL: http://submit.cs.ucsb.edu

Source: http://github.com/ucsb-cs/submit

Creating an Account

As a student – just signup on the website

As a course admin – send an email to submit@cs.ucsb.edu with yourCS account name and the class you are a TA/instructor for.

As a TA – ask super admin to add you as an admin

Illustrations

Turnin

Turninuser@csil:∼] man turnin

Not an autograder! You will need your own scriptsfor autograding

Writing Your Own Scripts

Writing Your Own Scripts

Sure, why not!

Writing Your Own Scripts

Oh Well!

Writing Your Own Scripts

Ask around – If no script for your task exists – write it! and do humanity a favor..

Writing Your Own Scripts

Ask around – If no script for your task exists – write it! and do humanity a favor..

Short tutorial on Scripting : Rest of the talk

Only work on linux based systems– if on windows – switch to the ‘better’ side

Writing Your Own Scripts

Ask around – If no script for your task exists – write it! and do humanity a favor..

Short tutorial on Scripting : Rest of the talk

Only work on linux based systems– if on windows – switch to the ‘better’ side

Compiled and Interpreted languages?

SHELL – a program that runs system commands

SHELL SCRIPT – a program that runs multiple system commands in-order

Writing Your Own Scripts

Ask around – If no script for your task exists – write it! and do humanity a favor..

Short tutorial on Scripting : Rest of the talk

Only work on linux based systems– if on windows – switch to the ‘better’ side

Compiled and Interpreted languages?

SHELL – a program that runs system commands

SHELL SCRIPT – a program that runs multiple system commands in-order

Writing Your Own Scripts

Ask around – If no script for your task exists – write it! and do humanity a favor..

Short tutorial on Scripting : Rest of the talk

Only work on linux based systems– if on windows – switch to the ‘better’ side

Writing Your Own Scripts

Ask around – If no script for your task exists – write it! and do humanity a favor..

Short tutorial on Scripting : Rest of the talk

Only work on linux based systems– if on windows – switch to the ‘better’ side

Just need to know useful commands!

Useful Command : find

Useful Command : find

Useful Command : awk

Useful Command : awk

Useful Command : awk

Useful Command : sed

Useful Command : sed

Google Scripts

Attached to sheets and google docs

Google Scripts

Attached to sheets and google docs

Thanks!

Recommended