That is strange. I just tried it again and both sample tests and the full tests work for me.
Could you try in a different browser that is not logged in?
Tests running fine for me. Are you still getting this error ? May have been something temporarily.
Thank you for the suggestion. As previously said ideally it should test for every possible order but that would make for complicated tests.
The assignment is what it is, if instructions are followed and the derivation rules are followed in the way they are described then you will end up with a solution that passes the tests.
I dont see an issue here with the tests but thank you for the suggestion.
Great! Thank you.
Well it's not really allowed to cheat in any case.
There are random tests in the JS version.
Could you be more specific what you think is lacking in the tests ?
Sorry, it does return the correct result. I must have entered the test wrong.
If you look at the sample tests those are the expected forms.
I would "simplify" (- 0 (sin x)) to (* -1 (sin x)) because usually you dont put unecessary 0 in the result expression.
And (^ (cos x) -2) is the same as (+ 1 (^ (tan x) 2)) which is what the tests expect.
(- 0 (sin x))
(* -1 (sin x))
(^ (cos x) -2)
(+ 1 (^ (tan x) 2))
I will see if I can make it more clear what to simplify and to look at the tests for guidance.
Thank you. There was some merge issue with the description so I had to fork it.