In the example, the expression in the placeholder is evaluated 5 times instead of 1 time (when evaluated on the canvas).
This is annoying for lengthy regression tests (I just set up one for the Maxima plugin), as their duration is 5 times the expected amount of time.
Probably this is due to accessing the possible parts of the format vector individually instead of evaluating the expression once. This is just a guess. But it can explain the inconsitent format behaviour:
-
First evaluation (a=1) provides the text, wich is "pass"
-
Subsequent evaluations (a>1) result in fail and provide the background color "red"
This is independent of sym/num evaluation settings.