Skip to content

Commit 804136b

Browse files
committed
Add guidance notification GIF experiment targeting
This is a bespoke advanced targeting config for an experiment. The experiment struggles to reach the required sample size, so we extended it relative to a previous iteration by including all locales instead of just EN. But the necessary strings only landed in 149. And if we excluded pre-149 versions, we'd be excluding EN users who could see the message. And we'd be shrinking the audience, counteracting the locale expansion. So we are including EN users on versions 146 and later PLUS all locales on versions 149 and later. That means this targeting config will have no use outside of this experiment, so we can remove it once the experiment is finished.
1 parent 88b0e96 commit 804136b

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

experimenter/experimenter/targeting/constants.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,25 @@ def __post_init__(self):
10981098
application_choice_names=(Application.DESKTOP.name,),
10991099
)
11001100

1101+
GUIDANCE_NOTIFICATION_GIF_EXPERIMENT = NimbusTargetingConfig(
1102+
name="Guidance notification GIF experiment",
1103+
slug="guidance_notification_gif_experiment",
1104+
description=(
1105+
"Windows 11 users but not Windows 10 users: "
1106+
"EN users on Fx146+ or users on Fx149+"
1107+
),
1108+
targeting=(
1109+
"(os.isWindows && os.windowsVersion >= 10 && "
1110+
"os.windowsBuildNumber >= 22000) && "
1111+
"((localeLanguageCode == 'en' && version|versionCompare('146.!') >= 0) || "
1112+
"version|versionCompare('149.!') >= 0)"
1113+
),
1114+
desktop_telemetry="",
1115+
sticky_required=False,
1116+
is_first_run_required=False,
1117+
application_choice_names=(Application.DESKTOP.name,),
1118+
)
1119+
11011120
WIN10_VPN_PROMOTION_ELIGIBLE = NimbusTargetingConfig(
11021121
name="Windows 10 users eligible for VPN promotion",
11031122
slug="win10_vpn_promotion_eligible",

0 commit comments

Comments
 (0)