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

Unified Diff: chrome/browser/engagement/site_engagement_score.cc

Issue 2354923004: Use AggressiveAccumulation Site Engagement values as the default. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/engagement/site_engagement_score.cc
diff --git a/chrome/browser/engagement/site_engagement_score.cc b/chrome/browser/engagement/site_engagement_score.cc
index ca13686ca643e201c46a75aa2642f982bca039a1..d38d2ad9f349ddfa7d0d7f635d88c7627895ea42 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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698