Closed Bug 1861698 Opened 2 years ago Closed 6 months ago

Add Telemetry for Language Identification in Translations

Categories

(Firefox :: Translations, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
146 Branch
Tracking Status
firefox146 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

In Bug 1859081 we are going to change the way we do language detection in an effort to reduce false positives.

Following this change, we should instrument the Full-Page Translations functionality with telemetry to measure a few aspects about our translations offering process.

We want to measure the following qualities:

  1. Whether visited pages have specified language tag vs. no language tag.
  2. Among pages that have a specified language tag which is a supported language, how often did our language detection process agree with the language tag vs disagree?
  3. How often is our language detection confident about is predictions vs. not confident?

We should ensure that we have this data instrumented for our current CLD2 implementation before we switch to fastText, CLD3, or potentially a different language identification mechanism, so that we can make informed inferences about any improvements or regressions.

We might not even need Telemetry, we could use CommonCrawl. There could already some analysis of this done by somebody else.

This patch adds a new Translations telemetry event
for the language identification, such that we can
get a sense of the average performance of our language
detection code in aggregate.

Assignee: nobody → enordin
Status: NEW → ASSIGNED
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/36b0ce8f9d58 https://hg.mozilla.org/integration/autoland/rev/6993600fb880 Revert "Bug 1861698, Bug 1995634 - Add translations langId telemetry r=translations-reviewers,gregtatum" for causing tr*ns failures on browser_translations_full_page_telemetry_auto_translate.js

Backed out for causing tr8ns failures on browser_translations_full_page_telemetry_auto_translate.js

Backout link

Push with failures

Failure log

Flags: needinfo?(enordin)
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Flags: needinfo?(enordin)
Regressions: 1998089
QA Whiteboard: [qa-triage-done-c147/b146]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: