Feed experiment for Dec 5 (#20427)

This commit is contained in:
Ben Halpern 2023-12-06 16:05:50 -05:00 committed by GitHub
parent 25e0ebc1ac
commit 8a299c88a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 428 additions and 0 deletions

View file

@ -0,0 +1,123 @@
{
"max_days_since_published": 15,
"description": "Built off 20231205-variant-b but with no weight on comment count.",
"order_by": "final_order_by_feed_success_score",
"reseed_randomizer_on_each_request": false,
"levers": {
"daily_decay": {
"cases": [
[0, 1],
[1, 0.99],
[2, 0.905],
[3, 0.7],
[4, 0.6],
[5, 0.5],
[6, 0.3],
[7, 0.2],
[8, 0.02],
[9, 0.01],
[10, 0.009],
[11, 0.008],
[12, 0.007],
[13, 0.006],
[14, 0.0025]
],
"fallback": 0.01
},
"following_author": {
"cases": [
[0, 0.7],
[1, 1]
],
"fallback": 0.7
},
"featured_article": { "cases": [[1, 1]], "fallback": 0.15 },
"matching_negative_tags_intersection_count": {
"cases": [
[0, 1],
[1, 0.2],
[2, 0.15],
[3, 0.1],
[4, 0.05]
],
"fallback": 0
},
"experience": {
"cases": [
[0, 1],
[1, 0.97],
[2, 0.95],
[3, 0.88],
[4, 0.77],
[5, 0.55],
[6, 0.35],
[7, 0.3]
],
"default_user_experience_level": 5,
"fallback": 0.2
},
"matching_positive_tags_intersection_count": {
"cases": [
[0, 0.001],
[1, 0.97]
],
"fallback": 1
},
"matching_positive_tags_intersection_points": {
"cases": [
[0, 0.01],
[1, 0.45],
[2, 0.5],
[3, 0.7],
[4, 0.75],
[5, 0.8],
[6, 0.85],
[7, 0.9],
[8, 0.93],
[9, 0.95]
],
"fallback": 1
},
"privileged_user_reaction": {
"cases": [
[-1, 0.2],
[1, 1]
],
"fallback": 0.95,
"negative_reaction_threshold": -9,
"positive_reaction_threshold": 4
},
"public_reactions_score": {
"cases": [
[0, 0.3],
[1, 0.4],
[2, 0.45],
[3, 0.5],
[4, 0.55],
[5, 0.6],
[6, 0.61],
[7, 0.62],
[8, 0.7],
[9, 0.8],
[10, 0.85],
[11, 0.9],
[12, 0.95]
],
"fallback": 1.0
},
"language_match": {
"cases": [
[0, 0.1],
[1, 1]
],
"fallback": 1
},
"recommended_articles_match": {
"cases": [
[0, 0.001],
[1, 1]
],
"fallback": 1
}
}
}

View file

@ -0,0 +1,128 @@
{
"max_days_since_published": 15,
"description": "Built off 20231205-variant-b but with no weight on reactions score.",
"order_by": "final_order_by_feed_success_score",
"reseed_randomizer_on_each_request": false,
"levers": {
"daily_decay": {
"cases": [
[0, 1],
[1, 0.99],
[2, 0.905],
[3, 0.7],
[4, 0.6],
[5, 0.5],
[6, 0.3],
[7, 0.2],
[8, 0.02],
[9, 0.01],
[10, 0.009],
[11, 0.008],
[12, 0.007],
[13, 0.006],
[14, 0.0025]
],
"fallback": 0.01
},
"comments_count": {
"cases": [
[0, 0.15],
[1, 0.3],
[2, 0.66],
[3, 0.7],
[4, 0.75],
[5, 0.8],
[6, 0.85],
[7, 0.88],
[8, 0.9],
[9, 0.92],
[12, 1.0],
[18, 1.0],
[22, 1.0],
[25, 1.0],
[30, 1.0],
[35, 1.0],
[40, 1.0],
[45, 1.0]
],
"fallback": 0.99
},
"following_author": {
"cases": [
[0, 0.7],
[1, 1]
],
"fallback": 0.7
},
"featured_article": { "cases": [[1, 1]], "fallback": 0.15 },
"matching_negative_tags_intersection_count": {
"cases": [
[0, 1],
[1, 0.2],
[2, 0.15],
[3, 0.1],
[4, 0.05]
],
"fallback": 0
},
"experience": {
"cases": [
[0, 1],
[1, 0.97],
[2, 0.95],
[3, 0.88],
[4, 0.77],
[5, 0.55],
[6, 0.35],
[7, 0.3]
],
"default_user_experience_level": 5,
"fallback": 0.2
},
"matching_positive_tags_intersection_count": {
"cases": [
[0, 0.001],
[1, 0.97]
],
"fallback": 1
},
"matching_positive_tags_intersection_points": {
"cases": [
[0, 0.01],
[1, 0.45],
[2, 0.5],
[3, 0.7],
[4, 0.75],
[5, 0.8],
[6, 0.85],
[7, 0.9],
[8, 0.93],
[9, 0.95]
],
"fallback": 1
},
"privileged_user_reaction": {
"cases": [
[-1, 0.2],
[1, 1]
],
"fallback": 0.95,
"negative_reaction_threshold": -9,
"positive_reaction_threshold": 4
},
"language_match": {
"cases": [
[0, 0.1],
[1, 1]
],
"fallback": 1
},
"recommended_articles_match": {
"cases": [
[0, 0.001],
[1, 1]
],
"fallback": 1
}
}
}

View file

@ -0,0 +1,149 @@
{
"max_days_since_published": 15,
"description": "Built off 20231205-variant-b but with more weight on comment count.",
"order_by": "final_order_by_feed_success_score",
"reseed_randomizer_on_each_request": false,
"levers": {
"daily_decay": {
"cases": [
[0, 1],
[1, 0.99],
[2, 0.905],
[3, 0.7],
[4, 0.6],
[5, 0.5],
[6, 0.3],
[7, 0.2],
[8, 0.02],
[9, 0.01],
[10, 0.009],
[11, 0.008],
[12, 0.007],
[13, 0.006],
[14, 0.0025]
],
"fallback": 0.01
},
"comments_count": {
"cases": [
[0, 0.07],
[1, 0.1],
[2, 0.2],
[3, 0.3],
[4, 0.4],
[5, 0.5],
[6, 0.55],
[7, 0.6],
[8, 0.65],
[9, 0.7],
[10, 0.75],
[11, 0.8],
[12, 0.85],
[13, 0.9],
[18, 1.0],
[22, 1.0],
[25, 1.0],
[30, 1.0],
[35, 1.0],
[40, 1.0],
[45, 1.0]
],
"fallback": 0.99
},
"following_author": {
"cases": [
[0, 0.7],
[1, 1]
],
"fallback": 0.7
},
"featured_article": { "cases": [[1, 1]], "fallback": 0.15 },
"matching_negative_tags_intersection_count": {
"cases": [
[0, 1],
[1, 0.2],
[2, 0.15],
[3, 0.1],
[4, 0.05]
],
"fallback": 0
},
"experience": {
"cases": [
[0, 1],
[1, 0.97],
[2, 0.95],
[3, 0.88],
[4, 0.77],
[5, 0.55],
[6, 0.35],
[7, 0.3]
],
"default_user_experience_level": 5,
"fallback": 0.2
},
"matching_positive_tags_intersection_count": {
"cases": [
[0, 0.001],
[1, 0.97]
],
"fallback": 1
},
"matching_positive_tags_intersection_points": {
"cases": [
[0, 0.01],
[1, 0.45],
[2, 0.5],
[3, 0.7],
[4, 0.75],
[5, 0.8],
[6, 0.85],
[7, 0.9],
[8, 0.93],
[9, 0.95]
],
"fallback": 1
},
"privileged_user_reaction": {
"cases": [
[-1, 0.2],
[1, 1]
],
"fallback": 0.95,
"negative_reaction_threshold": -9,
"positive_reaction_threshold": 4
},
"public_reactions_score": {
"cases": [
[0, 0.3],
[1, 0.4],
[2, 0.45],
[3, 0.5],
[4, 0.55],
[5, 0.6],
[6, 0.61],
[7, 0.62],
[8, 0.7],
[9, 0.8],
[10, 0.85],
[11, 0.9],
[12, 0.95]
],
"fallback": 1.0
},
"language_match": {
"cases": [
[0, 0.1],
[1, 1]
],
"fallback": 1
},
"recommended_articles_match": {
"cases": [
[0, 0.001],
[1, 1]
],
"fallback": 1
}
}
}

View file

@ -28,6 +28,32 @@
################################################################################
experiments:
# NOTE: Our feed strategy testing experiment must begin with "feed_strategy"
feed_strategy_starting_20231205:
# NOTE: Required as we want only want to consider for conversion events that
# occurred on or after the given start_date.
started_at: 2023-12-05
variants:
- 20231127-variant-c
- 20231205-variant-a
- 20231205-variant-b
- 20231205-variant-c
weights:
- 70
- 10
- 10
- 10
goals:
- user_creates_pageview
- user_creates_article_reaction
- user_creates_comment
- user_views_pages_on_at_least_two_different_days_within_a_week
- user_views_pages_on_at_least_four_different_days_within_a_week
- user_creates_article_reaction_on_four_different_days_within_a_week
- user_creates_comment_on_at_least_four_different_days_within_a_week
- user_views_pages_on_at_least_three_different_hours_within_a_day
- user_views_pages_on_at_least_four_different_hours_within_a_day
- user_views_pages_on_at_least_twelve_different_hours_within_five_days
- user_views_pages_on_at_least_nine_different_days_within_two_weeks
feed_strategy_starting_202311127:
# NOTE: Required as we want only want to consider for conversion events that
# occurred on or after the given start_date.
@ -37,6 +63,8 @@ experiments:
- 20231127-variant-a
- 20231127-variant-b
- 20231127-variant-c
ended_at: 2023-12-05
winner: 20231127-variant-c
weights:
- 55
- 15