Closed
Bug 977770
Opened 11 years ago
Closed 10 years ago
Count the times users manually adjust the offered translation pair
Categories
(Firefox :: Translation, defect)
Firefox
Translation
Tracking
()
People
(Reporter: MarcoM, Assigned: asaf)
References
Details
(Whiteboard: [translation])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
Felipe
:
review+
Gavin
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Breaking down Story into multiple smaller, easier-to-estimate bugs. These individual bugs are dependencies which block the completion of the whole story. The team provides point estimates to each of the individual bugs instead of the entire story.
Reporter | ||
Updated•11 years ago
|
Whiteboard: p=0 [qa-] → [translation] p=0 [qa-]
Reporter | ||
Updated•11 years ago
|
Summary: Story Breakdown - Count the times users manually adjust the offered translation pair → Count the times users manually adjust the offered translation pair
Updated•11 years ago
|
Assignee: nobody → smacleod
Status: NEW → ASSIGNED
Whiteboard: [translation] p=0 [qa-] → [translation] p=1 s=it-30c-29a-28b.3 [qa-]
Updated•11 years ago
|
Whiteboard: [translation] p=1 s=it-30c-29a-28b.3 [qa-] → [translation] p=1 s=it-31c-30a-29b.1 [qa-]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [translation] p=1 s=it-31c-30a-29b.1 [qa-] → [translation] p=1 s=it-31c-30a-29b.2 [qa-]
Reporter | ||
Updated•11 years ago
|
No longer blocks: fxdesktopbacklog
Flags: firefox-backlog+
Reporter | ||
Updated•11 years ago
|
Whiteboard: [translation] p=1 s=it-31c-30a-29b.2 [qa-] → [translation] p=1 s=it-31c-30a-29b.3 [qa-]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [translation] p=1 s=it-31c-30a-29b.3 [qa-] → [translation] p=1 s=it-32c-31a-30b.1 [qa-]
Comment 1•11 years ago
|
||
Mass move of translation bugs to the new Translation component.
Component: Firefox Operations → Translation
Product: Tracking → Firefox
Version: --- → unspecified
Reporter | ||
Updated•11 years ago
|
Whiteboard: [translation] p=1 s=it-32c-31a-30b.1 [qa-] → [translation] p=1 s=it-32c-31a-30b.2 [qa-]
Reporter | ||
Updated•11 years ago
|
Whiteboard: [translation] p=1 s=it-32c-31a-30b.2 [qa-] → [translation] p=1 s=it-32c-31a-30b.3 [qa-]
Comment 2•10 years ago
|
||
Bug 978158 introduces a "recordLanguageChange()" method which can be called to record the data for this.
Comment 3•10 years ago
|
||
Marco, can you please update the backlog and assign this bug to Mano? Steven is out for some training in Toronto this week. Thanks!
Assignee: smacleod → mano
Hardware: x86_64 → All
Comment 4•10 years ago
|
||
(In reply to Tim Taubert [:ttaubert] from comment #3)
> Marco, can you please update the backlog and assign this bug to Mano? Steven
> is out for some training in Toronto this week. Thanks!
Flags: needinfo?(mmucci)
Reporter | ||
Comment 5•10 years ago
|
||
Iteration 32.3 Backlog updated with Mano assigned to Bug 977770.
Flags: needinfo?(mmucci)
Reporter | ||
Comment 6•10 years ago
|
||
Hi Tim, based on today's update meeting you will confirm if this bug should be removed from the current iteration based on the progress made on the dependent Bug 978158.
Flags: needinfo?(ttaubert)
Comment 8•10 years ago
|
||
From bug 973294 comment #3:
> 1. How many times the user changed the language pair before selecting
> "Translate" for the first time
> 2. How frequently users must try a different pair other than the one
> initially suggested by Firefox after they have accepted Firefox's initial
> offer of translation without making changes to the suggested pair.
To differentiate between those two cases we can pass a boolean flag to .recordLanguageChange().
Reporter | ||
Updated•10 years ago
|
Whiteboard: [translation] p=1 s=it-32c-31a-30b.3 [qa-] → [translation] p=1 s=33.1 [qa-]
Assignee | ||
Comment 9•10 years ago
|
||
1. Per both its documentation and its internals, recordLanguageChange should only be called for recording a change to the source language. There's no equivalent method for recording a change to the target language. Indeed, a change to the target language reflects a completely different issue (which is not nearly as important or problematic). So I suggest either morphing this bug to cover just the source-language case, or to introduce another method for recording target language changes (either way, recordLanaguageChange should be renamed).
2. Rather than writing a whole new test, I'm going to patch Tim's test from bug 973292 once it lands.
Reporter | ||
Updated•10 years ago
|
Iteration: --- → 33.2
Points: --- → 1
QA Whiteboard: [qa-]
Whiteboard: [translation] p=1 s=33.1 [qa-] → [translation]
Assignee | ||
Comment 11•10 years ago
|
||
Attachment #8437475 -
Attachment is obsolete: true
Attachment #8445071 -
Flags: review?(felipc)
Flags: needinfo?(mano)
Comment 12•10 years ago
|
||
Comment on attachment 8445071 [details] [diff] [review]
patch
Review of attachment 8445071 [details] [diff] [review]:
-----------------------------------------------------------------
only nits
::: browser/components/translation/Translation.jsm
@@ +127,5 @@
> + if (this.state == Translation.STATE_OFFER) {
> + if (this.detectedLanguage != aFrom)
> + TranslationHealthReport.recordDetectedLanguageChange(true);
> + }
> + else {
else in the same line as closing brace, like } else {
@@ +329,5 @@
> + },
> +
> + /**
> + * Record a change of the target language in the health report. This should
> + * only be called when actually executing a translation not every time the
"executing a translation, not every time the user changes the language in the UI" (missing the comma and there was an extra in)
::: browser/components/translation/test/browser_translation_fhr.js
@@ +35,5 @@
> deniedOffers: day.get("deniedTranslationOffer") || 0,
> + showOriginal: day.get("showOriginalContent") || 0,
> + detectedLanguageChangedBefore: day.get("detectedLanguageChangedBefore") || 0,
> + detectedLanguageChangeAfter: day.get("detectedLanguageChangedAfter") || 0,
> + targetdLanguageChange: day.get("targetLanguageChanged") || 0
misspelled variable: targetdLanguageChange
@@ +136,5 @@
> + simulateUserSelectInMenulist(fromLangMenulist, "de");
> +
> + // Selecting the same item shouldn't count.
> + simulateUserSelectInMenulist(fromLangMenulist, "de");
> +
whitespace
@@ +154,5 @@
> + }
> + yield MetricsChecker.checkAdditions({
> + detectedLanguageChangedBefore: 4,
> + detectedLanguageChangeAfter: 8,
> + targetdLanguageChange: 12
targetdLanguageChange
Attachment #8445071 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 13•10 years ago
|
||
Whiteboard: [translation] → [translation][qa-]
Comment 14•10 years ago
|
||
QA has verified the previous FHR bugs we had, so unless there's a specific reason that makes this one hard to verify, I think it's a qa+.
Whiteboard: [translation][qa-] → [translation][qa+]
Reporter | ||
Updated•10 years ago
|
QA Whiteboard: [qa-] → [qa+]
Whiteboard: [translation][qa+] → [translation]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Reporter | ||
Comment 16•10 years ago
|
||
Hi Florin, can a contact be assigned to this bug for QA verification.
Flags: needinfo?(florin.mezei)
Comment 17•10 years ago
|
||
Comment on attachment 8445071 [details] [diff] [review]
patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): This bug is part of the automatic translation feature, which we want to A/B with a subset of Aurora 32 users.
User impact if declined: Data about users correcting the detected language won't be collected
Testing completed (on m-c, etc.): landed on m-c
Risk to taking this patch (and alternatives if risky): small
String or IDL/UUID changes made by this patch: none
Attachment #8445071 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Flags: needinfo?(florin.mezei)
QA Contact: bogdan.maris
Updated•10 years ago
|
Attachment #8445071 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 18•10 years ago
|
||
status-firefox32:
--- → fixed
status-firefox33:
--- → fixed
Comment 19•10 years ago
|
||
Tested on Windows 7 64bit, Windows 8.1 64bit Surface Pro 2, Mac OS X 10.9.3 and Ubuntu 14.04 32bit using latest Nightly and latest Aurora. Verified that the count for "detectedLanguageChangedAfter", "detectedLanguageChangedBefore" and "targetLanguageChanged" is working correctly.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa+] → [qa!]
You need to log in
before you can comment on or make changes to this bug.
Description
•