Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new feed-variant 20220422 #17406

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

maestromac
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Feature

Description

Add a new feed-variant as per Jennie's request. Shoutout to @jeremyf and @msarit

Related Tickets & Documents

n/a

QA Instructions, Screenshots, Recordings

n/a

Added tests?

  • no, because they aren't needed

Added to documentation?

  • no documentation needed

[optional] Are there any post deployment tasks we need to perform?

n/a

@maestromac maestromac requested a review from a team as a code owner April 22, 2022 15:34
@maestromac maestromac requested review from a team and jgaskins and removed request for a team April 22, 2022 15:34
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Apr 22, 2022
Comment on lines +70 to +89
"matching_negative_tags_intersection_count": {
"cases": [
[0, 1],
[1, 0.8],
[2, 0.5],
[3, 0.3],
[4, 0.2]
],
"fallback": 0
},
"matching_positive_tags_intersection_count": {
"cases": [
[0, 0.7],
[1, 0.85],
[2, 0.93],
[3, 0.98],
[4, 1]
],
"fallback": 1
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New change here

@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Apr 22, 2022
@@ -189,7 +189,7 @@ def self.lever_catalog
AND comments.deleted = false
AND comments.created_at > :oldest_published_at"])

relevancy_lever(:matching_negative_tag_intersection_count,
relevancy_lever(:matching_negative_tags_intersection_count,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch on consistent naming!

Copy link
Contributor

@jeremyf jeremyf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may look like I want to request changes, but really I don't want to accidentally merge this. @JennieOcken wants this to go live on Monday.

@pr-triage pr-triage bot added PR: reviewed-changes-requested bot applied label for PR's where reviewer requests changes and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Apr 22, 2022
@jeremyf
Copy link
Contributor

jeremyf commented Apr 22, 2022

For those reading along, we don't need tests because in spec/services/articles/feeds/variant_query_spec.rb we test all variants in that directory.

@jeremyf jeremyf self-requested a review April 22, 2022 16:38
@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: reviewed-changes-requested bot applied label for PR's where reviewer requests changes labels Apr 22, 2022
@maestromac maestromac merged commit 8d45c73 into main Apr 25, 2022
@maestromac maestromac deleted the mac/feature/abtest-create-jennie-variant branch April 25, 2022 13:55
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants