Ignore Spaces Option in Fill In The Blank Question Type
Description
is depended on by
relates to
Activity
Neal Caidin April 29, 2016 at 8:57 AM
I've opened a new Jira , .

Leonardo Canessa April 29, 2016 at 8:47 AM
This is not expected behavior.
Neal Caidin April 29, 2016 at 8:43 AM
I had similar results to Sam.
I used Roses are {red rust} and Violets are {blue corn} .
Two spaces between red and rust and one space between blue and corn. Checked the Ignore spaces checkbox.
As a student I answered redrust and bluecorn. Samigo marked redrust wrong and bluecorn correct.
Is this expected behavior or should we open a new Jira?
Sam Lee Pan April 29, 2016 at 8:33 AM
I am not sure if I correctly understand this case, but I have tested on:
https://trunk-mysql.nightly.sakaiproject.org/
https://experimental.nightly.sakaiproject.org
The following question & answer : _____ wrote the 1968 paper entitled "Go To Statement Considered Harmful"? {Dijkstra|Edsger Dijkstra|Edsger W Dijkstra|Edsger W. Dijkstra|Edsger Wybe Dijkstra} (double space between Edsger & Wybe for the last option)
If the student responds with "Edsger Wybe Dijkstra" (single spaces) - this answer is marked incorrect, even though the option "Ignore spaces?" is selected. Is there something missing?

This would add in the ability to Ignore Spaces within a Fill in the Blank question type.
For Example: If the correct answer is "2 * sin(x - m)", the following are marked as correct: "2*sin(x-m)", "2*sin(x - m)", etc.
This is accomplished by stripping the spaces within the input and an the answer.
This was ported from 2.9.3 and has been in production at University of Dayton since 2014-10-14.
Note: The component might be wrong.