@instructure/quiz-interactions
Version:
A React UI component Library for quiz interaction types.
48 lines (38 loc) • 520 B
Markdown
content_id: "121077947"
title: TextCloseEnough
# TextCloseEnough
## scoring_data:
```js
{
"value": "President",
"edit_distance": 1
}
```
## Correct Case
### user_response:
```js
{
"value": "Prezident"
}
```
### scored_data:
```js
{
"result_score": 1, "correct_answer": "President", "user_response": "Prezident"
}
```
## Incorrect Case
### user_response:
```js
{
"value": "Obama"
}
```
### scored_data:
```js
{
"result_score": 0, "correct_answer": "President", "user_response": "Obama"
}
```