Turnin Procedure

 

You must run the "turnin" script to submit your assignment.

If you want to give extra information to your grader, you can create a file called README in your current directory. If you have no comments for your grader, then you don't need to include a README file. Not everyone will have a README file, and you will not lose points for not having one.

You should provide a sample output file demonstrating that your program works on some input. This output is not graded but just demonstrates that your program does indeed work at a basic level. Assuming hw1, to create a sample output file, type...

cd ~/hw1                  /* if current assignment is hw1 */
script sample
./driver1                   /* change for the current assignment */
...run your program...
^D                             /* to end your program (not hw1) */
./driver2                   /* change for the current assignment */
...run your program...
^D                             /* to end your program (not hw1) */
exit                           /* to end the script */

The resultant file is called "sample" and is in the current directory.

To turnin your completed homework assignment, first make sure that you can log in to your account on autograder.ucsd.edu. Your account has already been created and associate with your @ucsd.edu email address. To gain access to your new account, go to autograder.ucsd.edu and follow the instructions on the home page to reset your password.

Once you have your autograder.ucsd.edu account and are ready to turn in, change directory to the directory of the assignment you wish to turn in.
For example:

cd ~/hw2

Then run the turnin command like so:

turnin

This will start the interactive turnin script. First, provide your autograder.ucsd.edu email and password to login:

Autograder email: youremail@ucsd.edu
Autograder password:
Logging in as youremail@ucsd.edu

This will start an interactive turnin process. Follow the prompts to select the assignment you wish to turnin for and acknowledge that you accept the integrity of scholarship agreement.

Select an assignment
     #  Assignment                Due
     1. Homework 2              Wed 8/5/15 11:59 PM PDT (current)
Enter an integer (1-1): 1

The turnin program will verify that your assignment passes the ctrl-D test and then archive your code for autograding. Review the contents of the archive to make sure that all of your source code is being collected.

Running ctrl-D Test
Finished running ctrl-D Test
Archiving submission
Archived /home/linux/ieng6/cs12x/cs12xzz/hw2/hw2.java
Archived /home/linux/ieng6/cs12x/cs12xzz/hw2/Makefile
Archived /home/linux/ieng6/cs12x/cs12xzz/hw2/hw2.c
Submission bundled. You may turn in your assignment now.

Finally, you can verify that your submission was successful by checking that it's on the website. Log in to autograder.ucsd.edu and click on the button marked "My Grades". Then click on the folder icon next to the appropriate assignment to view your turnin history.

Please don't wait to the last minute to run "turnin" for the first time. You can run "turnin" as many times as you want before the deadline, but you don't ever want to run "turnin" after the deadline. Doing so may clobber your on-time submission resulting in a score of 0.

Here is an example of an entire turnin process:

> cd ~/hw2
> ls
Makefile    hw2.c    hw2.java
> turnin
Autograder email: youremail@ucsd.edu
Autograder password:
Logging in as youremail@ucsd.edu
Retrieving courses
Selecting default course CSE12 - Basic Data Struct & OO Design :
Retrieving assignments
Select an assignment
     #  Assignment                Due
     1. Homework 2              Wed 8/5/15 11:59 PM PDT (current)
Enter an integer (1-1): 1
Checking if the assignment is due
Running ctrl-D Test
Finished running ctrl-D Test
Archiving submission
Archived /home/linux/ieng6/cs12x/cs12xzz/hw2/hw2.java
Archived /home/linux/ieng6/cs12x/cs12xzz/hw2/Makefile
Archived /home/linux/ieng6/cs12x/cs12xzz/hw2/hw2.c
Submission bundled. You may turn in your assignment now.
By turning in your assignment you agree to the integrity of scholarship agreement.
Do you want to turn in your assignment now? (y/n): y
Turnin in assignment
Successfully turned in project
>