Skip to content
Paul Ojanen edited this page Feb 11, 2015 · 24 revisions

Welcome to the c211-admin wiki!

Script Reference

All scripts use absolute pathnames for all important files. So your current directory does not matter when running these.

Overview of Instructions

See further below for Detailed Instructions including locations of important files and options on script commands.

How to grade labs

  1. Fill out the .csv file
    1. Use make-csv lab5 D to generate this week's .csv file automatically for you!
    2. In the .csv file, replace the Z's with letter grades
    3. Delete the Z-grade rows for absent students
    4. Save your changes.
  2. Use grade lab5 D to push the grades out to the handin-server automatically!

How to process appeals

  1. Use appeal a2 projanen to grab projanen's most recent submission. They must have submitted it.
  2. Regrade the new .rkt file and mark new grade on their paper, and ...
  3. Change their grade in the appropriate .csv file. See make-csv below. Their lab section is indicated on their printed paper. If you can't find their grade, or if the paper says Unknown, please find out which .csv file to put them in.
  4. Use grade a2 projanen to push the new grade to the handin-server.

How to grade homework assignments

  1. Use print to print the assignments one lab at a time.
  2. Grade by hand, and mark comments and final grade on the printed paper.
  3. Use make-csv a4 all to generate the .csv files and see lab grading instructions above.
  4. Use grade a4 all to push all grades to the handin-server.
  5. Place marked printouts in the file bin in the cabinet in LH201.

Detailed Instructions

Individual use

make-csv

Creates .csv files for your lab sections. They will appear in ~/spring/grades/csvs/lab5/D.csv. These are generated directly from your current pairup rosters. So make sure your pairup roster is up to date before running this script. All students get a default grade of Z. In order to protect these master copies of grades, this script will not overwrite an existing .csv file. If you want to regenerate one, you must manually delete the .csv file first.

make-csv lab2 D Designed for lab use. Run this script after you confirm your pairup roster and before you enter in grades.

make-csv a1 all Designed for graders. Will create all .csv files for a single assignment, one per lab section. Before running, please try to fix any roster errors highlighted by the output of the distribute script.

grade

Creates the individual grade files in the handin-server. Transcribes grades from the .csv files. Skips Z grades. Will overwrite an older grade in the handin-server. So this is also useful for the appeal process. It can be run multiple times on the same student or lab section.

This script, by default, will not create a grade file for a student who has not submitted anything. See -f option.

grade a1 all Transcribes grades for all students for a single assignment.

grade lab2 D Transcribes grades from a single assignment for a single lab section.

grade a1 projanen Transcribes one student's grade for a particular assignment

grade a1 projanen -f Force: will generate a folder in the handin-server if necessary, and will transcribe the grade even if student has not submitted anything.

appeal

appeal a1 projanen Retrieves the most recent submission for this assignment for the given student. This gathers directly from the handin-server and places the .rkt file in ~/spring15/appeals.

print

Utility for printing all the specified .pdf files in Lindley Hall. It indirectly uses the pairup rosters to divide the work by section, using the one which was in effect at the time of assignment submission.

BL-SOIC-L330-1 is referred to as 330-1 in the print script.

print a2 B Print all a2 .pdf files for users in B lab to the printer in LH201.

print a1 F 330 Print a1 for F lab to the default printer in LH330.

print a2 B 330-2 Print a2 for B lab to the second printer in the LH330 suite.

print a2 projanen

print a2 projanen 330

print a2 projanen 330-1 As above but will print only one student's file.

More Explanation

We need to explain what the output of distribute means, and what needs to be done in response to the various warning messages.

Advanced Use

These are intended only for cron jobs and for correcting mistakes.

Don't use these

  • collect
  • distribute
  • collect-and-distribute

Other

These are old or one-off scripts, or scripts in progress.

Don't use these

Definitely Don't use these

  • attempts-only
  • autograde