#!/bin/tcsh
#
# Generic scoring script. Change as necessary if testing scheme is different
# than the standard used in ./run.csh.
#

#
# Start out optimistically.
#
set score = 100

#
# Set the test case values.  At some point, this might be mechanially generated
# from test plan.
#
set test1_pts = 
# ...

#
# Deduct based on existence of diffs.  If mechanically-generated diffs are too
# strict, the score is adjusted manually, as necessary.
#
if (-e diffs/test1) @ score = $score - $test1_pts
# ...

#
# "Output" the score by echoing it, to whoever might be looking.
#
echo "Score: $score/100"
