MCPcopy Index your code
hub / github.com/codecombat/codecombat / getOrStartRequireSignupExperimentValue

Method getOrStartRequireSignupExperimentValue

app/models/User.js:1554–1563  ·  view source on GitHub ↗
(CAMPAIGN)

Source from the content-addressed store, hash-verified

1552 }
1553
1554 getOrStartRequireSignupExperimentValue (CAMPAIGN) {
1555 if (!(Object.keys(REQUIRE_SIGN_UP_EXPERIMENT).includes(CAMPAIGN))) {
1556 return 'control'
1557 }
1558 const value = this.getRequireSignupExperimentValue(CAMPAIGN)
1559 if (value != null) {
1560 return value
1561 }
1562 return this.tryStartExperiment(REQUIRE_SIGN_UP_EXPERIMENT[CAMPAIGN])
1563 }
1564
1565 getGalaxyTutorialExperimentValue () {
1566 // Returns the value the user is already assigned to (or a query-string override),

Callers

nothing calls this directly

Calls 2

tryStartExperimentMethod · 0.95

Tested by

no test coverage detected