A referee's scores for a paper consist of 5 real-valued numbers of value between 1 and 5 followed by a one-letter referee confidence code (L(ow), M(edium), H(igh)). If a referee has not yet submitted scores for a paper, that referee's scores will be replaced by dashes ("-"). Write and document a Python script refstatus.py which takes as command-line arguments a tagged input file of the format described above, prints for each paper the author, title, and refereeing status information (i.e., complete (both referees done), incomplete (one referee not done), not started (neither referee done)), and prints final totals for each type of refereeing-status. This script must produce the appropriate error message (see typescript-file below) when the input file cannot be read. Your script must work on datafile refstatus.dat to produce the output given in typescript-file refstatus.script.
Created: January 17, 2008
Last Modified: January 17, 2008