Annotation of capa/capa51/CapaTools/capa.config, revision 1.1

1.1     ! albertel    1: 
        !             2: # Comments in this file begins with a # mark
        !             3: # ================= class structure ============
        !             4: 
        !             5: exam_path   = /usr/users/teacher/CAPA45/xph183f7
        !             6: quiz_path   = /usr/users/teacher/CAPA45/qph183f7
        !             7: supp_path   = /usr/users/teacher/CAPA45/rph183f7
        !             8: others_path = /usr/users/teacher/CAPA45/fci183f7
        !             9: 
        !            10: #
        !            11: # When computing the scores for each class, up to the set number
        !            12: # specified in this section that the 
        !            13: # score report is generated
        !            14: # The program will look up from set1.db, set2.db and so on 
        !            15: # until the setX.db file which is not exist or 
        !            16: # it reaches the set number specified 
        !            17: # in this section.
        !            18: # Place a number of 99 will effectively makes the program 
        !            19: # to include all scores from  all setX.db files upto set 99.
        !            20: 
        !            21: homework_scores_limit_set = 12
        !            22: exam_scores_limit_set     = 7
        !            23: quiz_scores_limit_set     = 16
        !            24: supp_scores_limit_set     = 14
        !            25: others_scores_limit_set   = 0
        !            26: 
        !            27: #  path information is not necessarily surrounded by double quotes
        !            28: # 
        !            29: #  when specifying a command, use double quotes, because 
        !            30: #    commands may have arguments, such as lpr
        !            31: 
        !            32: latex_command   =  "/usr/local/bin/latex"
        !            33: dvips_command   =  "/usr/local/bin/dvips"
        !            34: 
        !            35: lprOneSided_command     =  "/usr/bin/lpr -Pcyccap_capa1"
        !            36: 
        !            37: lprTwoSided_command     =  "/usr/bin/lpspr -K2 $PS_file | /usr/bin/lpr -Pcyccap_capa1"
        !            38: 
        !            39: 
        !            40: 
        !            41: # on OSF1   /usr/bin/mailx
        !            42: #    SunOS  /usr/bin/mail
        !            43: 
        !            44: mail_command     =  "/usr/bin/mailx"
        !            45: 
        !            46: # these two binaries are of version 5.0, not of 4.5
        !            47: allpin_command  =  "/usr/users/capadvt/CAPA_SRC/5.0/Teachertools/allpin"
        !            48: qzparse_command =  "/usr/users/capadvt/CAPA_SRC/5.0/Teachertools/qzparse"
        !            49: 
        !            50: # The file to store all scores of students from the classl file 
        !            51: #  It is used to send out e-mail
        !            52: 
        !            53: master_scores_file = "/usr/users/teacher/CAPA45/phy183f7/scores/scores.all"
        !            54: 
        !            55: # The template file for e-mail
        !            56: 
        !            57: email_template_file        = "/usr/users/teacher/CAPA45/phy183f7/scores/email.template"
        !            58: 
        !            59: 
        !            60: # pre-defined variable names that can be used in email.template
        !            61: #
        !            62: # Declare a variable name with ':=' 
        !            63: #  when assigning a value to a variable, use '='
        !            64: 
        !            65: # This variable is used to store the total scores 
        !            66: #    calculated from all setX.db's in the regular class
        !            67: # It is later refered in the file 'email.template' as $HWtotal_scp
        !            68: 
        !            69: var_homework_total_score   := HWtotal_scp
        !            70: 
        !            71: # This variable is used to represent the total possible scores 
        !            72: #    that a student could receive from all setX.db's in the regular class
        !            73: # It is later refered in the file 'email.template' as $HWtotal_max_scp
        !            74: 
        !            75: var_homework_total_max     := HWtotal_max_scp
        !            76: 
        !            77: 
        !            78: # This variable is used to represent the total scores 
        !            79: #    calculated from all setX.db's in the class specified
        !            80: #    by 'quiz_path' parameter in this file
        !            81: # It is later refered in the file 'email.template' as $QZtotal_scp
        !            82: 
        !            83: var_quiz_total_score     := QZtotal_scp
        !            84: 
        !            85: # This variable is used to represent the total scores 
        !            86: #    calculated from all setX.db's in the class specified
        !            87: #    by 'quiz_path' parameter in this file
        !            88: # It is later refered in the file 'email.template' as $QZtotal_max_scp
        !            89: 
        !            90: var_quiz_total_max        := QZtotal_max_scp
        !            91: 
        !            92: # This variable is used to represent the total number of 
        !            93: #    setX.db's in the class specified by 'quiz_path' parameter in this file
        !            94: # It is later refered in the file 'email.template' as $QZcount_scp
        !            95: 
        !            96: var_quiz_count            := QZcount_scp
        !            97: 
        !            98: # This variable is used to represent the total number of '-'
        !            99: #    a student got in the term summary report. It represents that
        !           100: #    the number of times the student is abscent from all the setX.db's 
        !           101: #    in the class specified by 'quiz_path' parameter in this file
        !           102: # It is not yet used in the file 'email.template,' but 
        !           103: #    can be refered as $QZabsent_scp
        !           104: 
        !           105: var_quiz_absent           := QZabsent_scp
        !           106: 
        !           107: # This variable will return a one line string in the form 
        !           108: #   xxx/xxx xxx/xxx xxx/xxx xxx/xxx xxx/xxx xxx/xxx
        !           109: #  It gives the statistics for each set in the class specified by
        !           110: #  'quiz_path' parameter in this file
        !           111: # It is later refered in the file 'email.template' as $QZsummary
        !           112: 
        !           113: var_quiz_summary_string   := QZsummary
        !           114: 
        !           115: #
        !           116: # Declares a class of variables with the same prefix
        !           117: #  This declaration allows the access of individual set scores 
        !           118: #  in the class specified by 'exam_path' parameter in this file
        !           119: #  
        !           120: 
        !           121: prefix_exam_raw_scores     := exam_raw
        !           122: 
        !           123: # Thus, exam_raw1, exam_raw2, exam_raw3, exam_raw4 ... 
        !           124: #  represent the individual set score
        !           125: # These variables are used in the later definition of midterm1, midterm2, ...
        !           126: # 
        !           127: prefix_exam_raw_max        := exam_raw_max
        !           128: 
        !           129: # similar to the above, now the maximum scores for exam 1 is stored 
        !           130: #  in variable exam_raw_max1
        !           131: # These variables are used in the later definition of midterm1, midterm2, ...
        !           132: 
        !           133: # This parameter is used in calculation of corrected credits by 
        !           134: #  successive corrections of their midterm exams
        !           135: 
        !           136: correction_factor = 0.3
        !           137: 
        !           138: # Correction formula for midterm exams
        !           139: #   here midterm1, midterm2, midterm3, and final_exam 
        !           140: #   are new variables whose definition depends on
        !           141: #   the raw scores of each set in the class specified by 'exam_path'
        !           142: 
        !           143: ### The reason that we define midterm1, midterm2, midterm3 and final_exam here
        !           144: ###  is that score report file need these definitions.
        !           145: 
        !           146: midterm1   ::
        !           147: 
        !           148: BEGIN_perl
        !           149: 
        !           150:   local($tmp);
        !           151:   if($exam_raw2 >= $exam_raw1) {
        !           152:     $tmp = $exam_raw1 + $correction_factor*($exam_raw2-$exam_raw1);
        !           153:   } else {
        !           154:     $tmp = $exam_raw1;
        !           155:   }
        !           156:   return ($tmp);
        !           157: 
        !           158: END_perl
        !           159: 
        !           160: 
        !           161: midterm2   ::
        !           162: 
        !           163: BEGIN_perl
        !           164: 
        !           165:   local($tmp);
        !           166:   if($exam_raw4 >= $exam_raw3) {
        !           167:     $tmp = $exam_raw3 + $correction_factor*($exam_raw4-$exam_raw3);
        !           168:   } else {
        !           169:     $tmp = $exam_raw3;
        !           170:   }
        !           171:   return ($tmp);
        !           172: 
        !           173: END_perl
        !           174: 
        !           175: 
        !           176: midterm3   ::
        !           177: BEGIN_perl
        !           178: 
        !           179:   local($tmp);
        !           180:   if($exam_raw6 >= $exam_raw5) {
        !           181:     $tmp = $exam_raw5 + $correction_factor*($exam_raw6-$exam_raw5);
        !           182:   } else {
        !           183:     $tmp = $exam_raw5;
        !           184:   }
        !           185:   return ($tmp);
        !           186: 
        !           187: END_perl
        !           188: 
        !           189: 
        !           190: final_exam = exam_raw7
        !           191: 
        !           192: # ---------------------------------------------------------------------
        !           193: 
        !           194: #
        !           195: # New parameters:
        !           196: #  the percentages used in final grade calculation
        !           197: #   The sum may be over 100. 
        !           198: #
        !           199: 
        !           200: hw_percent    = 30
        !           201: qz_percent    = 7
        !           202: mt1_percent   = 10
        !           203: #mt2_percent   = 10
        !           204: #mt3_percent   = 10
        !           205: #final_percent = 35
        !           206: 
        !           207: mt2_percent   = 10
        !           208: mt3_percent   = 10
        !           209: final_percent = 0
        !           210: 
        !           211: # Default score boundaries for each category, the boundarie are inclusive
        !           212: #   what to define for those falls in between categories?
        !           213: #   for example, > 95.0, 85.0 < .. < 90.0, 75.0 < .. < 80.0 ...
        !           214: # For student with scores that are not one of these categories, we need to 
        !           215: # define a extra category (category 5) to denote that 
        !           216: # those students fall through the crack. 
        !           217: # In email.template file, there is a $default_sentence variable for this purpose.
        !           218: #
        !           219: category_one_high      =   68.0
        !           220: category_one_low       =    0.1
        !           221: 
        !           222: category_two_high      =    0.1
        !           223: category_two_low       =    0.1
        !           224: 
        !           225: category_three_high    =    0.1
        !           226: category_three_low     =    0.1
        !           227: 
        !           228: category_four_high     =    0.1
        !           229: category_four_low      =    0.1
        !           230: 
        !           231: #
        !           232: ## Delete the first comment character and fill in the 
        !           233: #   score to decide the boundary of each category
        !           234: #
        !           235: # category_one_high      =  
        !           236: # category_one_low       =   
        !           237: 
        !           238: # category_two_high      =   
        !           239: # category_two_low       =   
        !           240: 
        !           241: # category_three_high    =   
        !           242: # category_three_low     =   
        !           243: 
        !           244: # category_four_high     =   
        !           245: # category_four_low      =   
        !           246: 
        !           247: #
        !           248: # this variable decides how many lines of entry displayed at one time
        !           249: #   when display score file
        !           250: 
        !           251: display_score_row_limit  = 10
        !           252: 
        !           253: # =============================================================================
        !           254: 
        !           255: # 
        !           256: # ======================= Unit section =============
        !           257: # Base Unit
        !           258: # name      symbol     comment
        !           259: 
        !           260: << Base Unit >>
        !           261: 
        !           262: meter           m      # length
        !           263: kilogram        kg     # mass
        !           264: second          s      # time
        !           265: ampere          A      # electric current
        !           266: kelvin          K      # thermodynamic temperature
        !           267: mole            mol    # amount of substance
        !           268: candela         cd     # luminous intensity
        !           269: 
        !           270: #   Prefix     symbol     factor
        !           271: << Prefix >>
        !           272: 
        !           273: yotta            Y         10^{24}
        !           274: zetta            Z         10^{21}
        !           275: exa              E         10^{18}
        !           276: peta             P         10^{15}
        !           277: tera             T         10^{12}
        !           278: giga             G         10^9
        !           279: mega             M         10^6
        !           280: kilo             k         10^3
        !           281: hecto            h         10^2
        !           282: 
        !           283: deci             d         10^-1
        !           284: centi            c         10^-2
        !           285: milli            m         10^-3
        !           286: micro            u         10^-6
        !           287: nano             n         10^-9
        !           288: pico             p         10^{-12}
        !           289: femto            f         10^{-15}
        !           290: atto             a         10^{-18}
        !           291: zepto            z         10^{-21}
        !           292: yocto            y         10^{-24}
        !           293: 
        !           294: 
        !           295: 
        !           296: 
        !           297: # Derived Unit
        !           298: # name       symbol     unit          comment
        !           299: # name must be in oneword
        !           300: <<Derived Unit>>
        !           301: 
        !           302: gram            g      0.001 kg      # mass
        !           303: hour            hr     3600. s       # time
        !           304: pound           lb     0.45359237 kg # mass
        !           305: ounce           oz     1.77185E-3 kg # mass
        !           306: inch            in     2.54 cm       # length
        !           307: foot            ft     12 in         # length
        !           308: mile            mi     5280 ft       # length
        !           309: yard            yd     0.9144 m      # length
        !           310: nautical_mile   n_mi   6080 ft       # length, nautical mile (UK)
        !           311: rood            rood   1210 yd^2     # area, rood
        !           312: acre            acre   4840 yd^2     # area, acre
        !           313: hertz           Hz     1/s           # frequency
        !           314: litre           L      10^3/cm^3     # volume
        !           315: newton          N      m*kg/s^2      # force
        !           316: pound_force     lbf    4.44822 N     # force
        !           317: dyne            dyn    1E-5 N        # force
        !           318: pascal          Pa     N/m^2           # pressure, stress
        !           319: bar             bar    1E5 Pa          # pressure
        !           320: mmHg            mmHg   1.33322E2 Pa    # pressure, millimeter of mercury
        !           321: torr            torr   1 mmHg          # pressure
        !           322: atm             atm    760 torr        # standard atmosphere
        !           323: joule           J      N*m             # energy, work, heat
        !           324: electronvolt    eV     1.6021892E-19 J # energy
        !           325: calorie         cal    4.1868 J        # energy
        !           326: Btu             Btu    1.05506E3 J     # energy
        !           327: watt            W      J/s             # power, radiant flux
        !           328: coulomb         C      A*s             # electric charge
        !           329: volt            V      J/C           # electric potential, electromotive force
        !           330: ohm             Ohm    V/A           # electric resistance
        !           331: siemens         S      1/Ohm         # electric conductance
        !           332: farad           F      C/V           # electric capacitance
        !           333: tesla           T      V s/m^2       # magnetic flux density
        !           334: weber           Wb     V*s           # magnetic flux
        !           335: henry           H      V*s/A         # inductance
        !           336: radian          rad    m /m            # plane angle
        !           337: degree          deg    1.745329E-2 rad # plane angle (Pi rad=180 deg)
        !           338: steradian       sr     m^2 /m^2        # solid angle
        !           339: lumen           lm     cd*sr         # luminous flux
        !           340: lux             lx     cd*sr/m^2     # illuminance
        !           341: becquerel       Bq     1/s           # activity (radioactive)
        !           342: gray            Gy     J/kg          # absorbed dose (of radiation)
        !           343: sievert         Sv     J/kg          # dose equivalent (dose equivalent index)
        !           344: astroUnit       AU     1.49598E11 m  # mean distance earth to sun
        !           345: 
        !           346: 
        !           347: 

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