[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /homework grades.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 24 Sep 2004 22:04:35 -0000


albertel		Fri Sep 24 18:04:35 2004 EDT

  Modified files:              (Branch: version_1_2_X)
    /loncom/homework	grades.pm 
  Log:
   - backport 1.215
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.204.2.5 loncom/homework/grades.pm:1.204.2.6
--- loncom/homework/grades.pm:1.204.2.5	Fri Sep 24 17:09:52 2004
+++ loncom/homework/grades.pm	Fri Sep 24 18:04:35 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.204.2.5 2004/09/24 21:09:52 albertel Exp $
+# $Id: grades.pm,v 1.204.2.6 2004/09/24 22:04:35 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3846,7 +3846,8 @@
 
 sub scantron_filter {
     my ($curres)=@_;
-    if (ref($curres) && $curres->is_problem() && !$curres->randomout) {
+                        # randomout is dysfunctional at best for this purpose
+    if (ref($curres) && $curres->is_problem()) { #&& !$curres->randomout) {
 	return 1;
     }
     return 0;