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

Issue 2541143002: Omnibox - Boost Frequency Scores Based on Number of Matching Pages (Closed)

Created:
4 years ago by Mark P
Modified:
4 years ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Omnibox - Boost Frequency Scores Based on Number of Matching Pages This changelist adds a knob, controlled by an experiment, that enables boosting the frequency scores in HistoryQuick provider based on the number of documents matching the user's input. The intuition is that if a user's input matches a single or tiny number of documents from the user's history, then that input is probably seeking those pages and they should be scored more aggressively. Boosting their frequency score (in effect the document quality / popularity score) makes more sense to me than boosting the topicality score or altering the final function that translates the frequency and topicality score into a final score. This should be the last changelist I need. Next up is to use the knobs to find reasonable parameters and run some experiments. BUG=369989 Committed: https://crrev.com/33a75da3fddb8b626a76e0ac586452f659193e67 Cr-Commit-Position: refs/heads/master@{#438290}

Patch Set 1 #

Patch Set 2 : remove setup/teardown test case code #

Total comments: 29

Patch Set 3 : dramatically redone. compiles. rewrote tests. all pass. #

Patch Set 4 : improved comments and formatting #

Total comments: 10

Patch Set 5 : pkasting comments; still didn't handle leaky variable #

Patch Set 6 : fix leak #

Total comments: 8

Patch Set 7 : peter's comments #

Patch Set 8 : rebase; didn't even compile yet #

Patch Set 9 : fix rebase errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -58 lines) Patch
M components/omnibox/browser/omnibox_field_trial.h View 1 2 3 4 5 6 7 3 chunks +14 lines, -0 lines 0 comments Download
M components/omnibox/browser/omnibox_field_trial.cc View 1 2 3 4 5 6 7 2 chunks +24 lines, -0 lines 0 comments Download
M components/omnibox/browser/scored_history_match.h View 1 2 3 4 5 6 7 8 6 chunks +21 lines, -6 lines 0 comments Download
M components/omnibox/browser/scored_history_match.cc View 1 2 3 4 5 6 7 8 7 chunks +35 lines, -8 lines 0 comments Download
M components/omnibox/browser/scored_history_match_unittest.cc View 1 2 3 4 5 6 7 17 chunks +71 lines, -39 lines 0 comments Download
M components/omnibox/browser/url_index_private_data.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
Mark P
Peter, Please take a look at your convenience. No hurry. thanks, mark
4 years ago (2016-11-30 22:42:43 UTC) #3
Peter Kasting
https://codereview.chromium.org/2541143002/diff/20001/components/omnibox/browser/omnibox_field_trial.cc File components/omnibox/browser/omnibox_field_trial.cc (right): https://codereview.chromium.org/2541143002/diff/20001/components/omnibox/browser/omnibox_field_trial.cc#newcode451 components/omnibox/browser/omnibox_field_trial.cc:451: // e.g., "1:3,2:2.5,3:2,4:1.5" Super nitpicky nit: "pairs, e.g. "..."." ...
4 years ago (2016-12-01 07:07:53 UTC) #4
Mark P
Inspired by your suggestions, I rewrote this whole patch in a way that's more understandable ...
4 years ago (2016-12-04 01:06:42 UTC) #5
Peter Kasting
The only real issue I see is the leaking object. Beyond that, and the below ...
4 years ago (2016-12-06 05:19:30 UTC) #6
Mark P
https://codereview.chromium.org/2541143002/diff/20001/components/omnibox/browser/scored_history_match.cc File components/omnibox/browser/scored_history_match.cc (right): https://codereview.chromium.org/2541143002/diff/20001/components/omnibox/browser/scored_history_match.cc#newcode420 components/omnibox/browser/scored_history_match.cc:420: new OmniboxFieldTrial::NumMatchesMultipliers(); On 2016/12/01 07:07:53, Peter Kasting wrote: > ...
4 years ago (2016-12-06 21:02:47 UTC) #7
Peter Kasting
https://codereview.chromium.org/2541143002/diff/20001/components/omnibox/browser/scored_history_match.cc File components/omnibox/browser/scored_history_match.cc (right): https://codereview.chromium.org/2541143002/diff/20001/components/omnibox/browser/scored_history_match.cc#newcode420 components/omnibox/browser/scored_history_match.cc:420: new OmniboxFieldTrial::NumMatchesMultipliers(); On 2016/12/06 21:02:47, Mark P wrote: > ...
4 years ago (2016-12-06 21:41:27 UTC) #8
Mark P
This is ready to go except for waiting of resolution of https://codereview.chromium.org/2548363010/ and the corresponding ...
4 years ago (2016-12-08 00:21:31 UTC) #9
Peter Kasting
https://codereview.chromium.org/2541143002/diff/60001/components/omnibox/browser/scored_history_match.cc File components/omnibox/browser/scored_history_match.cc (right): https://codereview.chromium.org/2541143002/diff/60001/components/omnibox/browser/scored_history_match.cc#newcode638 components/omnibox/browser/scored_history_match.cc:638: return it->second; On 2016/12/08 00:21:31, Mark P wrote: > ...
4 years ago (2016-12-08 00:51:40 UTC) #10
Mark P
https://codereview.chromium.org/2541143002/diff/60001/components/omnibox/browser/scored_history_match.cc File components/omnibox/browser/scored_history_match.cc (right): https://codereview.chromium.org/2541143002/diff/60001/components/omnibox/browser/scored_history_match.cc#newcode638 components/omnibox/browser/scored_history_match.cc:638: return it->second; On 2016/12/08 00:51:40, Peter Kasting wrote: > ...
4 years ago (2016-12-08 04:37:35 UTC) #11
Mark P
Fixed the leaky static issue, which I believe was the final thing remaining on this ...
4 years ago (2016-12-09 21:19:46 UTC) #12
Peter Kasting
LGTM https://codereview.chromium.org/2541143002/diff/100001/components/omnibox/browser/scored_history_match.cc File components/omnibox/browser/scored_history_match.cc (right): https://codereview.chromium.org/2541143002/diff/100001/components/omnibox/browser/scored_history_match.cc#newcode639 components/omnibox/browser/scored_history_match.cc:639: : &default_num_matches_to_document_specificity_score; I feel like there might be ...
4 years ago (2016-12-10 02:22:26 UTC) #13
Mark P
https://codereview.chromium.org/2541143002/diff/100001/components/omnibox/browser/scored_history_match.cc File components/omnibox/browser/scored_history_match.cc (right): https://codereview.chromium.org/2541143002/diff/100001/components/omnibox/browser/scored_history_match.cc#newcode639 components/omnibox/browser/scored_history_match.cc:639: : &default_num_matches_to_document_specificity_score; On 2016/12/10 02:22:26, Peter Kasting wrote: > ...
4 years ago (2016-12-11 05:11:37 UTC) #14
Mark P
rebased on top of the recently-submitted changelist. Feel free to take a look if you ...
4 years ago (2016-12-13 18:53:26 UTC) #15
Peter Kasting
DIDN'T READ LOL (Go for it)
4 years ago (2016-12-13 18:56:45 UTC) #16
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/2541143002/160001
4 years ago (2016-12-13 19:40:10 UTC) #19
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-12-13 21:44:54 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-13 21:49:27 UTC) #24
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/33a75da3fddb8b626a76e0ac586452f659193e67
Cr-Commit-Position: refs/heads/master@{#438290}

Powered by Google App Engine
This is Rietveld 408576698