[LON-CAPA-users] Unexpected behavior of an optionresponse problem
Raeburn, Stuart
raeburn at msu.edu
Sun Nov 21 16:53:39 EST 2021
Itay,
I took a look at the source code for chipmunk_velocity.problem, as it's published with source XML open.
If you retain only the first opening foilgroup tag: <foilgroup options="('True','False')"> (i.e., the one after the opening optionresponse tag), and retain only the last closing foilgroup tag:</foilgroup> (i.e., the one before the closing optionresponse tag), but remove the other <foilgroup> </foilgroup> tags (wrapped around each <foil> </foil>, then submissions are graded as expected.
Stuart Raeburn
LON-CAPA Academic Consortium
________________________________________
From: LON-CAPA-users <lon-capa-users-bounces at mail.lon-capa.org> on behalf of Itay via LON-CAPA-users <lon-capa-users at mail.lon-capa.org>
Sent: Sunday, November 21, 2021 2:27 PM
To: Discussion list for LON-CAPA users
Subject: [LON-CAPA-users] Unexpected behavior of an optionresponse problem
Hello Lon-Capa community
I encountered an optionresponse problem in which lon-capa rejects its own answers... :-(
I copied the source code of the following problem to my author space:
/res/ohiou/physicslib/exam/05_1D_Motion/chipmunk_velocity.problem
Then, still in author space, I tested several randomizations, with the same outcome each time: lon-capa has rejected my submission although it fully agreed with the answers provided by lon-capa (at the bottom of the problem's screen). Note, that these answers agreed with my independent conclusions as well.
It is probably something silly that I have missed... but what it is I cannot tell.
Or is it a bug?
Thanks,
Itay
More information about the LON-CAPA-users
mailing list