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

Refactor [vXXX] Update initial experiments JSON for Nimbus #265

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
361 changes: 361 additions & 0 deletions firefox-ios/Client/Experiments/initial_experiments.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,202 @@
"locales": null,
"publishedDate": "2024-03-05T16:11:17.007782Z"
},
{
"schemaVersion": "1.12.0",
"slug": "ios-optimize-onboarding-card-order",
"id": "ios-optimize-onboarding-card-order",
"arguments": {},
"application": "org.mozilla.ios.Firefox",
"appName": "firefox_ios",
"appId": "org.mozilla.ios.Firefox",
"channel": "release",
"userFacingName": "iOS Optimize Onboarding Card Order",
"userFacingDescription": "Experiment changing the order of onboarding cards",
"isEnrollmentPaused": false,
"isRollout": false,
"bucketConfig": {
"randomizationUnit": "nimbus_id",
"namespace": "ios-onboarding-framework-feature-release-19",
"start": 0,
"count": 10000,
"total": 10000
},
"featureIds": [
"onboarding-framework-feature"
],
"probeSets": [],
"outcomes": [
{
"slug": "onboarding",
"priority": "primary"
}
],
"branches": [
{
"slug": "control",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {}
}
]
},
{
"slug": "treatment-a",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {
"cards": {
"welcome": {
"order": 10
},
"customization-theme": {
"order": 20
},
"customization-toolbar": {
"order": 30
},
"sign-to-sync": {
"order": 40
},
"notification-permissions": {
"order": 50
}
}
}
}
]
},
{
"slug": "treatment-b",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {
"cards": {
"welcome": {
"order": 10
},
"customization-toolbar": {
"order": 20
},
"customization-theme": {
"order": 30
},
"sign-to-sync": {
"order": 40
},
"notification-permissions": {
"order": 50
}
}
}
}
]
},
{
"slug": "treatment-c",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {
"cards": {
"welcome": {
"order": 10
},
"customization-toolbar": {
"order": 20
},
"customization-theme": {
"order": 30
},
"notification-permissions": {
"order": 40
},
"sign-to-sync": {
"order": 50
}
}
}
}
]
},
{
"slug": "treatment-d",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {
"cards": {
"welcome": {
"order": 10
},
"customization-theme": {
"order": 20
},
"customization-toolbar": {
"order": 30
},
"notification-permissions": {
"order": 40
},
"sign-to-sync": {
"order": 50
}
}
}
}
]
}
],
"targeting": "((is_already_enrolled) || ((isFirstRun == 'true' && is_phone) && (app_version|versionCompare('131.!') >= 0) && (enrollments_map['long-term-holdback-2024-h2-velocity-ios'] == 'delivery')))",
"startDate": "2024-10-18",
"enrollmentEndDate": null,
"endDate": null,
"proposedDuration": 28,
"proposedEnrollment": 14,
"referenceBranch": "control",
"featureValidationOptOut": false,
"localizations": null,
"locales": null,
"publishedDate": "2024-10-18T19:26:21.181472Z"
},
{
"schemaVersion": "1.12.0",
"slug": "ios-search-bar-placement-v2-treatment-a-rollout",
Expand Down Expand Up @@ -139,6 +335,171 @@
"localizations": null,
"locales": null,
"publishedDate": null
},
{
"schemaVersion": "1.12.0",
"slug": "ios-set-as-default-browser-onboarding-optimization-for-1312",
"id": "ios-set-as-default-browser-onboarding-optimization-for-1312",
"arguments": {},
"application": "org.mozilla.ios.Firefox",
"appName": "firefox_ios",
"appId": "org.mozilla.ios.Firefox",
"channel": "release",
"userFacingName": "iOS \"Set as Default Browser\" Onboarding Optimization for 131.2",
"userFacingDescription": "Experiment adding a direct link to settings and instructions in the Set to Default Card onboarding card",
"isEnrollmentPaused": true,
"isRollout": false,
"bucketConfig": {
"randomizationUnit": "nimbus_id",
"namespace": "ios-onboarding-framework-feature-release-18",
"start": 0,
"count": 10000,
"total": 10000
},
"featureIds": [
"onboarding-framework-feature"
],
"probeSets": [],
"outcomes": [
{
"slug": "default_browser",
"priority": "primary"
},
{
"slug": "onboarding",
"priority": "primary"
}
],
"branches": [
{
"slug": "control",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {}
}
]
},
{
"slug": "treatment-a",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "onboarding-framework-feature",
"enabled": true,
"value": {
"cards": {
"welcome": {
"title": "Make Firefox your default browser",
"body": "Follow the steps above to make Firefox your default browser.",
"image": "set-default-steps",
"buttons": {
"primary": {
"title": "Open Settings",
"action": "open-ios-fx-settings"
}
}
}
}
}
}
]
}
],
"targeting": "((is_already_enrolled) || ((isFirstRun == 'true') && (app_version|versionCompare('131.2.0') >= 0) && (language in ['en']) && (region in ['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BF', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', 'CV', 'CW', 'CX', 'DJ', 'DM', 'DO', 'DZ', 'EC', 'EG', 'EH', 'ER', 'ET', 'FJ', 'FK', 'FM', 'FO', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HT', 'ID', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'JE', 'JM', 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NI', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PM', 'PN', 'PR', 'PS', 'PW', 'PY', 'QA', 'RE', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SG', 'SH', 'SJ', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW']) && (enrollments_map['long-term-holdback-2024-h2-velocity-ios'] == 'delivery')))",
"startDate": "2024-10-09",
"enrollmentEndDate": "2024-10-18",
"endDate": null,
"proposedDuration": 28,
"proposedEnrollment": 14,
"referenceBranch": "control",
"featureValidationOptOut": false,
"localizations": null,
"locales": null,
"publishedDate": "2024-10-09T19:01:25.915786Z"
},
{
"schemaVersion": "1.12.0",
"slug": "long-term-holdback-2024-h2-velocity-ios",
"id": "long-term-holdback-2024-h2-velocity-ios",
"arguments": {},
"application": "org.mozilla.ios.Firefox",
"appName": "firefox_ios",
"appId": "org.mozilla.ios.Firefox",
"channel": "release",
"userFacingName": "Long term holdback 2024 H2 Velocity iOS",
"userFacingDescription": "Long-term holdback for H2 Velocity experiments",
"isEnrollmentPaused": false,
"isRollout": false,
"bucketConfig": {
"randomizationUnit": "nimbus_id",
"namespace": "ios-no-feature-ios-release-1",
"start": 0,
"count": 10000,
"total": 10000
},
"featureIds": [
"no-feature-ios"
],
"probeSets": [],
"outcomes": [],
"branches": [
{
"slug": "delivery",
"ratio": 19,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "no-feature-ios",
"enabled": true,
"value": {}
}
]
},
{
"slug": "holdback",
"ratio": 1,
"feature": {
"featureId": "this-is-included-for-mobile-pre-96-support",
"enabled": false,
"value": {}
},
"features": [
{
"featureId": "no-feature-ios",
"enabled": true,
"value": {}
}
]
}
],
"targeting": "((is_already_enrolled) || ((app_version|versionCompare('123.!') >= 0)))",
"startDate": "2024-09-19",
"enrollmentEndDate": null,
"endDate": null,
"proposedDuration": 100,
"proposedEnrollment": 100,
"referenceBranch": "holdback",
"featureValidationOptOut": false,
"localizations": null,
"locales": null,
"publishedDate": "2024-09-19T17:57:04.754326Z"
}
]
}