ML in SE: Disable CombinedExperiment when disableEssentialContributorsExperiment (IJPL-192039)

GitOrigin-RevId: cdc60a8513d216ece65614b3478f2bd4f6e790cb
This commit is contained in:
Anya Smirnova
2025-06-30 16:43:42 +00:00
committed by intellij-monorepo-bot
parent f2292e9449
commit c73a0475d1
@@ -148,7 +148,8 @@ sealed interface SearchEverywhereTab {
override val currentExperimentType: ExperimentType
get() {
val experimentType = super.currentExperimentType
if (experimentType == ExperimentType.EssentialContributorPrediction) {
if (experimentType == ExperimentType.EssentialContributorPrediction ||
experimentType == ExperimentType.CombinedExperiment) {
if (SearchEverywhereMlRegistry.disableEssentialContributorsExperiment) {
return ExperimentType.NoExperiment
}