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

Add additional string match mode to Short Answer #78

Closed
clpetersonucf opened this issue Feb 5, 2024 · 1 comment
Closed

Add additional string match mode to Short Answer #78

clpetersonucf opened this issue Feb 5, 2024 · 1 comment

Comments

@clpetersonucf
Copy link
Member

Requested by an instructor: Short Answer nodes could include an even more "fuzzy" detection mode that will match substrings, if the user response contains any of the responses for each answer set. For example, if an answer set contains black and a user enters I love black cats, the corresponding answer will be selected.

Something to consider: there's no checks of this type currently, but we should also consider what happens if there are duplicate matches in different answer sets. This is especially likely to occur with substring matching. Do we check (and prevent) duplicates? Do we simply indicate that the first match is selected?

The UI could be tweaked slightly to better indicate that there are three tiers of fuzziness to short answer response matching, from least to most strict:

  • Substring matching ("Response must contain an answer")
  • Fuzzy string matching ("Response must match answer, but symbols and whitespace are ignored")
  • Strict string matching ("Response must exactly match an answer")
@clpetersonucf
Copy link
Member Author

Implemented as part of #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant