0

[history-embeddings] Update fieldtrial testing config

Bug: 367757648
Change-Id: I03691d715448ae4b19eb4a7e77fa959fe923833f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5966915
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Reviewed-by: Sophie Chang <sophiechang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1374666}
This commit is contained in:
Moe Ahmadi
2024-10-28 16:27:24 +00:00
committed by Chromium LUCI CQ
parent d754b36a5f
commit 8d14a5821b
2 changed files with 26 additions and 2 deletions
chrome/browser/optimization_guide/model_execution
testing/variations

@ -747,7 +747,11 @@ IN_PROC_BROWSER_TEST_F(
ModelExecutionEnabledBrowserTestWithExplicitBrowserSignin,
PRE_HistorySearchRecordsSyntheticFieldTrial) {
EnableSignin();
#if BUILDFLAG(BUILD_TFLITE_WITH_XNNPACK)
EXPECT_TRUE(IsSettingVisible(UserVisibleFeatureKey::kHistorySearch));
#else
EXPECT_FALSE(IsSettingVisible(UserVisibleFeatureKey::kHistorySearch));
#endif
browser()->profile()->GetPrefs()->SetInteger(
prefs::GetSettingEnabledPrefName(UserVisibleFeatureKey::kHistorySearch),
@ -842,7 +846,11 @@ IN_PROC_BROWSER_TEST_F(ModelExecutionNewFeaturesEnabledAutomaticallyTest,
EnableSignin();
EXPECT_TRUE(IsSettingVisible(UserVisibleFeatureKey::kTabOrganization));
EXPECT_FALSE(IsSettingVisible(UserVisibleFeatureKey::kCompose));
#if BUILDFLAG(BUILD_TFLITE_WITH_XNNPACK)
EXPECT_TRUE(IsSettingVisible(UserVisibleFeatureKey::kHistorySearch));
#else
EXPECT_FALSE(IsSettingVisible(UserVisibleFeatureKey::kHistorySearch));
#endif
browser()->profile()->GetPrefs()->SetInteger(
prefs::kModelExecutionMainToggleSettingState,

@ -11359,14 +11359,30 @@
{
"name": "Enabled",
"params": {
"AnswersInOmniboxScoped": "true",
"ContentVisibilityThreshold": "0.0",
"EnableSidePanel": "true",
"OmniboxScoped": "true",
"SearchPassageMinimumWordCount": "5",
"SearchQueryMinimumWordCount": "2"
"SearchQueryMinimumWordCount": "2",
"SendQualityLog": "true",
"SendQualityLogV2": "true",
"TrimAfterHostInResults": "true",
"UseMlAnswerer": "true",
"WordMatchLimit": "5",
"WordMatchMaxTermCount": "10",
"WordMatchMinEmbeddingScore": "0.7",
"WordMatchMinTermLength": "0",
"WordMatchRequiredTermRatio": "1.0",
"WordMatchScoreBoostFactor": "0.2",
"WordMatchSmoothingFactor": "0",
"allow_unsigned_user": "true",
"enable_feature_when_main_toggle_on": "false"
},
"enable_features": [
"HistoryEmbeddings",
"HistoryEmbeddingsAnswers"
"HistoryEmbeddingsAnswers",
"HistorySearchSettingsVisibility"
]
}
]