You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used the bespoke validators quite a lot recently, and I want to say that they are a really nice feature. One thing I noticed though is that when simplification is turned on, or I have simp: true; at the end of the question variables, the student answer that my bespoke validator receives as argument is already simplified. The validation block shows the unsimplified answer, but the bespoke validator receives the simplified answer.
For instance, sin(%pi) gets validated in the block as sin(%pi) but inside the bespoke validator it is 0.
I would normally expect the unsimplified version of the student's answer as bespoke validator argument, unless I use the extra option simp for the input. Is this by design or due to the way bespoke validators are executed?
The text was updated successfully, but these errors were encountered:
Hello,
I have used the bespoke validators quite a lot recently, and I want to say that they are a really nice feature. One thing I noticed though is that when simplification is turned on, or I have
simp: true;
at the end of the question variables, the student answer that my bespoke validator receives as argument is already simplified. The validation block shows the unsimplified answer, but the bespoke validator receives the simplified answer.For instance,
sin(%pi)
gets validated in the block assin(%pi)
but inside the bespoke validator it is0
.I would normally expect the unsimplified version of the student's answer as bespoke validator argument, unless I use the extra option
simp
for the input. Is this by design or due to the way bespoke validators are executed?The text was updated successfully, but these errors were encountered: