vocabulary/docs/decisions.md

806 B

Decisions

2026-12-02

  • Wrong options are random from all words, whatever the level. They always differ from the correct answer and from each other, because some words share a Turkish translation.
  • Options are stored with the question, so a page refresh shows the same options. They are rebuilt only if the Turkish translation of an unanswered word was edited.
  • Quizzes without a type are typing quizzes, so old data needs no migration.
  • The first answer is final, and turkish is hidden until the question is answered.
  • Multiple-choice is English -> Turkish only.
  • No MySQL container: Docker uses the existing server through environment variables.
  • Tests: JUnit + Mockito for services (no database), Node's built-in test runner for web helpers (no new dependency).