File:  [LON-CAPA] / capa / capa51 / pProj / capautils.config
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Sep 28 21:26:21 1999 UTC (24 years, 7 months ago) by albertel
Branches: capa, MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, version_0_4, version5-1-2-first_release, start, stable_2002_spring, stable_2002_july, stable_2002_april, stable_2001_fall, release_5-1-3, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, conference_2003, bz6209-base, bz6209, STABLE, HEAD, GCI_3, GCI_2, GCI_1, CAPA_5-1-6, CAPA_5-1-5, CAPA_5-1-4_RC1, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Created directory structure

# ================= 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


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>