mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ML in SE: Add an experiment group with EC+ML (IJPL-192039)
GitOrigin-RevId: 888db8784ca7dd07d7dc90dccae78010c51d5e38
This commit is contained in:
committed by
intellij-monorepo-bot
parent
de44fa0f10
commit
189d8377a4
+7
-1
@@ -118,5 +118,11 @@ object SearchEverywhereMlExperiment {
|
||||
* (see, for example, IJPL-171760 or IJPL-55751)
|
||||
*/
|
||||
object ExactMatchManualFix : ActiveExperiment(true)
|
||||
|
||||
/**
|
||||
* An experiment group that combines both EssentialContributorPrediction and ExperimentalModel
|
||||
* functionality for the All tab.
|
||||
*/
|
||||
object CombinedExperiment : ActiveExperiment(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-2
@@ -141,7 +141,7 @@ sealed interface SearchEverywhereTab {
|
||||
|
||||
override val experiments: Map<Int, ExperimentType> = mapOf(
|
||||
1 to ExperimentType.EssentialContributorPrediction,
|
||||
2 to ExperimentType.ExperimentalModel,
|
||||
2 to ExperimentType.CombinedExperiment,
|
||||
)
|
||||
|
||||
|
||||
@@ -325,13 +325,16 @@ val SearchEverywhereTab.TabWithExperiments.isSemanticSearchExperiment: Boolean
|
||||
*
|
||||
* This property checks the current experimental type associated with the tab. If the experiment
|
||||
* type corresponds to [ExperimentType.EssentialContributorPrediction], it returns `true`.
|
||||
* It also returns `true` for [ExperimentType.CombinedExperiment], which combines both
|
||||
* EssentialContributorPrediction and ExperimentalModel functionality.
|
||||
* Otherwise, it returns `false`.
|
||||
*
|
||||
* The "Essential Contributor Prediction" experiment is designed to improve search result rankings
|
||||
* by prioritizing essential contributors during retrieval.
|
||||
*/
|
||||
val SearchEverywhereTab.All.isEssentialContributorPredictionExperiment: Boolean
|
||||
get() = this.currentExperimentType == ExperimentType.EssentialContributorPrediction
|
||||
get() = this.currentExperimentType == ExperimentType.EssentialContributorPrediction ||
|
||||
this.currentExperimentType == ExperimentType.CombinedExperiment
|
||||
|
||||
/**
|
||||
* Indicates whether the current tab's active experiment is configured to handle typo-related scenarios.
|
||||
|
||||
Reference in New Issue
Block a user