# ================= capautils settings ======= # # When computing the scores for each class, up to the set number # specified in this section that the score report is generated # The program will look up from set1.db, set2.db and so on # until the setX.db file which is not exist or it reaches the set number # specified in this section. # Place a number of 99 will effectively makes the program # to include all scores from all setX.db files upto set 99. homework_scores_limit_set = 12 exam_scores_limit_set = 7 quiz_scores_limit_set = 16 supp_scores_limit_set = 14 others_scores_limit_set = 0 # The file to store all scores of students from the classl file # It is used to send out e-mail master_scores_file = "/usr/users/teacher/CAPA45/phy183f7/scores/scores.all" # The template file for e-mail email_template_file = "/usr/users/teacher/CAPA45/phy183f7/scores/email.template" # pre-defined variable names that can be used in email.template # # Declare a variable name with ':=' # when assigning a value to a variable, use '=' # This variable is used to store the total scores # calculated from all setX.db's in the regular class # It is later refered in the file 'email.template' as $HWtotal_scp var_homework_total_score := HWtotal_scp # This variable is used to represent the total possible scores # that a student could receive from all setX.db's in the regular class # It is later refered in the file 'email.template' as $HWtotal_max_scp var_homework_total_max := HWtotal_max_scp # This variable is used to represent the total scores # calculated from all setX.db's in the class specified # by 'quiz_path' parameter in this file # It is later refered in the file 'email.template' as $QZtotal_scp var_quiz_total_score := QZtotal_scp # This variable is used to represent the total scores # calculated from all setX.db's in the class specified # by 'quiz_path' parameter in this file # It is later refered in the file 'email.template' as $QZtotal_max_scp var_quiz_total_max := QZtotal_max_scp # This variable is used to represent the total number of # setX.db's in the class specified by 'quiz_path' parameter in this file # It is later refered in the file 'email.template' as $QZcount_scp var_quiz_count := QZcount_scp # This variable is used to represent the total number of '-' # a student got in the term summary report. It represents that # the number of times the student is abscent from all the setX.db's # in the class specified by 'quiz_path' parameter in this file # It is not yet used in the file 'email.template,' but # can be refered as $QZabsent_scp var_quiz_absent := QZabsent_scp # This variable will return a one line string in the form # xxx/xxx xxx/xxx xxx/xxx xxx/xxx xxx/xxx xxx/xxx # It gives the statistics for each set in the class specified by # 'quiz_path' parameter in this file # It is later refered in the file 'email.template' as $QZsummary var_quiz_summary_string := QZsummary # # Declares a class of variables with the same prefix # This declaration allows the access of individual set scores # in the class specified by 'exam_path' parameter in this file # prefix_exam_raw_scores := exam_raw # Thus, exam_raw1, exam_raw2, exam_raw3, exam_raw4 ... # represent the individual set score # These variables are used in the later definition of midterm1, midterm2, ... # prefix_exam_raw_max := exam_raw_max # similar to the above, now the maximum scores for exam 1 is stored # in variable exam_raw_max1 # These variables are used in the later definition of midterm1, midterm2, ... # This parameter is used in calculation of corrected credits by # successive corrections of their midterm exams correction_factor = 0.3 # Correction formula for midterm exams # here midterm1, midterm2, midterm3, and final_exam # are new variables whose definition depends on # the raw scores of each set in the class specified by 'exam_path' ### The reason that we define midterm1, midterm2, midterm3 and final_exam here ### is that score report file need these definitions. midterm1 :: BEGIN_perl local($tmp); if($exam_raw2 >= $exam_raw1) { $tmp = $exam_raw1 + $correction_factor*($exam_raw2-$exam_raw1); } else { $tmp = $exam_raw1; } return ($tmp); END_perl midterm2 :: BEGIN_perl local($tmp); if($exam_raw4 >= $exam_raw3) { $tmp = $exam_raw3 + $correction_factor*($exam_raw4-$exam_raw3); } else { $tmp = $exam_raw3; } return ($tmp); END_perl midterm3 :: BEGIN_perl local($tmp); if($exam_raw6 >= $exam_raw5) { $tmp = $exam_raw5 + $correction_factor*($exam_raw6-$exam_raw5); } else { $tmp = $exam_raw5; } return ($tmp); END_perl final_exam = exam_raw7 # --------------------------------------------------------------------- # # New parameters: # the percentages used in final grade calculation # The sum may be over 100. # hw_percent = 30 qz_percent = 7 mt1_percent = 10 #mt2_percent = 10 #mt3_percent = 10 #final_percent = 35 mt2_percent = 10 mt3_percent = 10 final_percent = 0 # Default score boundaries for each category, the boundarie are inclusive # what to define for those falls in between categories? # for example, > 95.0, 85.0 < .. < 90.0, 75.0 < .. < 80.0 ... # For student with scores that are not one of these categories, we need to # define a extra category (category 5) to denote that # those students fall through the crack. # In email.template file, there is a $default_sentence variable for this purpose. # category_one_high = 68.0 category_one_low = 0.1 category_two_high = 0.1 category_two_low = 0.1 category_three_high = 0.1 category_three_low = 0.1 category_four_high = 0.1 category_four_low = 0.1 # ## Delete the first comment character and fill in the # score to decide the boundary of each category # # category_one_high = # category_one_low = # category_two_high = # category_two_low = # category_three_high = # category_three_low = # category_four_high = # category_four_low = # # this variable decides how many lines of entry displayed at one time # when display score file display_score_row_limit = 10