ComS 472/572: Principles of Artificial Intelligence
Department of Computer Science
Iowa State University


Electronic Submission

All laboratory assignments must be turned in electronically, using a script called turnin. The script is invoked by calling

   ~cs572/Utilities/turnin Assignment
from your UNIX shell.

(You may create an alias to reduce your typing requirements.) The script copies everything within your current working directory to a directory named Assignment in the TA's grading account. Note that the script must be invoked from one of the Red Hat PCs (e.g., pyrite or popeye). Use caution when submitting an assignment: if you turn in the same assignment more than once, your previous submission will be erased. You should receive email confirmation of your submitted files. If you don't, or you if you receive an email without mentioning your files, there was a problem with the submission. In this case, contact the TA or the instructor for help.

Do not run the turnin script in your home directory!

A common mistake is to run the turnin script in one's home directory. This will send all contents of your home directory to the ComS 572 account!

An example

This example assumes that the script has been aliased, by adding the following line to your .cshrc file.

  alias turnin572 ~cs572/Utilities/turnin

  1. Copy the files you want to submit to a temporary directory.
        mkdir tmp
        cd tmp
        cp ~/proj1/makefile ~/proj1/*.c ~/proj1/*.h .
      
  2. Execute the turnin script.
        turnin572 Project1
      
  3. Wait for email confirmation.
    You should receive a message similar to the following.
     This is an automated response. Please do not reply.
     We have received your "Project1" submission at Wed Aug 17 17:18:52 CDT 2005.
     We now have the following files from you for "Project1":
     ---------------------------------------------------
     makefile proj1.c proj1.h
     ---------------------------------------------------
      
  4. Remove the temporary directory.
        cd ..
        rm -R tmp