Skip to content

Consolidate per-language data files for daily word selection #125

@Hugo0

Description

@Hugo0

Problem

There are currently 3 overlapping mechanisms controlling daily word selection:

  • _daily_words.txt — curated subset of words used as daily words
  • _blocklist.txt — exclusion list to prevent certain words from appearing
  • _curated_schedule.txt — day-by-day override for specific dates

Plus the fallback to _5words.txt (full word list) when no curated daily list exists.

Proposal

Unify these into a single curated daily word list per language. This would:

  • Simplify the word selection logic in webapp/app.py
  • Make it easier to audit what words will appear
  • Remove edge cases where blocklist and curated schedule interact unexpectedly

Current code

See Language._get_daily_word() in webapp/app.py for the current selection logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions