chore: shuffle tokens before choosing answers

This commit is contained in:
Ava Shilling 2026-02-11 15:50:50 -05:00
parent 1deb3c9ad7
commit 526681255e

View file

@ -16,7 +16,8 @@ class VocabAudioActivityGenerator {
wordsInMessage.add(t.text.content.toLowerCase());
}
// Extract up to 3 additional words as answers
// Extract up to 3 additional words as answers, from shuffled message
audioExample.tokens.shuffle();
final otherWords = audioExample.tokens
.where(
(t) =>