Grader Info
The Submit system is made up of a number of programs and scripts. RCS is used to control the versions of all the Submit related programs. Currently the version of Submit used in CS 50 can be found in the bin subdirectory of the user cs6s1hw on turing.
The submit program must be in the user's path. Also, submit expects to find a database of user id's that can submit files. This database must be setup for each class. Finally, the .procmailrc belonging to cs6s1hw is used to respond via email to each submission. Note: submit adds appropriate comments to the submitted program, e.g., the time and date of submission.
All submitted files are sent as email messages to the grader account (in this case cs6s1hw). In the grader account, running the extract.pl script will yank all of the homeworks out of the mailbox and put them in an appropriate directory, e.g., the directory 10/01 for assignment 10, problem #1. If a user makes multiple submissions of a program, then extract.pl will replace the older submission by the latest one, renaming the older submission with a prefix of BAD . The nonsub mailbox is used to hold mail messages that do not correspond to submitted homeworks. Thus each time extract.pl is run, nonsub should be checked for non-comforming messages.
The compile_all(.sh?) script compiles all of the problems in a directory. Capturing its output, e.g., > someoutputfile , will show any compile problems.
To print out the programs, run the print_problem script in the directory. A header page will be added to each program (coverpage.eps provides the page). You can then comment and grade the hard copy.
Last modified January 15, 1998 by mike@cs.hmc.edu