From 5d7868d21a9567fd9a6dd913b04da86756063260 Mon Sep 17 00:00:00 2001 From: DonalMe Date: Tue, 7 Nov 2023 00:26:21 +0000 Subject: [PATCH] Update Fenix initial_experiments.json based on the current first-run experiments in experimenter --- .../src/main/res/raw/initial_experiments.json | 322 +++++++++++++----- 1 file changed, 237 insertions(+), 85 deletions(-) diff --git a/fenix/app/src/main/res/raw/initial_experiments.json b/fenix/app/src/main/res/raw/initial_experiments.json index 09a71345e1dd..d1833c27d6f8 100644 --- a/fenix/app/src/main/res/raw/initial_experiments.json +++ b/fenix/app/src/main/res/raw/initial_experiments.json @@ -2,150 +2,186 @@ "data": [ { "schemaVersion": "1.12.0", - "slug": "android-onboarding-redesign", - "id": "android-onboarding-redesign", + "slug": "android-default-toolbar-placement-treatment-a-rollout", + "id": "android-default-toolbar-placement-treatment-a-rollout", "arguments": {}, - "application": "org.mozilla.firefox_beta", + "application": "org.mozilla.firefox", "appName": "fenix", - "appId": "org.mozilla.firefox_beta", - "channel": "beta", - "userFacingName": "[beta] Android Onboarding Redesign", - "userFacingDescription": "Testing a new onboarding experience.", + "appId": "org.mozilla.firefox", + "channel": "release", + "userFacingName": "Android default toolbar placement - Treatment A Rollout", + "userFacingDescription": "Testing default position of toolbar.", "isEnrollmentPaused": false, - "isRollout": false, + "isRollout": true, "bucketConfig": { "randomizationUnit": "nimbus_id", - "namespace": "fenix-juno-onboarding-beta-1", + "namespace": "fenix-toolbar-release-mobile_first_run-rollout-1", "start": 0, "count": 10000, "total": 10000 }, "featureIds": [ - "juno-onboarding" + "toolbar" ], "probeSets": [], "outcomes": [], "branches": [ - { - "slug": "control", - "ratio": 1, - "feature": { - "featureId": "juno-onboarding", - "enabled": true, - "value": { - "enabled": false - } - } - }, { "slug": "treatment-a", "ratio": 1, "feature": { - "featureId": "juno-onboarding", - "enabled": true, - "value": { - "enabled": true + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "toolbar", + "enabled": true, + "value": { + "toolbar-position-top": true + } } - } + ] } ], - "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('112.!') >= 0)))", - "startDate": "2023-04-04", - "enrollmentEndDate": "2023-04-11", + "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('116.!') >= 0)))", + "startDate": "2023-08-09", + "enrollmentEndDate": null, "endDate": null, - "proposedDuration": 7, + "proposedDuration": 28, "proposedEnrollment": 7, - "referenceBranch": "control", - "featureValidationOptOut": false + "referenceBranch": "treatment-a", + "featureValidationOptOut": false, + "localizations": null, + "locales": null }, { "schemaVersion": "1.12.0", - "slug": "fx-release-android-re-engagement-notifications-ab-experiment-v112", - "id": "fx-release-android-re-engagement-notifications-ab-experiment-v112", + "slug": "android-onboarding-search-widget", + "id": "android-onboarding-search-widget", "arguments": {}, "application": "org.mozilla.firefox", "appName": "fenix", "appId": "org.mozilla.firefox", "channel": "release", - "userFacingName": "Fx Release - Android re-engagement notifications A/B experiment v112", - "userFacingDescription": "A/B message content test for Firefox 112", + "userFacingName": "Android Onboarding - search widget", + "userFacingDescription": "Copy focused on privacy", "isEnrollmentPaused": true, "isRollout": false, "bucketConfig": { "randomizationUnit": "nimbus_id", - "namespace": "fenix-re-engagement-notification-release-2", + "namespace": "fenix-juno-onboarding-release-5", "start": 0, "count": 10000, "total": 10000 }, "featureIds": [ - "re-engagement-notification" + "juno-onboarding" ], "probeSets": [], - "outcomes": [], + "outcomes": [ + { + "slug": "default-browser", + "priority": "secondary" + } + ], "branches": [ { "slug": "control", "ratio": 1, "feature": { - "featureId": "re-engagement-notification", - "enabled": true, - "value": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", "enabled": true, - "type": 0 + "value": { + "enabled": true + } } - } + ] }, { "slug": "treatment-a", "ratio": 1, "feature": { - "featureId": "re-engagement-notification", - "enabled": true, - "value": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", "enabled": true, - "type": 1 + "value": { + "enabled": true, + "cards": { + "sync-sign-in": { + "enabled": false + }, + "add-search-widget": { + "enabled": true + } + } + } } - } + ] }, { "slug": "treatment-b", "ratio": 1, "feature": { - "featureId": "re-engagement-notification", - "enabled": true, - "value": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", "enabled": true, - "type": 2 + "value": { + "enabled": true, + "cards": { + "add-search-widget": { + "enabled": true + } + } + } } - } + ] } ], - "targeting": "(app_version|versionCompare('112.*') <= 0) && ((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('112.!') >= 0)))", - "startDate": "2023-03-28", - "enrollmentEndDate": "2023-04-12", + "targeting": "((android_sdk_version|versionCompare('26') >= 0)) && (app_version|versionCompare('118.!') >= 0) && (language in ['en'])", + "startDate": "2023-09-15", + "enrollmentEndDate": "2023-10-26", "endDate": null, - "proposedDuration": 28, - "proposedEnrollment": 14, + "proposedDuration": 49, + "proposedEnrollment": 28, "referenceBranch": "control", - "featureValidationOptOut": false + "featureValidationOptOut": false, + "localizations": null, + "locales": null }, { "schemaVersion": "1.12.0", - "slug": "release-android-onboarding-redesign", - "id": "release-android-onboarding-redesign", + "slug": "beta-android-onboarding-redesign-treatment-a-rollout", + "id": "beta-android-onboarding-redesign-treatment-a-rollout", "arguments": {}, - "application": "org.mozilla.firefox", + "application": "org.mozilla.firefox_beta", "appName": "fenix", - "appId": "org.mozilla.firefox", - "channel": "release", - "userFacingName": "[release] Android Onboarding Redesign", + "appId": "org.mozilla.firefox_beta", + "channel": "beta", + "userFacingName": "Beta Android Onboarding Redesign - Treatment A Rollout", "userFacingDescription": "Testing a new onboarding experience.", "isEnrollmentPaused": false, - "isRollout": false, + "isRollout": true, "bucketConfig": { "randomizationUnit": "nimbus_id", - "namespace": "fenix-juno-onboarding-release-1", + "namespace": "fenix-juno-onboarding-beta-mobile_first_run-rollout-1", "start": 0, "count": 10000, "total": 10000 @@ -160,38 +196,154 @@ "priority": "primary" } ], + "branches": [ + { + "slug": "treatment-a", + "ratio": 1, + "feature": { + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", + "enabled": true, + "value": { + "enabled": true + } + } + ] + } + ], + "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('118.!') >= 0)))", + "startDate": "2023-09-06", + "enrollmentEndDate": null, + "endDate": null, + "proposedDuration": 28, + "proposedEnrollment": 7, + "referenceBranch": "treatment-a", + "featureValidationOptOut": false, + "localizations": null, + "locales": null + }, + { + "schemaVersion": "1.12.0", + "slug": "fx-release-android-re-engagement-notifications-114-rollout-v2", + "id": "fx-release-android-re-engagement-notifications-114-rollout-v2", + "arguments": {}, + "application": "org.mozilla.firefox", + "appName": "fenix", + "appId": "org.mozilla.firefox", + "channel": "release", + "userFacingName": "Fx Release - Android re-engagement notifications 116 rollout v2", + "userFacingDescription": "Android message for Fx 116", + "isEnrollmentPaused": false, + "isRollout": true, + "bucketConfig": { + "randomizationUnit": "nimbus_id", + "namespace": "fenix-re-engagement-notification-release-mobile_first_run-rollout-2", + "start": 0, + "count": 10000, + "total": 10000 + }, + "featureIds": [ + "re-engagement-notification" + ], + "probeSets": [], + "outcomes": [], "branches": [ { "slug": "control", "ratio": 1, "feature": { - "featureId": "juno-onboarding", - "enabled": true, - "value": { - "enabled": false + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "re-engagement-notification", + "enabled": true, + "value": { + "enabled": true, + "type": 0 + } } - } - }, + ] + } + ], + "targeting": "(app_version|versionCompare('116.*') <= 0) && ((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('116.!') >= 0)))", + "startDate": "2023-07-21", + "enrollmentEndDate": null, + "endDate": null, + "proposedDuration": 60, + "proposedEnrollment": 60, + "referenceBranch": "control", + "featureValidationOptOut": false, + "localizations": null, + "locales": null + }, + { + "schemaVersion": "1.12.0", + "slug": "release-android-onboarding-redesign-treatment-a-rollout", + "id": "release-android-onboarding-redesign-treatment-a-rollout", + "arguments": {}, + "application": "org.mozilla.firefox", + "appName": "fenix", + "appId": "org.mozilla.firefox", + "channel": "release", + "userFacingName": "[release] Android Onboarding Redesign - Treatment A Rollout", + "userFacingDescription": "Testing a new onboarding experience.", + "isEnrollmentPaused": false, + "isRollout": true, + "bucketConfig": { + "randomizationUnit": "nimbus_id", + "namespace": "fenix-juno-onboarding-release-mobile_first_run-rollout-1", + "start": 0, + "count": 10000, + "total": 10000 + }, + "featureIds": [ + "juno-onboarding" + ], + "probeSets": [], + "outcomes": [ + { + "slug": "default-browser", + "priority": "primary" + } + ], + "branches": [ { "slug": "treatment-a", "ratio": 1, "feature": { - "featureId": "juno-onboarding", - "enabled": true, - "value": { - "enabled": true + "featureId": "this-is-included-for-mobile-pre-96-support", + "enabled": false, + "value": {} + }, + "features": [ + { + "featureId": "juno-onboarding", + "enabled": true, + "value": { + "enabled": true + } } - } + ] } ], - "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('113.!') >= 0)))", - "startDate": "2023-05-01", - "enrollmentEndDate": "2023-05-08", + "targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('116.!') >= 0)))", + "startDate": "2023-07-12", + "enrollmentEndDate": null, "endDate": null, - "proposedDuration": 35, + "proposedDuration": 28, "proposedEnrollment": 7, - "referenceBranch": "control", - "featureValidationOptOut": false + "referenceBranch": "treatment-a", + "featureValidationOptOut": false, + "localizations": null, + "locales": null } ] }