File:  [LON-CAPA] / capa / capa51 / CapaTools / capa.config
Revision 1.2: download - view: text, annotated - select for diffs
Tue Apr 23 22:33:33 2002 UTC (22 years, 2 months ago) by albertel
Branches: 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, stable_2002_july, stable_2002_april, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, conference_2003, bz6209-base, bz6209, STABLE, HEAD, GCI_3, GCI_2, GCI_1, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
-fixing OZ


# Comments in this file begins with a # mark
# ================= class structure ============

exam_path   = /usr/users/teacher/CAPA45/xph183f7
quiz_path   = /usr/users/teacher/CAPA45/qph183f7
supp_path   = /usr/users/teacher/CAPA45/rph183f7
others_path = /usr/users/teacher/CAPA45/fci183f7

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

#  path information is not necessarily surrounded by double quotes
# 
#  when specifying a command, use double quotes, because 
#    commands may have arguments, such as lpr

latex_command   =  "/usr/local/bin/latex"
dvips_command   =  "/usr/local/bin/dvips"

lprOneSided_command     =  "/usr/bin/lpr -Pcyccap_capa1"

lprTwoSided_command     =  "/usr/bin/lpspr -K2 $PS_file | /usr/bin/lpr -Pcyccap_capa1"



# on OSF1   /usr/bin/mailx
#    SunOS  /usr/bin/mail

mail_command     =  "/usr/bin/mailx"

# these two binaries are of version 5.0, not of 4.5
allpin_command  =  "/usr/users/capadvt/CAPA_SRC/5.0/Teachertools/allpin"
qzparse_command =  "/usr/users/capadvt/CAPA_SRC/5.0/Teachertools/qzparse"

# 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

# =============================================================================

# 
# ======================= Unit section =============
# Base Unit
# name      symbol     comment

<< Base Unit >>

meter           m      # length
kilogram        kg     # mass
second          s      # time
ampere          A      # electric current
kelvin          K      # thermodynamic temperature
mole            mol    # amount of substance
candela         cd     # luminous intensity

#   Prefix     symbol     factor
<< Prefix >>

yotta            Y         10^{24}
zetta            Z         10^{21}
exa              E         10^{18}
peta             P         10^{15}
tera             T         10^{12}
giga             G         10^9
mega             M         10^6
kilo             k         10^3
hecto            h         10^2

deci             d         10^-1
centi            c         10^-2
milli            m         10^-3
micro            u         10^-6
nano             n         10^-9
pico             p         10^{-12}
femto            f         10^{-15}
atto             a         10^{-18}
zepto            z         10^{-21}
yocto            y         10^{-24}




# Derived Unit
# name       symbol     unit          comment
# name must be in oneword
<<Derived Unit>>

gram            g      0.001 kg      # mass
hour            hr     3600. s       # time
pound           lb     0.45359237 kg # mass
ounce           oz     2.83495E-2 kg # mass
inch            in     2.54 cm       # length
foot            ft     12 in         # length
mile            mi     5280 ft       # length
yard            yd     0.9144 m      # length
nautical_mile   n_mi   6080 ft       # length, nautical mile (UK)
rood            rood   1210 yd^2     # area, rood
acre            acre   4840 yd^2     # area, acre
hertz           Hz     1/s           # frequency
litre           L      10^3/cm^3     # volume
newton          N      m*kg/s^2      # force
pound_force     lbf    4.44822 N     # force
dyne            dyn    1E-5 N        # force
pascal          Pa     N/m^2           # pressure, stress
bar             bar    1E5 Pa          # pressure
mmHg            mmHg   1.33322E2 Pa    # pressure, millimeter of mercury
torr            torr   1 mmHg          # pressure
atm             atm    760 torr        # standard atmosphere
joule           J      N*m             # energy, work, heat
electronvolt    eV     1.6021892E-19 J # energy
calorie         cal    4.1868 J        # energy
Btu             Btu    1.05506E3 J     # energy
watt            W      J/s             # power, radiant flux
coulomb         C      A*s             # electric charge
volt            V      J/C           # electric potential, electromotive force
ohm             Ohm    V/A           # electric resistance
siemens         S      1/Ohm         # electric conductance
farad           F      C/V           # electric capacitance
tesla           T      V s/m^2       # magnetic flux density
weber           Wb     V*s           # magnetic flux
henry           H      V*s/A         # inductance
radian          rad    m /m            # plane angle
degree          deg    1.745329E-2 rad # plane angle (Pi rad=180 deg)
steradian       sr     m^2 /m^2        # solid angle
lumen           lm     cd*sr         # luminous flux
lux             lx     cd*sr/m^2     # illuminance
becquerel       Bq     1/s           # activity (radioactive)
gray            Gy     J/kg          # absorbed dose (of radiation)
sievert         Sv     J/kg          # dose equivalent (dose equivalent index)
astroUnit       AU     1.49598E11 m  # mean distance earth to sun




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.