Service Pack(s):
3900.102.0, 3900.104.0, 3900.106.0
Description:
Semicolon used in the middle of a 'Match a Pattern' answer for a Fill in the Blank Question is replaced by a comma when evaluated in test.
Steps to Repeat:
- Log into Blackboard Learn Ultra Experience as an administrator
- Create an Ultra course
- As an instructor create a test and add a Fill in the Blank question that contains:
pattern
animal:\s*dog;\s*cat - animal: dog; cat
[Blank 1]
pattern
family:\s*parents,\s*children; - family: parents, children;
[Blank 2]
_________________________
exact match
car;; skoda; - car; OR skoda;
[Blank 3]
pattern
car;;\s*skoda - car; skoda
[Blank 4]
- Click on Next and replace the blank parts by the first values on second rows (ie. animal:\s*dog;\s*cat)
Make sure Blank 1, 2 and 4 are Match Pattern.
Test the patterns with the value after - (animal: dog; cat) - Allow partial credit and Save
-
Select to edit the question and observe that it changed to:
pattern
animal:\s*dog;\s*cat - animal: dog; cat
[animal:\s*dog;\s*cat]
pattern
family:\s*parents,\s*children; - family: parents, children;
[family:\s*parents,\s*children;;]
_________________________
exact match
car;; skoda; - - car; OR skoda;
[car;; skoda;]
pattern
car;;\s*skoda - car; skoda
[car;;\s*skoda]
- Cancel editing and make the test visible to students
- Enter Student preview, open the test and fill each blank with the correct answer that is after -
- Exit the Student Preview and save changes
Observed Behavior:
The scoring is 0.5 points, where answers Blank 1 and Blank 4 are labeled as incorrect.
Partial Credit
Acceptable answers for BLANK-1 must match this pattern: animal:\s*dog,\s*cat
Acceptable answers for BLANK-2 must match this pattern: family:\s*parents,\s*children;
Acceptable answers for BLANK-3 are car; and skoda;
Responses must match exactly
Acceptable answers for BLANK-4 must match this pattern: car;,\s*skoda
The semicolon is replaced by comma in Blank 1 and Blank 4
Exact match in Blank 3 interprets double semicolon as semicolon in string and or operator; Match Pattern doesn’t.
Only working Match Pattern is where the semicolon is at the end of the pattern like in Blank 2.
Expected Behavior:
Semicolon should not be replaced by comma in any circumstances.
Results of pattern test should be relevant and evaluation of answer should provide the same results.