()
| 1573 | } |
| 1574 | |
| 1575 | getOrStartGalaxyTutorialExperimentValue () { |
| 1576 | // Home users only: exclude teachers/students and users on the China infrastructure |
| 1577 | // up front, before even looking at an existing value. |
| 1578 | if (me.isTeacher() || me.isStudent()) { |
| 1579 | return 'control' |
| 1580 | } |
| 1581 | if (features?.chinaInfra) { |
| 1582 | return 'control' |
| 1583 | } |
| 1584 | // Continue the experiment for anyone already enrolled. |
| 1585 | const value = this.getGalaxyTutorialExperimentValue() |
| 1586 | if (value != null) { |
| 1587 | return value |
| 1588 | } |
| 1589 | return this.tryStartExperiment(GALAXY_TUTORIAL_EXPERIMENT) |
| 1590 | } |
| 1591 | } |
| 1592 | |
| 1593 | User.initClass() |
nothing calls this directly
no test coverage detected