--- loncom/interface/statistics/lonproblemanalysis.pm 2004/01/16 15:33:40 1.54 +++ loncom/interface/statistics/lonproblemanalysis.pm 2004/01/16 15:35:04 1.55 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.54 2004/01/16 15:33:40 matthew Exp $ +# $Id: lonproblemanalysis.pm,v 1.55 2004/01/16 15:35:04 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1562,10 +1562,7 @@ sub ProblemSelector { ######################################################### sub get_problem_symb { my $problemstring = shift(); - &Apache::lonnet::logthis('problemstring = '.$problemstring); my ($symb,$partid,$respid,$resptype) = split(':',$problemstring); - &Apache::lonnet::logthis("\n". - join(" --- \n",split(':',$problemstring))); return ({ symb => $symb, part => $partid, respid => $respid, @@ -1586,9 +1583,6 @@ sub get_resource_from_symb { sub get_prev_curr_next { my ($target) = @_; - while(my($k,$v) = each(%$target)) { - &Apache::lonnet::logthis($k.' = '.$v); - } # # Build an array with the data we need to search through my @Resource; @@ -1613,16 +1607,11 @@ sub get_prev_curr_next { } } # - &Apache::lonnet::logthis('size of @Resource = '.scalar(@Resource)); # # Get the index of the current situation my $curr_idx; for ($curr_idx=0;$curr_idx<$#Resource;$curr_idx++) { my $curr_item = $Resource[$curr_idx]; - &Apache::lonnet::logthis('-----------------------------------'); - while(my($k,$v) = each(%$curr_item)) { - &Apache::lonnet::logthis($k.' = '.$v); - } last if ($curr_item->{'symb'} eq $target->{'symb'} && $curr_item->{'part'} eq $target->{'part'} && $curr_item->{'respid'} eq $target->{'respid'} && @@ -1634,7 +1623,6 @@ sub get_prev_curr_next { $curr_item->{'respid'} ne $target->{'respid'} || $curr_item->{'resptype'} ne $target->{'resptype'}){ # bogus symb - return nothing - &Apache::lonnet::logthis('bailing out'); return (undef,undef,undef); } # @@ -1667,12 +1655,7 @@ sub make_target_id { sub get_target_from_id { my ($id) = @_; - &Apache::lonnet::logthis('id = '.$id); my ($symb,$part,$respid,$resptype) = split(':',$id); - &Apache::lonnet::logthis('get_target_from_id:symb='.$symb); - &Apache::lonnet::logthis('get_target_from_id:symb='.$part); - &Apache::lonnet::logthis('get_target_from_id:symb='.$respid); - &Apache::lonnet::logthis('get_target_from_id:symb='.$resptype); return ({ symb =>&Apache::lonnet::unescape($symb), part =>&Apache::lonnet::unescape($part), respid =>&Apache::lonnet::unescape($respid),