Documentation
WIRIS Comparison with student answer
Comparison for student answer for General and Quantity input
Field | Description | WIRIS documentation |
---|---|---|
Tolerance | The Tolerance number is used to compare the student answer and the Correct answer.
The tolerance options only apply to decimal numbers! For instance, if the question's answer is 10, we may set 10.0 as the correct answer so that the validation system takes into account the defined tolerance. |
|
Literally equal | This removes all mathematical interpretations from the comparison. The student's answer is only correct if it matches the correct answer exactly. For example, if the correct answer is 4, but the student writes 4.0, it will not be counted. This criterion is rarely recommended. | |
Mathematically equal | This is the default comparison. It will detect if what the student has written is mathematically equal to the correct answer. For example, we don't need to worry if the student writes or . | More details |
Equivalent equations | This comparison is very similar to the mathematically equal option. Still, it is for the particular case where the answer is an equation (e.g. the student could write , or , or any equivalent form). | More details |
Any answer | Anything that the student answers will be counted as correct. This is useful in some cases. | More details |
Compare as sets | Order and repetition don't matter in lists: When checked, order and repetition are ignored from lists. So, if the correct answer is the set {2,-2} (for example of task to find roots of ), then {2,-2,2,2} (for example) would be accepted. |
Comparison for student answer for Text input
Property | Description | Correct examples | Wrong examples | WIRIS documentation |
---|---|---|---|---|
Literally equal | Checks whether the response is literally equal to correct answer | when correct answer is | when correct answer is | |
Any answer | Dummy assertion that always returns true, even if the answer is not sintactically valid. | when correct answer is | More details | |
Match case | For textual inpunts, whether to take into account character case or not. If false, the comparison will be case insensitive. | "answer" when correct answer is "answer" | "answer" when correct answer is "Answer" | More details |
Match spaces (Deprecated) |