-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧪 Introduce shared auto-advance and CTA exp (#36674)
* remove old CTA exp * new exp setup * one more branch * update ids * parseJson * isArray * fix test * more tests * one more test
- Loading branch information
1 parent
4ae2b92
commit 1cc0733
Showing
12 changed files
with
79 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
/** @const */ | ||
export const StoryAdSegmentExp = { | ||
ID: 'story-ad-progress-segment', | ||
CONTROL: '31061402', | ||
SIX_SECONDS: '31061403', | ||
EIGHT_SECONDS: '31061404', | ||
TEN_SECONDS: '31061405', | ||
CONTROL: '31063379', // No ad advance, no page advance, no new cta. | ||
NO_ADVANCE_BOTH: '31063380', // No ad advance, no page advance, new cta. | ||
NO_ADVANCE_AD: '31063381', // No ad advance, page=10s, new cta. | ||
TEN_SECONDS: '31063382', // Advance ad with new cta for the rest, page=10s. | ||
TWELVE_SECONDS: '31063383', | ||
FOURTEEN_SECONDS: '31063384', | ||
}; | ||
|
||
/** @const */ | ||
export const StoryAdSegmentTimes = { | ||
SENTINEL: '999999ms', | ||
SIX_SECONDS: '6000ms', | ||
EIGHT_SECONDS: '8000ms', | ||
TEN_SECONDS: '10000ms', | ||
}; | ||
|
||
/** @const */ | ||
export const ViewerSetTimeToBranch = { | ||
[StoryAdSegmentTimes.SIX_SECONDS]: StoryAdSegmentExp.SIX_SECONDS, | ||
[StoryAdSegmentTimes.EIGHT_SECONDS]: StoryAdSegmentExp.EIGHT_SECONDS, | ||
[StoryAdSegmentTimes.TEN_SECONDS]: StoryAdSegmentExp.TEN_SECONDS, | ||
[StoryAdSegmentTimes.SENTINEL]: StoryAdSegmentExp.CONTROL, | ||
TWELVE_SECONDS: '12000ms', | ||
FOURTEEN_SECONDS: '14000ms', | ||
}; | ||
|
||
/** @const */ | ||
export const BranchToTimeValues = { | ||
[StoryAdSegmentExp.SIX_SECONDS]: StoryAdSegmentTimes.SIX_SECONDS, | ||
[StoryAdSegmentExp.EIGHT_SECONDS]: StoryAdSegmentTimes.EIGHT_SECONDS, | ||
[StoryAdSegmentExp.TEN_SECONDS]: StoryAdSegmentTimes.TEN_SECONDS, | ||
[StoryAdSegmentExp.TWELVE_SECONDS]: StoryAdSegmentTimes.TWELVE_SECONDS, | ||
[StoryAdSegmentExp.FOURTEEN_SECONDS]: StoryAdSegmentTimes.FOURTEEN_SECONDS, | ||
}; |