Up to [LON-CAPA] / loncom / homework
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: GCI_1
There are problems coded as formula resonse WITHOUT sampling requiring the student to enter a set (such as {4,2,b,z}). As of version 1.142 sets as student's input would return BAD_FORMULA, because they contain commas. With this version BAD_FORMULA will only be returned if the response contains a , but not a set. These set problems are inpossible to code using mathresponse as it splits the response at commas. Hence RESPONSE[1]='{4' for the above set which is not a legel maxima expression. These set problems could be coded by customresponse in combination mathresponse. customresponse would be used to remove the curly brackets. This way of coding, however, is very ackward as compared to formula response.