Ambiguous validation / TEST FAILED

Ambiguous validation / TEST FAILED

by Bhardwaj Vivek Kushal -
Number of replies: 0

Hello everyone,

A basic to intermediate Moodle user here. I need some help with a Stack question.

So, the answer to my moodle quiz is (tanh(sqrt(g*H/2)*t/L)). This can be written in several forms

But if a student alters the answer a bit, i.e. takes the L inside the sqrt() and writes it as L^2, (tanh(sqrt(g*H/(2*L^2))*t)) Moodle does not consider it equivalent to the answer provided. I have tried using AlgEquiv, SubstEquiv, and SysEquiv as my answer test but to no avail.

To circumvent this problem I decided to add a second node with the other variant of the answer.

This is where the problem starts, Moodle checks for equivalence between the Tans and Sans at Node 1 and gives out a result but when the answer is considered not equivalent or "false" it moves on to Node 2, and this where I always get a "TEST_FAILED" and it does not check for equivalence. Could someone please help me solve this problem or guide me to any other workaround to this problem? Thank you.

TEST_FAILED

Average of ratings: -