Skip to content

Commit

Permalink
Merge branch 'release/5.47.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
cmonfortep committed Mar 19, 2020
2 parents 4dfa81d + 14e7cf4 commit e373a01
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ class VariantManagerTest {
@Test
fun serpControlVariantIsInactiveAndHasNoFeatures() {
val variant = variants.first { it.key == "sc" }
assertEqualsDouble(0.0, variant.weight)
assertEqualsDouble(1.0, variant.weight)
assertEquals(0, variant.features.size)
}

@Test
fun serpExperimentalVariantIsInactiveAndHasNoFeatures() {
val variant = variants.first { it.key == "se" }
assertEqualsDouble(0.0, variant.weight)
assertEqualsDouble(1.0, variant.weight)
assertEquals(0, variant.features.size)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class LaunchBridgeActivity : DuckDuckGoActivity() {
} else {
startActivity(OnboardingActivity.intent(this))
}
finish()
}

private fun showHome() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ interface VariantManager {
val ACTIVE_VARIANTS = listOf(
// SERP variants. "sc" may also be used as a shared control for mobile experiments in
// the future if we can filter by app version
Variant(key = "sc", weight = 0.0, features = emptyList(), filterBy = { noFilter() }),
Variant(key = "se", weight = 0.0, features = emptyList(), filterBy = { noFilter() }),
Variant(key = "sc", weight = 1.0, features = emptyList(), filterBy = { noFilter() }),
Variant(key = "se", weight = 1.0, features = emptyList(), filterBy = { noFilter() }),

// Concept test experiment
Variant(key = "mc", weight = 0.0, features = emptyList(), filterBy = { isEnglishLocale() }),
Expand Down
2 changes: 1 addition & 1 deletion app/version/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=5.47.1
VERSION=5.47.2

0 comments on commit e373a01

Please sign in to comment.