IJPL-171506 Change the group size and make it more stable to bugfix version update

(cherry picked from commit 11195cd76b84f203bd4d4f8c55e2f2146450bd8f)


(cherry picked from commit 8868170c92fd1f3ae31cb7bd716d5bca351227f1)

IJ-CR-154529

GitOrigin-RevId: 51d4b1de8ac341433dc28cdbd94d1d322ed58399
This commit is contained in:
Alexey.Merkulov
2025-02-06 14:40:15 +01:00
committed by intellij-monorepo-bot
parent b3f3d0c3e3
commit 5f432ff20f

View File

@@ -14,7 +14,7 @@ class ShowTrialSurveyOption : ABExperimentOption {
override val id: ABExperimentOptionId = ABExperimentOptionId("showTrialSurvey")
override fun getGroupSizeForIde(isPopularIde: Boolean): ABExperimentOptionGroupSize {
return ABExperimentOptionGroupSize(128)
return ABExperimentOptionGroupSize(192)
}
override fun checkIdeIsSuitable(): Boolean = PlatformUtils.isIdeaUltimate()
@@ -24,7 +24,7 @@ class ShowTrialSurveyOption : ABExperimentOption {
*/
override fun checkIdeVersionIsSuitable(): Boolean {
val appInfo = ApplicationInfo.getInstance()
return appInfo.majorVersion == "2024" && appInfo.minorVersion == "3.3"
return appInfo.majorVersion == "2024" && appInfo.minorVersion.startsWith("3.3")
}
@Suppress("CompanionObjectInExtension")