Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case-sensitive support for qti-map-entry #4

Closed
Julian-91 opened this issue Jan 27, 2025 · 1 comment
Closed

Case-sensitive support for qti-map-entry #4

Julian-91 opened this issue Jan 27, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Julian-91
Copy link

Julian-91 commented Jan 27, 2025

Steps to Reproduce:
1. Play a text-entry-interaction item in the player with case-sensitive="false" and a correct answer that contains an uppercase letter.
2. Enter a correct answer without uppercase letters.
3. Have the player evaluate the response.
4. The player incorrectly marks the response as incorrect.

<qti-assessment-item>
  <qti-response-declaration identifier="RESPONSE" cardinality="single" base-type="string">
    <qti-correct-response>
      <qti-value>CorrectAnswer</qti-value>
    </qti-correct-response>
    <qti-mapping default-value="0" case-sensitive="false">
      <qti-map-entry map-key="CorrectAnswer" mapped-value="1"/>
    </qti-mapping>
  </qti-response-declaration>

  <qti-text-entry-interaction response-identifier="RESPONSE"/>
</qti-assessment-item>

Expected Behavior:
The player’s evaluation should accept correctanswer (case-insensitive match).

Actual Behavior:
The player’s evaluation incorrectly marks correctanswer as incorrect.

@Marcelh1983
Copy link
Member

Case sensitivity for qti-string-match was already implemented, but there was no support for case sensitivity in qti-map-entry. This functionality has now been added in version 7.0.10.

@Marcelh1983 Marcelh1983 changed the title Case-sensitive wordt genegeerd bij text-entry-interaction Case-sensitive support for qti-map-entry Jan 28, 2025
@Marcelh1983 Marcelh1983 self-assigned this Jan 28, 2025
@Marcelh1983 Marcelh1983 added the enhancement New feature or request label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants