summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcalamity <calamity@chromium.org>2016-09-21 07:50:15 (GMT)
committerCommit bot <commit-bot@chromium.org>2016-09-21 07:52:37 (GMT)
commitcdcceda44a92c4359b446ca58c379ec2de281182 (patch)
tree5ee30e2b9fd04126cd8ff756da942bb284858ee1
parenta92d13b8279237e2a71290fca8c374fd7ec15881 (diff)
downloadchromium-cdcceda44a92c4359b446ca58c379ec2de281182.tar.gz
chromium-cdcceda44a92c4359b446ca58c379ec2de281182.tar.xz
Use AggressiveAccumulation Site Engagement values as the default.
BUG=464234 Review-Url: https://codereview.chromium.org/2354923004 Cr-Commit-Position: refs/heads/master@{#420003}
-rw-r--r--chrome/browser/engagement/site_engagement_score.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/chrome/browser/engagement/site_engagement_score.cc b/chrome/browser/engagement/site_engagement_score.cc
index ca13686..d38d2ad 100644
--- a/chrome/browser/engagement/site_engagement_score.cc
+++ b/chrome/browser/engagement/site_engagement_score.cc
@@ -71,23 +71,23 @@ SiteEngagementScore::ParamValues& SiteEngagementScore::GetParamValues() {
// static
SiteEngagementScore::ParamValues SiteEngagementScore::BuildParamValues() {
SiteEngagementScore::ParamValues param_values;
- param_values[MAX_POINTS_PER_DAY] = {"max_points_per_day", 5};
- param_values[DECAY_PERIOD_IN_HOURS] = {"decay_period_in_hours", 7 * 24};
- param_values[DECAY_POINTS] = {"decay_points", 5};
- param_values[DECAY_PROPORTION] = {"decay_proportion", 1};
- param_values[SCORE_CLEANUP_THRESHOLD] = {"score_cleanup_threshold", 0};
- param_values[NAVIGATION_POINTS] = {"navigation_points", 0.5};
- param_values[USER_INPUT_POINTS] = {"user_input_points", 0.2};
- param_values[VISIBLE_MEDIA_POINTS] = {"visible_media_playing_points", 0.02};
+ param_values[MAX_POINTS_PER_DAY] = {"max_points_per_day", 15};
+ param_values[DECAY_PERIOD_IN_HOURS] = {"decay_period_in_hours", 2};
+ param_values[DECAY_POINTS] = {"decay_points", 0};
+ param_values[DECAY_PROPORTION] = {"decay_proportion", 0.984};
+ param_values[SCORE_CLEANUP_THRESHOLD] = {"score_cleanup_threshold", 0.5};
+ param_values[NAVIGATION_POINTS] = {"navigation_points", 1.5};
+ param_values[USER_INPUT_POINTS] = {"user_input_points", 0.6};
+ param_values[VISIBLE_MEDIA_POINTS] = {"visible_media_playing_points", 0.06};
param_values[HIDDEN_MEDIA_POINTS] = {"hidden_media_playing_points", 0.01};
param_values[WEB_APP_INSTALLED_POINTS] = {"web_app_installed_points", 5};
- param_values[FIRST_DAILY_ENGAGEMENT] = {"first_daily_engagement_points", 0.5};
- param_values[BOOTSTRAP_POINTS] = {"bootstrap_points", 8};
- param_values[MEDIUM_ENGAGEMENT_BOUNDARY] = {"medium_engagement_boundary", 5};
+ param_values[FIRST_DAILY_ENGAGEMENT] = {"first_daily_engagement_points", 1.5};
+ param_values[BOOTSTRAP_POINTS] = {"bootstrap_points", 24};
+ param_values[MEDIUM_ENGAGEMENT_BOUNDARY] = {"medium_engagement_boundary", 15};
param_values[HIGH_ENGAGEMENT_BOUNDARY] = {"high_engagement_boundary", 50};
- param_values[MAX_DECAYS_PER_SCORE] = {"max_decays_per_score", 1};
+ param_values[MAX_DECAYS_PER_SCORE] = {"max_decays_per_score", 4};
param_values[LAST_ENGAGEMENT_GRACE_PERIOD_IN_HOURS] = {
- "last_engagement_grace_period_in_hours", 72};
+ "last_engagement_grace_period_in_hours", 1};
return param_values;
}