[LON-CAPA-users] Checking status of a part that has timed out

Ray Batchelor lon-capa-users@mail.lon-capa.org
Tue, 24 May 2011 10:18:32 -0700


--20cf303bfab00b421804a408c7d1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I don't know, but here's a long shot guess:

Have a look at
/res/msu/albertel/test/ext_examples.problem

In there is mentioned
$external::datestatus
which is supposed to return things like CLOSE, CAN_ANSWER, etc.

I haven't tried this but it might work......


On Tue, May 24, 2011 at 9:59 AM, Mills, Douglas G <dmills@illinois.edu>wrot=
e:

> Hey All,
>
> Good seeing those of you who were at the conference last week!  Some of u=
s
> from Illinois were asking about setting up a sequence so that three timed
> quizzes (each of which consists of a single multipart problem) could be
> taken in succession, each succeeding quiz becoming available only once th=
e
> previous one had been attempted. I have this working now (thank you Ray f=
or
> your very valuable guidance!) EXCEPT in the case where a student starts a
> quiz, gets distracted, and never submits a part and it times out.  Starti=
ng
> but never submitting an answer does not show up as a =E2=80=9Ctry=E2=80=
=9D -- using the
> otherwise successful condition:
>
> &EXT('user.resource.resource.0.tries','q2') >0
>
> For a couple of minutes I had hoped that maybe &check_status() might work
> if I looked for a status that was unequal to =E2=80=9Cundef=E2=80=9D; how=
ever, I realized
> that=E2=80=99s not an &EXT function so I=E2=80=99m guessing does not chec=
k beyond the
> present resource. This seems to be confirmed in the email exchange in the
> logs here:
>
> http://mail.lon-capa.org/pipermail/lon-capa-users/2008-May/003139.html
>
> It was suggested there that an equivalent of &check_status be made part o=
f
> the &ext functions, but apparently that maybe has not yet happened.
>
> I think I can come up with a work-around from another direction, but
> thought I might as well ask on the list =E2=80=94 is anyone aware of a wa=
y to check
> that a timed problem has been started even if no submissions on the probl=
em
> have been made?  Thanks!
>
> Doug
>
> Douglas Mills
> Director of Instructional Technologies
> Department of Chemistry
> University of Illinois
> dmills@illinois.edu
> (217) 244-5739
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>



--=20
Raymond J. Batchelor, Ph.D.
Department of Chemistry
Simon Fraser University
8888 University Drive
Burnaby, BC
Canada
V5A 1S6

--20cf303bfab00b421804a408c7d1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I don&#39;t know, but here&#39;s a long shot guess:<br><br>Have a look at <=
br>/res/msu/albertel/test/ext_examples.problem<br><br>In there is mentioned=
 <br>$external::datestatus<br>which is supposed to return things like CLOSE=
, CAN_ANSWER, etc.<br>
<br>I haven&#39;t tried this but it might work......<br><br><br><div class=
=3D"gmail_quote">On Tue, May 24, 2011 at 9:59 AM, Mills, Douglas G <span di=
r=3D"ltr">&lt;<a href=3D"mailto:dmills@illinois.edu">dmills@illinois.edu</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Hey All,<br>
<br>
Good seeing those of you who were at the conference last week! =C2=A0Some o=
f us from Illinois were asking about setting up a sequence so that three ti=
med quizzes (each of which consists of a single multipart problem) could be=
 taken in succession, each succeeding quiz becoming available only once the=
 previous one had been attempted. I have this working now (thank you Ray fo=
r your very valuable guidance!) EXCEPT in the case where a student starts a=
 quiz, gets distracted, and never submits a part and it times out. =C2=A0St=
arting but never submitting an answer does not show up as a =E2=80=9Ctry=E2=
=80=9D -- using the otherwise successful condition:<br>

<br>
&amp;EXT(&#39;user.resource.resource.0.tries&#39;,&#39;q2&#39;) &gt;0<br>
<br>
For a couple of minutes I had hoped that maybe &amp;check_status() might wo=
rk if I looked for a status that was unequal to =E2=80=9Cundef=E2=80=9D; ho=
wever, I realized that=E2=80=99s not an &amp;EXT function so I=E2=80=99m gu=
essing does not check beyond the present resource. This seems to be confirm=
ed in the email exchange in the logs here:<br>

<br>
<a href=3D"http://mail.lon-capa.org/pipermail/lon-capa-users/2008-May/00313=
9.html" target=3D"_blank">http://mail.lon-capa.org/pipermail/lon-capa-users=
/2008-May/003139.html</a><br>
<br>
It was suggested there that an equivalent of &amp;check_status be made part=
 of the &amp;ext functions, but apparently that maybe has not yet happened.=
<br>
<br>
I think I can come up with a work-around from another direction, but though=
t I might as well ask on the list =E2=80=94 is anyone aware of a way to che=
ck that a timed problem has been started even if no submissions on the prob=
lem have been made? =C2=A0Thanks!<br>

<br>
Doug<br>
<br>
Douglas Mills<br>
Director of Instructional Technologies<br>
Department of Chemistry<br>
University of Illinois<br>
<a href=3D"mailto:dmills@illinois.edu">dmills@illinois.edu</a><br>
<a href=3D"tel:%28217%29%20244-5739" value=3D"+12172445739">(217) 244-5739<=
/a><br>
<br>
_______________________________________________<br>
LON-CAPA-users mailing list<br>
<a href=3D"mailto:LON-CAPA-users@mail.lon-capa.org">LON-CAPA-users@mail.lon=
-capa.org</a><br>
<a href=3D"http://mail.lon-capa.org/mailman/listinfo/lon-capa-users" target=
=3D"_blank">http://mail.lon-capa.org/mailman/listinfo/lon-capa-users</a><br=
>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Raymond J. Batchelor, P=
h.D.<br>Department of Chemistry<br>Simon Fraser University<br>8888 Universi=
ty Drive<br>Burnaby, BC<br>Canada<br>V5A 1S6<br><br>

--20cf303bfab00b421804a408c7d1--