Here is a basic submission information file for the example presented above.
<assignment> <title>CS361: Keeping Your Distance</title> <directory>/home/zeil/courses/cs361Submissions/editd</directory> <file filter="editdist.cpp" required="1"> Your implementation of the editDistance function.</text> </file> <file filter="README.txt"> Notes to the grader, if any. </file> </assignment>
The entire description is wrapped in the assignment element. |
|
This gives the title that appears on the various web pages. |
|
The directory where student submissions for this assignment will be placed. Usually, each assignment would have a separate directory. |
|
One or more file descriptions. Each of these describes a single file to be submitted by the student. A file description has the following components: |
|
A filename or filter for the desired filename. These can
include the usual wild card characters (e.g.,
|
|
(Optional) Required file marker. If present and if the value of this field is "1", then the file will be marked as "required" in the listing presented to the student. If a student attempts to submit an assignment that is missing one or more required files, the student receives a warning. (Students will be allowed to go ahead and submit anyway, if they wish, because sometimes students do need to submit incomplete work.) If the |
|
(Optional) Descriptive text for the file. |
An older release of the websubmit tool used a
less compact format in which the filter, required marker, and
description were provided as nested elements within each file
element.
<assignment> <title>CS361: Keeping Your Distance</title> <directory>/home/zeil/courses/cs361Submissions/editd</directory> <file> <filter>editdist.cpp</filter> <text>Your implementation of the editDistance function.</text> <required>1</required> </file> <file> <filter>README.txt</filter> <text>Notes to the grader, if any.</text> </file> </assignment>
One or more file descriptions. Each of these describes a single file to be submitted by the student. A file description has the following components: |
|
A filename or filter for the desired filename. These can
include the usual wild card characters (e.g.,
|
|
(Optional) Descriptive text for the file. |
|
(Optional) Required file marker. If present and if the value of this field is "1", then the file will be marked as "required" in the listing presented to the student. If a student attempts to submit an assignment that is missing one or more required files, the student receives a warning. (Students will be allowed to go ahead and submit anyway, if they wish, because sometimes students do need to submit incomplete work.) If the |
This older format is still supported to provide backwards compatibility.
When a student submits an assignment, the assignment is saved
using the same directory structure as in the local "submit" command
utility: the student's first submission is placed within a directory
studentLogin.0/
and the time of submission in a
file studentLogin.0.time
. The student's second
submission goes in studentLogin.1/
and
studentLogin.1.time
, and so on.
No provision is made for students' withdrawing old assignment submissions because I don't believe in destroying the "audit trail". Also, no provision is made for limiting submissions to before a "due date", because any such mechanism would inevitably require frequent overriding to accommodate excused late submissions, students working off incomplete grades, etc. This seems to be easier to handle at grading time.