numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
197 stars 118 forks source link

Safe strings with braces trigger an LTI error #1044

Closed chrismgraham closed 9 months ago

chrismgraham commented 9 months ago

Variables with braces (safe('something with {} braces')) are OK in standalone, but trigger a type error in the LTI tool when an attempt is launched.

Example question at https://numbas.mathcentre.ac.uk/question/146411/braces-in-a-variable/preview/

christianp commented 9 months ago

This is an error in Numbas.jme.isDeterministic, so should be fixed in the runtime.