Thank you, Stuart. It worked. Looking back, I was a bit curious that each <foil> was wrapped in a separate <foilgroup>. But I overlooked it because somehow I put foilgroup and conceptgroup in the same mental drawer.
Thanks again. On Sun, 21 Nov 2021, at 23:53, Raeburn, Stuart via LON-CAPA-users wrote: > 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-boun...@mail.lon-capa.org> on > behalf of Itay via LON-CAPA-users <lon-capa-users@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 > > > _______________________________________________ > LON-CAPA-users mailing list > LON-CAPA-users@mail.lon-capa.org > http://mail.lon-capa.org/mailman/listinfo/lon-capa-users _______________________________________________ LON-CAPA-users mailing list LON-CAPA-users@mail.lon-capa.org http://mail.lon-capa.org/mailman/listinfo/lon-capa-users