[LON-CAPA-users] Number of sig figs in a student submission

Guy Albertelli II lon-capa-users@mail.lon-capa.org
Tue, 4 Sep 2007 12:59:41 -0400


Hi Hon-Kie,

> Does the EXT function supports a call to return the number of sig 
> figs for a student submission?

Kinda.

If the student responds with an incorrect number of sig figs, 
(you can tell because 
&EXT('user.resource.resource.<partid>.<responseid>.awarddetail')
is set to 'SIG_FAIL'

Then 
&EXT('user.resource.resource.<partid>.<responseid>.awardmsg')

Will be set to
<user>:<min>:<max>
When <user> is the number of sigfigs counted in the .submission
and <min> and <max> are the respective minimum and maximum allowed sig
figs.


> Also, for unordered answers, how does one call the function since
> there are more than one submission but only one id?

Currently only one award message is saved in the case of a multianswer
numerical problem (either ordered or unordered), and which element in
the student's answer that caused the particular award isn't recorded.


-- 
guy@albertelli.com   0-7-0-9-27,137