Behind the Blackboard! Semicolon Used in Match a Pattern Answer for Fill in the Blank Question is Replaced by a Comma When Evaluated - Behind the Blackboard Skip Navigation
Download PDF  Icon Download PDF    Print article

Semicolon Used in Match a Pattern Answer for Fill in the Blank Question is Replaced by a Comma When Evaluated

Date Published: Nov 14,2024


CategoryPlanned First Fix Release:Future Reference; Product:Blackboard Learn SaaS; Version:3900.102.0,3900.104.0,3900.106.0
Article No.: 000089994
Product:
Learn SaaS
Release:
SaaS
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:
  1. Log into Blackboard Learn Ultra Experience as an administrator
  2. Create an Ultra course
  3. 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]

  1. 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)
  2. Allow partial credit and Save
  3. 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]

  4. Cancel editing and make the test visible to students
  5. Enter Student preview, open the test and fill each blank with the correct answer that is after -
  6. 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.






Target Release:

Future Reference







The information contained in the Knowledge Base was written and/or verified by Blackboard Support. It is approved for client use. Nothing in the Knowledge Base shall be deemed to modify your license in any way to any Blackboard product. If you have comments, questions, or concerns, please send an email to kb@blackboard.com. © 2024 Blackboard Inc. All rights reserved