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

Issue 2809213002: [autofill] Expand Autofill.Quality.* to log false positives/true negatives. (Closed)

Created:
3 years, 8 months ago by Roger McFarlane (Chromium)
Modified:
3 years, 8 months ago
Reviewers:
Mathieu, jwd
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] Expand Autofill.Quality.* to log false positives/true negatives. This CL adds Autofill.Quality.* logging for the following cases: * the field was not confirmed as autofillable (either the user left the field empty or filled the field with data that was not recognized); and, - A: the field was predicated as autofillable (false positive) - B: the field was not predicted as autofillable (true negative) These round out the logging required to compute precision, recall and other performance metrics as defined at https://en.wikipedia.org/wiki/Precision_and_recall. BUG=710474 Review-Url: https://codereview.chromium.org/2809213002 Cr-Commit-Position: refs/heads/master@{#464127} Committed: https://chromium.googlesource.com/chromium/src/+/8f71139f8c5982d83fcdcc840a5275698b71438c

Patch Set 1 : Intial CL for review #

Patch Set 2 : fix unsigned to bool type conversion warning #

Total comments: 4

Patch Set 3 : better unittest isolation #

Total comments: 6

Patch Set 4 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -17 lines) Patch
M components/autofill/core/browser/autofill_metrics.h View 2 chunks +22 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 1 chunk +123 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 3 chunks +41 lines, -14 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
Roger McFarlane (Chromium)
PTAL?
3 years, 8 months ago (2017-04-11 17:23:10 UTC) #4
Mathieu
The code is very neat but the test is getting a bit large. I'll let ...
3 years, 8 months ago (2017-04-11 20:18:40 UTC) #14
jwd
lgtm
3 years, 8 months ago (2017-04-11 21:16:18 UTC) #15
Roger McFarlane (Chromium)
thanks. mathp@... extracted the unittests for better isolation another look?
3 years, 8 months ago (2017-04-12 16:54:03 UTC) #23
Mathieu
thanks, lgtm https://codereview.chromium.org/2809213002/diff/80001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/2809213002/diff/80001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode551 components/autofill/core/browser/autofill_metrics_unittest.cc:551: const ServerFieldType field_type; nit: field_type -> actual_field_type? ...
3 years, 8 months ago (2017-04-12 16:59:45 UTC) #24
Roger McFarlane (Chromium)
Thanks. https://codereview.chromium.org/2809213002/diff/80001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/2809213002/diff/80001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode551 components/autofill/core/browser/autofill_metrics_unittest.cc:551: const ServerFieldType field_type; On 2017/04/12 16:59:45, Mathieu wrote: ...
3 years, 8 months ago (2017-04-12 17:10:51 UTC) #25
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/2809213002/80002
3 years, 8 months ago (2017-04-12 17:11:28 UTC) #28
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 20:10:46 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:80002) as
https://chromium.googlesource.com/chromium/src/+/8f71139f8c5982d83fcdcc840a52...

Powered by Google App Engine
This is Rietveld 408576698