Electronic Handin: Graders
Directory Structure
For this example,
assume that the name of the account is cs200.
- ~cs200/handin
All handin files, except handin executables, are
stored here. This directory and all its
subdirectories should be mode 0700.
- ~cs200/handin/log
Log files are stored here:
- handin.log
Records successful handins.
- error.log
Records any errors that were encountered. This can help
with figuring out what happened when a student had problems handing
something in.
- ~cs200/handin/conf
Configuration files are stored here. There are two config
files:
- students
Contains a listing of all usernames allowed to submit files
for this class, one per line. People not listed here will
not be allowed to hand in files.
- handin.conf
Contains a listing of all valid assignments, their duedates,
and the cutoff date. This file is explained in detail below.
- ~cs200/handin/assign
Assignments submitted by students are placed here. Each assignment
is placed in a separate directory. Below, "n" will represent an
assignment number:
- n
On-time assignments are placed in here. Each user's files
will be placed in a separate subdirectory.
- n.late
Late assignments are placed here.
Again, each user's files go in a separate subdirectory.
- ~cs200/bin
Handin binaries go here. They are automatically installed by
the system administrator; DO NOT TOUCH. The handin.Linux and
handin.SunOS binaries should be mode 6711; the handin binary should
be mode 0511. This directory should be mode 0555.
handin.conf file
handin.conf has three entries per line, separated by spaces. Each
assignment MUST have an entry here. The first entry is the assignment
number. The second is the due date (in M/D/YYYY form -- you MUST specify
four digits for the year). The third is the cutoff date.
Once the due date is past, assignments users hand in will be placed in
assign/n.late instead of assign/n. This makes it easy to tell which people
handed the assignment in on time. Once the cutoff date is past, all handin
attempts for a given assignment will be rejected.
Example:
1 2/9/1997 2/23/1997
2 2/28/1997 2/28/1997
In this example, assignment one is due on February 9, 1997. Late
assignments will be placed under 1.late until Feb 23, at which point they
will be rejected.
Assignment two is due on February 28, 1997. No late assignments will be
acepted.
Miscellaneous
Needed directories will be created automatically by the program if they
don't exist. (Exception: config files must exist prior to running the
program). All directories under ~classname/handin should be mode 0700.
John Goerzen [e-mail]
$Id: grader.html,v 1.2 1997/07/08 19:06:12 jgoerzen Exp $