Certain mathematical expression questions fail correct answers. For example, a simple question asking for $(-6)^n$ fails that answer. See here.
To reproduce:
create a new question, with a new part, "Mathematical Expression".
In correct answer, enter "(-6)^n".
Run the question and enter (-6)^n in the box then submit.
Note that the "Testing" tab gives a few failures in the marking algorithm that might give a hint: either the algorithm is looking for a rhs component that doesn't exist, or for a ruleTree function/component that doesn't exist.
Thanks for reporting this. It turned out there was a bug in the logic for exponentiating a decimal value, which is used when you take an integer to a non-integer power.
Certain mathematical expression questions fail correct answers. For example, a simple question asking for $(-6)^n$ fails that answer. See here.
To reproduce:
Note that the "Testing" tab gives a few failures in the marking algorithm that might give a hint: either the algorithm is looking for a
rhs
component that doesn't exist, or for aruleTree
function/component that doesn't exist.