Skip to content

feat(WO81): valid-reading-rate (VRR) metric - #340

Merged
ronaldtse merged 2 commits into
mainfrom
feat/vrr
Oct 22, 2026
Merged

ronaldtse merged 2 commits into
mainfrom
feat/vrr

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Implements the ambiguity-aware metric from WO56's vocalization-as-composition rule: a prediction is valid when it matches ANY dictionary-licensed reading of its skeleton.

  • build_lexicon: skeleton → licensed readings from pinned vocalized corpora (bare forms excluded — no haraka, not a reading).
  • score_predictions_vrr: row-level scoring with the convention declared in the result (C2).
  • score_text_vrr: word-level paragraph scoring for SadeedDiac-style rows.

TDD: 6 tests, skeletons/lexicon-building/word-level semantics. First published number lands via the lexicon-build job (tashkeela, pinned) against the frozen frontier-predictions — reported alongside DER, never instead.

Ronald Tse added 2 commits October 22, 2026 16:11
VRR scores a prediction valid iff it matches ANY dictionary-licensed
reading of its skeleton (single-gold DER undercounts legitimate
ambiguity — the WO56 structural rule). build_lexicon groups vocalized
forms by skeleton (bare forms excluded — a form with no haraka is not
a reading); score_text_vrr does word-level paragraph scoring for
SadeedDiac-style rows. Convention declared in the result, per C2.
@ronaldtse
ronaldtse merged commit 420daef into main Oct 22, 2026
@ronaldtse
ronaldtse deleted the feat/vrr branch October 22, 2026 08:12
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.

1 participant