Coverage report for the top 1000 concepts per language #73

Closed
opened 2026-09-26 13:58:59 +00:00 by belvedere · 1 comment
Collaborator

Objective: Know whether "the first 1000 words" is actually achievable for a given language
before promising it in the UI.

Files:

  • Create: lib/mix/tasks/f1000.coverage.ex
  • Create: lib/first_thousand_words_web/live/language_coverage_live.ex (admin view)

Steps:

  1. Per language: count words imported, count words with ≥1 concept link, count concepts with
    ≥1 word in both languages of a pair, and list the worst-covered concepts.
  2. Print a table from a mix task.
  3. Surface the same numbers on an admin page.

Verify:

mix f1000.coverage
# language | words | linked | paired | worst gaps

Notes: this is the gate for enabled? on a language. Do not enable a pair with terrible
coverage; the practice UI will feel broken.

**Objective:** Know whether "the first 1000 words" is actually achievable for a given language before promising it in the UI. **Files:** - Create: `lib/mix/tasks/f1000.coverage.ex` - Create: `lib/first_thousand_words_web/live/language_coverage_live.ex` (admin view) **Steps:** 1. Per language: count words imported, count words with ≥1 concept link, count concepts with ≥1 word in *both* languages of a pair, and list the worst-covered concepts. 2. Print a table from a mix task. 3. Surface the same numbers on an admin page. **Verify:** ``` mix f1000.coverage # language | words | linked | paired | worst gaps ``` **Notes:** this is the gate for `enabled?` on a language. Do not enable a pair with terrible coverage; the practice UI will feel broken.
Author
Collaborator

Duplicate of #21 — created by a re-run whose pagination helper only saw the first page of issues. Closing to keep the backlog clean. Repo owner can delete this outright.

Duplicate of #21 — created by a re-run whose pagination helper only saw the first page of issues. Closing to keep the backlog clean. Repo owner can delete this outright.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nickkeers/first-thousand-words#73
No description provided.