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

Taigi quiz: make choices the same length #92

Merged
merged 4 commits into from
Jul 31, 2024
Merged

Taigi quiz: make choices the same length #92

merged 4 commits into from
Jul 31, 2024

Conversation

chanomkaimuk
Copy link
Contributor

Problem

You can generally guess the Taiwanese by comparing the number of characters in Hoabun and Taiwanese. Note that not all Hoabun have the same length as Taiwanese but it's common enough to make guessing trivial.

Solution

A num_words is added to the Taiwanese dataframe on startup, which is used to filter rows.

Choices are now only same length to make guessing based on Hoabun (Mandarin) harder.
This will sometimes lead to, in exceptionally rare cases, having only one choice (which is the correct one), but we could leave it like that.

Other stuff

Added shuffling since I apparently forgot

@chanomkaimuk chanomkaimuk merged commit fbee0dc into main Jul 31, 2024
1 check passed
@chanomkaimuk chanomkaimuk deleted the taigi-quiz branch July 31, 2024 23:10
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

Successfully merging this pull request may close these issues.

2 participants