-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document challenge types and when they are generated
* doc: Document challenge types and when they are generated * doc: Fix screenshot paths * doc: Make summary of challenge type a list * Add img alt text * docs: Respond to review comments
- Loading branch information
Showing
8 changed files
with
125 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# LibreLingo Documentation on Challenge | ||
|
||
As they study using LibreLingo, users respond to a series of tasks or questions called **Challenge**s. | ||
|
||
Challenges are not configured directly, but [automatically generated from Skill configuration](skill.md#how-skills-are-taught-to-the-user). | ||
|
||
--- | ||
|
||
**Confused?** | ||
[Ask people](https://github.com/kantord/LibreLingo/discussions) on GitHub Discussions. | ||
|
||
--- | ||
|
||
**Table of Contents:** | ||
- [Challenge order](#challenge-order) | ||
- [Cards challenge](#cards-challenge) | ||
- [Short input challenge](#short-input-challenge) | ||
- [Options challenge](#options-challenge) | ||
- [Chips challenge](#chips-challenge) | ||
- [Listening challenge](#listening-challenge) | ||
|
||
## Challenge order | ||
|
||
Within a skill, the order of words and phrases is random, but certain challenge types always come before other types. This is denoted by the *Priority* values listed under each challenge type. First priority challenges come before second priority challenges, which come before third priority challenges. | ||
|
||
## Cards challenge | ||
|
||
![Text asks the user: which of these is "river"?. Below this heading are three cards. Each card contains a Spanish word and corresponding image. In the center the correct choice (río) is selected.](/docs/screenshots/cards-challenge.png) | ||
|
||
- *Generated from:* `New words` only | ||
- *Task:* translation, multiple-choice | ||
- *Direction:* source -> target only | ||
- *Properties used:* `Word`, `Translation`, `Images` -- both of the asked word and of two or three other words in the same skill | ||
- *Mini-dictionary available:* No | ||
- *Priority*: First | ||
|
||
In this challenge type, the user is presented with a word in their source language, and three (four on mobile) cards to choose from. Each card contains a target language word and a matching image, the latter of which functions as a big hint since the user may have never seen this target language word before. | ||
|
||
Note that for each card, a random image is selected from the word's `Images` array. | ||
|
||
## Short input challenge | ||
|
||
![Text asks the user to type the word "river" in Spanish. Below this heading is a text box, and underneath that a set of buttons to insert Spanish-specific characters. At right is an image of a river.](/docs/screenshots/short-input-challenge.png) | ||
|
||
- *Generated from:* `New words` only | ||
- *Task:* translation, free-form | ||
- *Direction:* source -> target only | ||
- *Properties used:* `Word`, `Translation`, `Images` | ||
- *Mini-dictionary available:* Yes | ||
- *Priority*: Second | ||
|
||
In this challenge type, the user is presented with a word in their source language, and a text box in which to input the translation into the target language. There is also a random image from the `Images` array on the right, but since this challenge asks for the target language, the image does not give the user any additional information. If the user does need a hint, the mini-dictionary is available for this challenge. | ||
|
||
## Options challenge | ||
|
||
![Text asks the user which one of the options is \"Let's go to the beach!\". Below this question are three Spanish sentences with radio buttons to their left.](/docs/screenshots/options-challenge.png) | ||
|
||
- *Generated from:* `Phrases` only | ||
- *Task:* translation, multiple-choice | ||
- *Direction:* source -> target only | ||
- *Properties used:* `Phrase`, `Translation` both of the asked phrase and two other phrases in the same skill | ||
- *Mini-dictionary available:* No | ||
- *Priority*: First | ||
|
||
In this challenge type, the user is presented with a phrase in their source language, and three options from which they must choose the correct translation into the target language. There are no hints available. | ||
|
||
## Chips challenge | ||
|
||
![Text instructs the user to translate the phrase "Let's go to the beach!". At the bottom of the image, there is a group of draggable Spanish words.](/docs/screenshots/chips-challenge.png) | ||
|
||
- *Generated from:* `Phrases` only | ||
- *Task:* translation, set of words provided | ||
- *Direction:* Both directions: source -> target, target -> source | ||
- *Properties used:* | ||
- If source -> target: `Phrase`, `Translation`, `Alternative translations`; `Translation` and `Alternative translations` of other phrases anywhere in the course | ||
- If target -> source: `Translation`, `Phrase`, `Alternative versions`; `Phrase` and `Alternative versions` of other phrases anywhere in the course | ||
- *Mini-dictionary available:* Yes | ||
- *Priority*: Third | ||
|
||
In this challenge type, the user is presented with a phrase in one language and a set of words in the other language. This set will always include all words of the `Translation` field. The user's task is to use this words as "building blocks" to create *any* acceptable translation for the phrase they've been presented with. | ||
|
||
The mini-dictionary is available to give hints about individual words but there are no hints about grammar or sentence structure. | ||
|
||
The chips will never include exact duplicates of each other. | ||
|
||
## Listening challenge | ||
|
||
![Text instructs the user: "Type what you hear". Below this heading is a text box, and underneath that a set of buttons to insert Spanish-specific characters.](/docs/screenshots/listening-challenge.png) | ||
|
||
- *Generated from:* `New words` and `Phrases` | ||
- *Task:* transcription | ||
- *Direction:* N/A, target language only | ||
- *Properties used:* `Word` or `Phrase` | ||
- *Mini-dictionary available:* No | ||
- *Priority*: Second | ||
|
||
In this challenge type, the user is played audio of a word or phrase in the target language, and is presented with a text box to transcribe the audio (still in the target language). The user can re-listen to the audio, if necessary. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6ee12d5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: