Itay,

I have uploaded a perl module -- countresptypes.pm -- to a jce directory in my LON-CAPA portfolio in the msu domain. The file will be available until Sept. 1 00:00 EDT.

The URL you can use to download it is:
https://s10.lite.msu.edu/uploaded/msu/raeburn/portfolio/jce/countresptypes.pm

If you download this file and ask your system administrator to place it on your LON-CAPA server in /home/httpd/lib/perl/Apache with permissions:

-rw------- 1 www www /home/httpd/lib/perl/Apache/countresptypes.pm

and also add the following text:

<Location /adm/countresptypes>
AuthType LONCAPA
Require valid-user
PerlAuthzHandler       Apache::lonacc
SetHandler perl-script
PerlHandler Apache::countresptypes
ErrorDocument     403 /adm/login
ErrorDocument     406 /adm/roles
ErrorDocument     500 /adm/errorhandler
</Location>

to loncapa_apache_localjce.conf
in /etc/httpd/conf
with permissions/ownership on the file of: -rw-r--r-- root root

then do:
service httpd reload

a Course Coordinator will able to use:

/adm/countresptypes

to display totals of response types in a course.

Later today I will upload a modified version of countresptypes.pm which will display response type counts separately for each folder in the course.


Stuart Raeburn
LON-CAPA Academic Consortium


Quoting Itay <it...@nospammail.net>:

Hi

For each course that uses lon-capa in our college, we would like to know
how many problems are numerical, multiple choice, etc. What would be the
best way to collect the information?
At present the only method I can think of is to analyze the 'Award
details' column in the grand table that stores the students responses.
If this is the only way: I would appreciate a pointer to the list of all
possible system responses such as 'APPROX_ANS' and friends.If there is a better way: please show me the way.

Thanks,
Itay






_______________________________________________
LON-CAPA-users mailing list
LON-CAPA-users@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Reply via email to