--- loncom/interface/statistics/lonstudentassessment.pm 2003/06/16 15:54:58 1.59 +++ loncom/interface/statistics/lonstudentassessment.pm 2003/06/24 21:44:09 1.64 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.59 2003/06/16 15:54:58 matthew Exp $ +# $Id: lonstudentassessment.pm,v 1.64 2003/06/24 21:44:09 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -336,6 +336,7 @@ sub CreateInterface { $Str .= ' 'x5; $Str .= ''; $Str .= ' 'x5; + $Str .= '
'; return $Str; } @@ -1056,6 +1057,8 @@ END ($r,'Excel File Compilation Status', 'Excel File Compilation Progress', $studentcount); # + &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state, + 'Processing first student'); return; } @@ -1425,7 +1428,7 @@ sub StudentTriesOnSequence { $symbol = ''.$symbol.''; } $value .= $symbol; @@ -1497,7 +1500,7 @@ sub StudentPerformanceOnSequence { # $partscore = $weight*$awarded; $score += $partscore; - $symbol = $weight; + $symbol = $partscore; if (length($symbol) > 1) { $symbol = '*'; } @@ -1516,19 +1519,20 @@ sub StudentPerformanceOnSequence { } } # + if (! defined($partscore)) { + $partscore = $symbol; + } + push (@ScoreData,$partscore); + # if ( ($links eq 'yes' && $symbol ne ' ') || ($links eq 'all')) { $symbol = ''.$symbol.''; } - if (! defined($partscore)) { - $partscore = $symbol; - } - push (@ScoreData,$partscore); + $Str .= $symbol; } - $Str .= $symbol; } return ($Str,$performance_length,$score,$max,\@ScoreData); }