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

Issue 2668063004: [NTP::SectionOrder] Track category index after it has been moved up. (Closed)

Created:
3 years, 10 months ago by vitaliii
Modified:
3 years, 10 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, asvitkine+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP::SectionOrder] Track category index after it has been moved up. Add a new metric to track category index after it has been moved up due to a click. This is done in order to check how stable to order is and whether it is becoming more stable. BUG=687505 Review-Url: https://codereview.chromium.org/2668063004 Cr-Commit-Position: refs/heads/master@{#447968} Committed: https://chromium.googlesource.com/chromium/src/+/7496904fab33e2c38f8c6ec6cfad27ebd158c1f4

Patch Set 1 #

Total comments: 9

Patch Set 2 : clean rebase. #

Patch Set 3 : added tests. #

Total comments: 6

Patch Set 4 : treib@ comments. #

Total comments: 2

Patch Set 5 : clean rebase. #

Patch Set 6 : tschumann@ comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -8 lines) Patch
M components/ntp_snippets/category_rankers/click_based_category_ranker.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc View 1 2 3 4 5 7 chunks +105 lines, -8 lines 0 comments Download
M components/ntp_snippets/content_suggestions_metrics.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/content_suggestions_metrics.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (20 generated)
vitaliii
Would you like to have a look?
3 years, 10 months ago (2017-02-01 11:56:23 UTC) #2
vitaliii
Hi treib@, Would you mind to review a new metric?
3 years, 10 months ago (2017-02-01 12:46:40 UTC) #4
Marc Treib
https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc#newcode59 components/ntp_snippets/content_suggestions_metrics.cc:59: "NewTabPage.ContentSuggestions.MovedUpCategoryNewIndex"; ".CategoryMovedUpNewIndex"? https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc#newcode337 components/ntp_snippets/content_suggestions_metrics.cc:337: kMaxCategories); Hm. I guess you'd ...
3 years, 10 months ago (2017-02-01 13:04:24 UTC) #5
vitaliii
Hi treib@, I replied to your comments, PTAL. https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc#newcode59 components/ntp_snippets/content_suggestions_metrics.cc:59: "NewTabPage.ContentSuggestions.MovedUpCategoryNewIndex"; ...
3 years, 10 months ago (2017-02-01 13:30:19 UTC) #6
Marc Treib
lgtm https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc#newcode59 components/ntp_snippets/content_suggestions_metrics.cc:59: "NewTabPage.ContentSuggestions.MovedUpCategoryNewIndex"; On 2017/02/01 13:30:18, vitaliii wrote: > On ...
3 years, 10 months ago (2017-02-01 13:40:46 UTC) #7
Marc Treib
https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc#newcode337 components/ntp_snippets/content_suggestions_metrics.cc:337: kMaxCategories); On 2017/02/01 13:40:46, Marc Treib wrote: > On ...
3 years, 10 months ago (2017-02-01 13:42:37 UTC) #8
vitaliii
Hi treib@, I addressed your comments, no need to look. https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc File components/ntp_snippets/content_suggestions_metrics.cc (right): https://codereview.chromium.org/2668063004/diff/1/components/ntp_snippets/content_suggestions_metrics.cc#newcode59 ...
3 years, 10 months ago (2017-02-01 14:19:37 UTC) #11
vitaliii
Hi asvitkine@, Could you have a look at my histograms.xml change? I am adding a ...
3 years, 10 months ago (2017-02-01 14:21:32 UTC) #13
Alexei Svitkine (slow)
lgtm
3 years, 10 months ago (2017-02-01 18:40:35 UTC) #16
vitaliii
Hi treib@, could you have another look? I have added tests.
3 years, 10 months ago (2017-02-02 10:55:55 UTC) #20
Marc Treib
lgtm Nice! Some small suggestions below. https://codereview.chromium.org/2668063004/diff/60001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc File components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc (right): https://codereview.chromium.org/2668063004/diff/60001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc#newcode695 components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc:695: EXPECT_THAT(histogram_tester.GetAllSamples(kHistogramMovedUpCategoryNewIndex), nit: ASSERT_THAT ...
3 years, 10 months ago (2017-02-02 11:04:16 UTC) #21
vitaliii
Hi treib@, I addressed your comments, no need to look. https://codereview.chromium.org/2668063004/diff/60001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc File components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc (right): https://codereview.chromium.org/2668063004/diff/60001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc#newcode695 ...
3 years, 10 months ago (2017-02-02 11:25:00 UTC) #22
tschumann
lgtm https://codereview.chromium.org/2668063004/diff/80001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc File components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc (right): https://codereview.chromium.org/2668063004/diff/80001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc#newcode675 components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc:675: while (CompareCategories(first, second)) { i had a hard ...
3 years, 10 months ago (2017-02-02 11:45:09 UTC) #25
vitaliii
Hi tschumann@, I addressed your comment, no need to look. https://codereview.chromium.org/2668063004/diff/80001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc File components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc (right): https://codereview.chromium.org/2668063004/diff/80001/components/ntp_snippets/category_rankers/click_based_category_ranker_unittest.cc#newcode675 ...
3 years, 10 months ago (2017-02-03 08:10:51 UTC) #30
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/2668063004/160001
3 years, 10 months ago (2017-02-03 08:14:02 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 09:28:23 UTC) #36
Message was sent while issue was closed.
Committed patchset #6 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/7496904fab33e2c38f8c6ec6cfad...

Powered by Google App Engine
This is Rietveld 408576698