GiveSpec: Submission

 

&subspecs

Specify accepted files. Filenames matching wildcards in current directory.

  • Example 1: accept allocator.c and optionally zero or more .h files and zero or more .c files.

    &subspecs accept allocator.c *.h/0+ *.c/0+ &end
  • Example 2: accept files1 or accept files2 or ...

    &subspecs accept FPView.java readme.txt *.java *.jar/0+ *.jpg/0+ *.png/0+ *.txt/0+ *.fpe/0+ accept readme.txt *.h *.cpp *.tem/0+ dsview.pro *.jpg/0+ *.png/0+ *.txt/0+ *.fpe/0+ *.tgz/0 accept *.zip readme.txt accept *.tgz readme.txt &end
  • Example 3: reject all

    &subspecs reject * &end

    reject * to stop submissions. Example, submissions come from the exam account, so, reject any submissions via give.

&subkey/&subgroup

&deadline

Specify assignment deadline. Late penalty applies for submissions after deadline.

group deadline [[, startdate], enddate]

  • Example 1: No cut off date for submissions. Applies to all submissions.

  • Example 2: Cut off date for submissions.

    • When student submits after this date, they will get this message:

  • Example 3: Start date and cut off date for submissions.

  • Example 4: Multiple deadlines depending on &subgroup

&latepen/&earlybonus

Specify late penalty or early bonus

  • Example 1:

    • ceiling - penalty is reduction in maximum available mark

    • ceiling % - penalty is specified as percentages, default is mark

    • 0 per hour for 1 hour - no penalty if less than an hour late

    • 15 per day for 4 days - 15% of the total mark is deducted from the maximum for each day late

  • Example 2:

    • raw - change to the raw mark

    • 0 per day for 3 days - no change to the raw mark if 3 days or less early

    • 1 per day for 1 day - one mark added to raw mark if 4 days or more early

&extension

Specify students with extensions

  • Example 1: Days

    The student will get 5 days extension. After 5 days, the usual late penalty applies.

  • Example 2: Hours

    The student will get 1 hour extension.

&maxsize

Specify max size per file

  • Example:

&backups

Specify number of previous submissions to retain

  • Example: