Coming out of T396045: xLab: follow up tasks for traffic and variations section and recent design UI review discussions, place validation rules and updates in a separate ticket to track progress, priority.
Description
Update validation rules and associated UI copy for the User traffic per wiki field set:
- Add validation rules for Traffic and Wiki fields according to the xLab Form Validation spreadsheet (As a follow up for T372952: (stretch) xLab: Add better validation to forms)
-
Allow for additional wikis and increase of sample rate for activated experiments – Initial design specs<< moved to {T396650: xLab: enable changes in traffic allocation during active experiments} -
Prohibit destructive changes to traffic while experiment is active (i.e. no decrease of sample rates and no removal of wikis)<< moved to {T396650: xLab: enable changes in traffic allocation during active experiments} - Enforce max traffic percentages for everyone experiments (User Identifier Type === edge_unique (see comment on this ticket) – Initial design specs
- Limit max number of wikis to 50 (see docs) – Initial design specs
Acceptance Criteria
- New validation rules are implemented
- Unit tests are added to capture validation errors
- Relevant documentation is updated: https://wikitech.wikimedia.org/wiki/Experimentation_Lab/Conduct_an_experiment#Experiment_design:_user_traffic_per_wiki
