STACK breaks when question complexity increases

STACK breaks when question complexity increases

av Marco Cigna -
Antall svar: 3
Hi everyone,

When using the STACK plugin, the plugin breaks giving the following error but I'm unable to find out why? 
This error occurs when I added the second line as seen below:


I then clicked "verify the question text and update the form" and then used the following settings:


Then proceed clicked "Save changes and continue editing".

The following error is then produced:


Any help is appreciated!

Gjennomsnittlig vurdering: -
Som svar til Marco Cigna

Re: STACK breaks when question complexity increases

av Tim Hunt -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av Plugin developers
I am going to move this thread to the Mathematics tools forum, since discussion of STACK mostly takes place there.
Som svar til Marco Cigna

Re: STACK breaks when question complexity increases

av Christopher Sangwin -
Bilde av Particularly helpful Moodlers Bilde av Plugin developers
I'm fairly sure (without checking) that this is because the input name "second" is also a function name in Maxima. When you try to evaluate the PRT, second is being used as a function without its arguments and this is breaking things.

That's a totally un-helpful error message. I'll try to hunt this down and improve the error trapping here.
Chris
Som svar til Christopher Sangwin

Re: STACK breaks when question complexity increases

av Marco Cigna -
Hi Christopher,

Thanks for the reply. This happens with almost any variable for example I have used "test" "cable" and a bunch other variables and it still comes up with an error. It doesn't like me adding more than 1 stack subquestion per question. Not sure how this occured since we had stack working perfectly before having multiple different sub-questions per question.