| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | class Insights |
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * Option name storing each site's A/B test assignments, keyed by the |
| 23 | - * screen/feature under test (e.g. 'AutoLaunch.ShowTitle'). | |
| 23 | + * screen/feature under test (e.g. 'AutoLaunch.HideEnhanceAI'). | |
| 24 | 24 | * |
| 25 | 25 | * @var string |
| 26 | 26 | */ |
| 27 | 27 | // phpcs:ignore PSR12.Properties.ConstantVisibility.NotFound |
| @@ -35,13 +35,10 @@ | ||
| 35 | 35 | */ |
| 36 | 36 | // phpcs:ignore PSR12.Properties.ConstantVisibility.NotFound |
| 37 | 37 | const AVAILABLE_TESTS = [ |
| 38 | 38 | 'AutoLaunch.HideEnhanceAI', |
| 39 | - 'AutoLaunch.ShowTitle', | |
| 40 | - 'AutoLaunch.SubmitOutside', | |
| 41 | 39 | 'AutoLaunch.SubmitCreateWebsite', |
| 42 | 40 | 'AutoLaunch.DescriptionPlaceholderLaw', |
| 43 | - 'AutoLaunch.HeaderParagraphOld', | |
| 44 | 41 | 'AutoLaunch.MigrateScreen', |
| 45 | 42 | ]; |
| 46 | 43 | |
| 47 | 44 | /** |
| @@ -79,9 +76,9 @@ | ||
| 79 | 76 | * tests. Each active test is rolled once; |
| 80 | 77 | * inactive tests are dropped. |
| 81 | 78 | * |
| 82 | 79 | * @param string[] $activeTests Active tests in `Name:Percentage` form |
| 83 | - * (e.g. 'AutoLaunch.ShowTitle:20'); a bare | |
| 80 | + * (e.g. 'AutoLaunch.HideEnhanceAI:20'); a bare | |
| 84 | 81 | * name defaults to a 50% rollout. |
| 85 | 82 | * @return void |
| 86 | 83 | */ |
| 87 | 84 | public static function setup(array $activeTests = []) |