Normally test cases are constructed taking into account values of the question variables, so test-case construction can reflect any random variants. If you start the expected value of an input with the tag `RAW:` (case sensitive) then the remainder of your input will be used as a raw string. E.g. if your test case is `RAW:2 x` then your input test case will be `2 x`. Note, this feature does _not_ evaluate the expression further, and values of question variables will not be used as part of constructing the input for this test case. However, the potential response tree _will_ have access to the question variables later. For example, if `n:42` in the question variables then typically student's who input `n` will get a validation error. `RAW:n` allows you to create a test case, which will be displayed as `n` but later the PRTs will pick up the question variables. This feature is intended to test _invalid_ input rather than evaluation of test cases constructed from the random variables. We can't have it both ways!
0 commit comments