From 60dc2f0475ac932d72a572c039da1078bd568b6c Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 10 May 2018 22:25:02 -0400 Subject: weighted column maximum=1 is hardcoded, instead of sum of the points --- GradeBook_lib.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 129a0ea..b4035c3 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -455,7 +455,9 @@ proc calculteWeightedTotals { } { set flag_delete_CategoryWeightedTolal true } if { [doesColumnExists $CategoryWeightedTolalName GradesTable] } { - UpdateColValue4UserNameNonWeb $CategoryWeightedTolalName _Max_Points_ $max_points($category) + # weighted category always normilized to 1 + UpdateColValue4UserNameNonWeb $CategoryWeightedTolalName _Max_Points_ 1 + #UpdateColValue4UserNameNonWeb $CategoryWeightedTolalName _Max_Points_ $max_points($category) # calculated weighted sum for each student in this category foreach student $students_list { -- cgit v1.2.3