the-algorithm/follow-recommendations-service/common/src/main/scala/com/twitter/follow_recommendations/common/candidate_sources/base/SimilarUserExpanderParams.scala
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

32 lines
1.1 KiB
Scala

package com.twitter.follow_recommendations.common.candidate_sources.base
import com.twitter.timelines.configapi.FSBoundedParam
import com.twitter.timelines.configapi.FSParam
object SimilarUserExpanderParams {
case object EnableNonDirectFollowExpansion
extends FSParam[Boolean]("similar_user_enable_non_direct_follow_expansion", true)
case object EnableSimsExpandSeedAccountsSort
extends FSParam[Boolean]("similar_user_enable_sims_expander_seed_account_sort", false)
case object DefaultExpansionInputCount
extends FSBoundedParam[Int](
name = "similar_user_default_expansion_input_count",
default = Integer.MAX_VALUE,
min = 0,
max = Integer.MAX_VALUE)
case object DefaultFinalCandidatesReturnedCount
extends FSBoundedParam[Int](
name = "similar_user_default_final_candidates_returned_count",
default = Integer.MAX_VALUE,
min = 0,
max = Integer.MAX_VALUE)
case object DefaultEnableImplicitEngagedExpansion
extends FSParam[Boolean]("similar_user_enable_implicit_engaged_expansion", true)
}