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

Issue 7607007: Add confidence to AutocompleteMatch. (Closed)

Created:
9 years, 4 months ago by dominich
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org
Visibility:
Public.

Description

Add confidence to AutocompleteMatch. Calculated by each provider using whatever measure makes sense and stored as a float in the range [0, 1]. Will be used for determining benefit of using instant, prerender, DNS preconnect to increase success rate and avoid wasted resources. Currently fed into UMA to validate experiment. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96446

Patch Set 1 #

Total comments: 24

Patch Set 2 : Response to pkasting #

Total comments: 13

Patch Set 3 : Unit test fixes #

Patch Set 4 : Fix mac build #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -58 lines) Patch
M chrome/browser/autocomplete/autocomplete_edit.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_match.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_unittest.cc View 1 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/autocomplete/builtin_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autocomplete/extension_app_provider.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/history_contents_provider.h View 1 3 chunks +23 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_contents_provider.cc View 1 2 5 chunks +69 lines, -30 lines 0 comments Download
M chrome/browser/autocomplete/history_quick_provider.h View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/history_quick_provider.cc View 3 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider.h View 3 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/history_url_provider.cc View 1 2 7 chunks +49 lines, -6 lines 0 comments Download
M chrome/browser/autocomplete/keyword_provider.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/shortcuts_provider_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac_unittest.mm View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
dominich
There are some TODOs still in there while I determine the best way to calculate ...
9 years, 4 months ago (2011-08-09 20:22:49 UTC) #1
Peter Kasting
If all you care about is the confidence of the top match, you don't need ...
9 years, 4 months ago (2011-08-09 20:53:00 UTC) #2
dominich
mrossetti: pkasting suggested you might be interested in the scoring algorithms in this CL. http://codereview.chromium.org/7607007/diff/1/chrome/browser/autocomplete/history_contents_provider.cc ...
9 years, 4 months ago (2011-08-09 21:43:43 UTC) #3
Peter Kasting
LGTM http://codereview.chromium.org/7607007/diff/18/chrome/browser/autocomplete/history_contents_provider.cc File chrome/browser/autocomplete/history_contents_provider.cc (right): http://codereview.chromium.org/7607007/diff/18/chrome/browser/autocomplete/history_contents_provider.cc#newcode270 chrome/browser/autocomplete/history_contents_provider.cc:270: // - It's a better indicator of what ...
9 years, 4 months ago (2011-08-09 21:52:38 UTC) #4
mrossetti
I'm not really sure what 'confidence' means. Does it mean, "I'm sure this is a ...
9 years, 4 months ago (2011-08-09 23:40:42 UTC) #5
dominich.google
Good point, I probably should explain a bit more of the background. The confidence will ...
9 years, 4 months ago (2011-08-09 23:49:39 UTC) #6
mrossetti
LGTM then, understanding that this is an experiment. I have some concerns about having two ...
9 years, 4 months ago (2011-08-10 16:06:16 UTC) #7
dominich
http://codereview.chromium.org/7607007/diff/18/chrome/browser/autocomplete/history_contents_provider.cc File chrome/browser/autocomplete/history_contents_provider.cc (right): http://codereview.chromium.org/7607007/diff/18/chrome/browser/autocomplete/history_contents_provider.cc#newcode270 chrome/browser/autocomplete/history_contents_provider.cc:270: // - It's a better indicator of what the ...
9 years, 4 months ago (2011-08-10 16:10:13 UTC) #8
tburkard
LGTM
9 years, 4 months ago (2011-08-10 17:51:09 UTC) #9
commit-bot: I haz the power
9 years, 4 months ago (2011-08-11 20:44:34 UTC) #10
Change committed as 96446

Powered by Google App Engine
This is Rietveld 408576698