--- loncom/interface/statistics/lonstudentassessment.pm 2003/06/17 17:47:54 1.60
+++ loncom/interface/statistics/lonstudentassessment.pm 2003/10/03 15:37:29 1.65.2.1
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.60 2003/06/17 17:47:54 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.65.2.1 2003/10/03 15:37:29 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -138,7 +138,10 @@ Inputs:
#######################################################
sub BuildStudentAssessmentPage {
my ($r,$c)=@_;
+
undef($Statistics);
+
+ $single_student_mode = 0;
$single_student_mode = 1 if ($ENV{'form.SelectedStudent'});
if ($ENV{'form.selectstudent'}) {
&Apache::lonstatistics::DisplayClasslist($r);
@@ -191,6 +194,9 @@ sub BuildStudentAssessmentPage {
# are immediately reflected in the chart.
&Apache::lonnet::clear_EXT_cache_status();
#
+ # Clean out loncoursedata's package data, just to be safe.
+ &Apache::loncoursedata::clear_internal_caches();
+ #
# Call the initialize routine selected above
$initialize->($r);
foreach my $student (@Students) {
@@ -335,7 +341,8 @@ sub CreateInterface {
'value="Select One Student" />';
$Str .= ' 'x5;
$Str .= '';
- $Str .= ' 'x5.'
';
+ $Str .= ' 'x5;
+ $Str .= '
';
return $Str;
}
@@ -1056,6 +1063,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 +1434,7 @@ sub StudentTriesOnSequence {
$symbol = ''.$symbol.'';
}
$value .= $symbol;
@@ -1497,7 +1506,7 @@ sub StudentPerformanceOnSequence {
#
$partscore = $weight*$awarded;
$score += $partscore;
- $symbol = $weight;
+ $symbol = $partscore;
if (length($symbol) > 1) {
$symbol = '*';
}
@@ -1525,7 +1534,7 @@ sub StudentPerformanceOnSequence {
$symbol = ''.$symbol.'';
}
$Str .= $symbol;