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

Second CPM experiment #3397

Merged
merged 10 commits into from
Oct 18, 2024
Merged

Second CPM experiment #3397

merged 10 commits into from
Oct 18, 2024

Conversation

muodov
Copy link
Member

@muodov muodov commented Oct 15, 2024

Task/Issue URL: https://app.asana.com/0/1205142657210376/1208488711477099/f
Tech Design URL: https://app.asana.com/0/1205142657210376/1208527766092596/f
CC:
BSK PR: duckduckgo/BrowserServicesKit#1017
Corresponding SERP PR: https://dub.duckduckgo.com/duckduckgo/ddg/pull/35929 (deployed on mtsoy.duckduckgo.com)

Description:

Steps to test this PR:

  1. Run the browser
  2. Change remote config URL to https://jsonblob.com/api/1295841430403407872
  3. Do a search
  4. Observe a cpme=1|0 query parameter in the search address
  5. Reset the test cohort (Debug -> Reset Data -> Reset CPM Experiment Cohort) to confirm that the value (1 or 0) is assigned randomly

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@muodov muodov changed the title Max/new cpm experiment Second CPM experiment Oct 15, 2024
@muodov muodov marked this pull request as ready for review October 15, 2024 20:17
@muodov muodov requested a review from ayoy October 15, 2024 20:34
Copy link
Collaborator

@ayoy ayoy left a comment

Choose a reason for hiding this comment

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

Works great, thanks @muodov!

muodov added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Oct 18, 2024
<!--
Note: This checklist is a reminder of our shared engineering
expectations.
-->

Please review the release process for BrowserServicesKit
[here](https://app.asana.com/0/1200194497630846/1200837094583426).

**Required**:

Task/Issue URL:
https://app.asana.com/0/1205142657210376/1208488711477099/f
iOS PR: 
macOS PR: duckduckgo/macos-browser#3397
What kind of version bump will this require?: Major/Minor/Patch

**Optional**:

Tech Design URL:
https://app.asana.com/0/1205142657210376/1208527766092596/f
CC: @ayoy

**Description**:

<!--
Tagging instructions
If this PR isn't ready to be merged for whatever reason it should be
marked with the `DO NOT MERGE` label (particularly if it's a draft)
If it's pending Product Review/PFR, please add the `Pending Product
Review` label.

If at any point it isn't actively being worked on/ready for
review/otherwise moving forward (besides the above PR/PFR exception)
strongly consider closing it (or not opening it in the first place). If
you decide not to close it, make sure it's labelled to make it clear the
PRs state and comment with more information.
-->

This PR cleans up the previous experiment (#937), and creates a new
subfeature for the new experiment. The experiment logic will be in the
macOS PR.

**Steps to test this PR**:
1.
1.

<!--
Before submitting a PR, please ensure you have tested the combinations
you expect the reviewer to test, then delete configurations you *know*
do not need explicit testing.

Using a simulator where a physical device is unavailable is acceptable.
-->

**OS Testing**:

* [ ] iOS 14
* [ ] iOS 15
* [ ] iOS 16
* [ ] macOS 10.15
* [ ] macOS 11
* [ ] macOS 12

---
###### Internal references:
[Software Engineering
Expectations](https://app.asana.com/0/59792373528535/199064865822552)
[Technical Design
Template](https://app.asana.com/0/59792373528535/184709971311943)
@muodov muodov merged commit 30b1747 into main Oct 18, 2024
18 checks passed
@muodov muodov deleted the max/new-cpm-experiment branch October 18, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants