Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Issue 2940983003: [autofill] Add UKM for field type prediction quality and autofill outcome. (Closed)

Created:
3 years, 6 months ago by Roger McFarlane (Chromium)
Modified:
3 years, 5 months ago
Reviewers:
Mathieu, sebsg, rkaplow
CC:
chromium-reviews, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, asvitkine+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[autofill] Add UKM for field type prediction quality and autofill outcome. Add UKM entries for predicted/actual field types and for filled/edited status. These metrics allow us to identify which field types are being confused by the type prediction systems (heuristics, server, overall) as well as to understand for which fields users accept autofilled values vs editing them. BUG=733708 R=mathp@chromium.org, sebsg@chromium.org Review-Url: https://codereview.chromium.org/2940983003 Cr-Commit-Position: refs/heads/master@{#483159} Committed: https://chromium.googlesource.com/chromium/src/+/a1755c304ab86df45ca7796be7adff070cd61d1a

Patch Set 1 #

Total comments: 13

Patch Set 2 : comments from sebsg and rkaplow #

Total comments: 10

Patch Set 3 : mathp's comments + rebase #

Patch Set 4 : fix a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -133 lines) Patch
M components/autofill/core/browser/autofill_manager.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.h View 1 2 8 chunks +57 lines, -7 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.cc View 1 2 3 10 chunks +149 lines, -23 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 36 chunks +171 lines, -70 lines 0 comments Download
M components/autofill/core/browser/form_structure.h View 1 chunk +3 lines, -1 line 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 3 chunks +21 lines, -30 lines 0 comments Download
M tools/metrics/ukm/ukm.xml View 1 2 1 chunk +92 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Roger McFarlane (Chromium)
PTAL?
3 years, 6 months ago (2017-06-15 21:22:40 UTC) #3
Roger McFarlane (Chromium)
+rkaplow
3 years, 6 months ago (2017-06-15 21:23:29 UTC) #5
sebsg
Nice! Small comments https://codereview.chromium.org/2940983003/diff/1/components/autofill/core/browser/autofill_metrics.h File components/autofill/core/browser/autofill_metrics.h (right): https://codereview.chromium.org/2940983003/diff/1/components/autofill/core/browser/autofill_metrics.h#newcode703 components/autofill/core/browser/autofill_metrics.h:703: class UkmTimestampPin; As discussed, please remove ...
3 years, 6 months ago (2017-06-19 14:48:09 UTC) #8
rkaplow
https://codereview.chromium.org/2940983003/diff/1/tools/metrics/ukm/ukm.xml File tools/metrics/ukm/ukm.xml (right): https://codereview.chromium.org/2940983003/diff/1/tools/metrics/ukm/ukm.xml#newcode41 tools/metrics/ukm/ukm.xml:41: Recorded when Chrome validates field type predictions (on submit, ...
3 years, 6 months ago (2017-06-19 17:03:28 UTC) #9
Roger McFarlane (Chromium)
Thanks. Another look? https://codereview.chromium.org/2940983003/diff/1/components/autofill/core/browser/autofill_metrics.h File components/autofill/core/browser/autofill_metrics.h (right): https://codereview.chromium.org/2940983003/diff/1/components/autofill/core/browser/autofill_metrics.h#newcode703 components/autofill/core/browser/autofill_metrics.h:703: class UkmTimestampPin; On 2017/06/19 14:48:09, sebsg ...
3 years, 6 months ago (2017-06-21 21:01:55 UTC) #11
sebsg
lgtm https://codereview.chromium.org/2940983003/diff/1/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/2940983003/diff/1/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode335 components/autofill/core/browser/autofill_metrics_unittest.cc:335: const ukm::TestUkmRecorder& ukm_recorder, On 2017/06/21 21:01:54, Roger McFarlane ...
3 years, 6 months ago (2017-06-21 21:08:03 UTC) #15
rkaplow
lgtm
3 years, 6 months ago (2017-06-23 20:22:33 UTC) #16
Mathieu
https://codereview.chromium.org/2940983003/diff/20001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2940983003/diff/20001/components/autofill/core/browser/autofill_metrics.cc#newcode372 components/autofill/core/browser/autofill_metrics.cc:372: // possible and predicted field types (|possible_types| and |predicted_type|, ...
3 years, 5 months ago (2017-06-27 21:02:28 UTC) #17
Roger McFarlane (Chromium)
Thanks! Another look? https://codereview.chromium.org/2940983003/diff/20001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2940983003/diff/20001/components/autofill/core/browser/autofill_metrics.cc#newcode372 components/autofill/core/browser/autofill_metrics.cc:372: // possible and predicted field types ...
3 years, 5 months ago (2017-06-28 17:41:01 UTC) #20
Mathieu
lgtm
3 years, 5 months ago (2017-06-28 20:44:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2940983003/60001
3 years, 5 months ago (2017-06-28 20:51:26 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 21:58:33 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a1755c304ab86df45ca7796be7ad...

Powered by Google App Engine
This is Rietveld 408576698