[LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm doc/homework datastorage
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 24 Apr 2003 15:49:46 -0000
albertel Thu Apr 24 11:49:46 2003 EDT
Modified files:
/doc/homework datastorage
/loncom/homework optionresponse.pm
Log:
- added number of foils to the data stored by <optionresponse> in scantron mode
Index: doc/homework/datastorage
diff -u doc/homework/datastorage:1.18 doc/homework/datastorage:1.19
--- doc/homework/datastorage:1.18 Mon Apr 21 17:02:06 2003
+++ doc/homework/datastorage Thu Apr 24 11:49:46 2003
@@ -110,3 +110,8 @@
resource.partid.bonustries (optional) (not yet supported)
# if set, added to the maxtries parameter for student
# total number of tries overall
+
+<optionresponse> specific
+resource.partid.responseid.partid.numfoils
+ # if graded in scantron mode this is set to number
+ # of foils a student saw
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.75 loncom/homework/optionresponse.pm:1.76
--- loncom/homework/optionresponse.pm:1.75 Mon Apr 21 18:09:47 2003
+++ loncom/homework/optionresponse.pm Thu Apr 24 11:49:46 2003
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.75 2003/04/21 22:09:47 albertel Exp $
+# $Id: optionresponse.pm,v 1.76 2003/04/24 15:49:46 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -239,6 +239,8 @@
$Apache::lonhomework::results{"resource.$part.$id.awarddetail"}=$ad;
$Apache::lonhomework::results{"resource.$part.$id.awarded"}=
$right/(scalar(@whichopt));
+ $Apache::lonhomework::results{"resource.$part.$id.numfoils"}=
+ scalar(@whichopt);
}
}
}