removed `misinfo crisis`

This commit is contained in:
Nick 2023-04-08 11:00:36 -04:00
parent 138bb51997
commit ed570757b0
3 changed files with 0 additions and 17 deletions

View File

@ -83,7 +83,6 @@ object TweetSafetyLabelType extends SafetyLabelType {
s.SafetyLabelType.LowQuality -> LowQuality, s.SafetyLabelType.LowQuality -> LowQuality,
s.SafetyLabelType.LowQualityMention -> LowQualityMention, s.SafetyLabelType.LowQualityMention -> LowQualityMention,
s.SafetyLabelType.MisinfoCivic -> MisinfoCivic, s.SafetyLabelType.MisinfoCivic -> MisinfoCivic,
s.SafetyLabelType.MisinfoCrisis -> MisinfoCrisis,
s.SafetyLabelType.MisinfoGeneric -> MisinfoGeneric, s.SafetyLabelType.MisinfoGeneric -> MisinfoGeneric,
s.SafetyLabelType.MisinfoMedical -> MisinfoMedical, s.SafetyLabelType.MisinfoMedical -> MisinfoMedical,
s.SafetyLabelType.NsfaHighPrecision -> NsfaHighPrecision, s.SafetyLabelType.NsfaHighPrecision -> NsfaHighPrecision,
@ -100,7 +99,6 @@ object TweetSafetyLabelType extends SafetyLabelType {
s.SafetyLabelType.Pdna -> Pdna, s.SafetyLabelType.Pdna -> Pdna,
s.SafetyLabelType.RecommendationsLowQuality -> RecommendationsLowQuality, s.SafetyLabelType.RecommendationsLowQuality -> RecommendationsLowQuality,
s.SafetyLabelType.RitoActionedTweet -> RitoActionedTweet, s.SafetyLabelType.RitoActionedTweet -> RitoActionedTweet,
s.SafetyLabelType.SafetyCrisis -> SafetyCrisis,
s.SafetyLabelType.SearchBlacklist -> SearchBlacklist, s.SafetyLabelType.SearchBlacklist -> SearchBlacklist,
s.SafetyLabelType.SearchBlacklistHighRecall -> SearchBlacklistHighRecall, s.SafetyLabelType.SearchBlacklistHighRecall -> SearchBlacklistHighRecall,
s.SafetyLabelType.SemanticCoreMisinformation -> SemanticCoreMisinformation, s.SafetyLabelType.SemanticCoreMisinformation -> SemanticCoreMisinformation,
@ -249,7 +247,6 @@ object TweetSafetyLabelType extends SafetyLabelType {
case object HighProactiveTosScore extends TweetSafetyLabelType case object HighProactiveTosScore extends TweetSafetyLabelType
case object SafetyCrisis extends TweetSafetyLabelType case object SafetyCrisis extends TweetSafetyLabelType
case object MisinfoCivic extends TweetSafetyLabelType case object MisinfoCivic extends TweetSafetyLabelType
case object MisinfoCrisis extends TweetSafetyLabelType
case object MisinfoGeneric extends TweetSafetyLabelType case object MisinfoGeneric extends TweetSafetyLabelType
case object MisinfoMedical extends TweetSafetyLabelType case object MisinfoMedical extends TweetSafetyLabelType
case object AdsManagerDenyList extends TweetSafetyLabelType case object AdsManagerDenyList extends TweetSafetyLabelType

View File

@ -112,7 +112,6 @@ object Reason {
case object FirstPageSearchResult extends Reason case object FirstPageSearchResult extends Reason
case object MisinfoCivic extends Reason case object MisinfoCivic extends Reason
case object MisinfoCrisis extends Reason
case object MisinfoGeneric extends Reason case object MisinfoGeneric extends Reason
case object MisinfoMedical extends Reason case object MisinfoMedical extends Reason
case object Misleading extends Reason case object Misleading extends Reason

View File

@ -51,7 +51,6 @@ object PublicInterest {
PolicyInViolation.Scam -> Scams, PolicyInViolation.Scam -> Scams,
PolicyInViolation.PlatformManipulation -> PlatformManipulation, PolicyInViolation.PlatformManipulation -> PlatformManipulation,
PolicyInViolation.MisinformationCivic -> MisinfoCivic, PolicyInViolation.MisinformationCivic -> MisinfoCivic,
PolicyInViolation.AbusePolicyUkraineCrisisMisinformation -> MisinfoCrisis,
PolicyInViolation.MisinformationGeneric -> MisinfoGeneric, PolicyInViolation.MisinformationGeneric -> MisinfoGeneric,
PolicyInViolation.MisinformationMedical -> MisinfoMedical, PolicyInViolation.MisinformationMedical -> MisinfoMedical,
) )
@ -76,7 +75,6 @@ object PublicInterest {
Scams -> PolicyInViolation.Scam, Scams -> PolicyInViolation.Scam,
PlatformManipulation -> PolicyInViolation.PlatformManipulation, PlatformManipulation -> PolicyInViolation.PlatformManipulation,
MisinfoCivic -> PolicyInViolation.MisinformationCivic, MisinfoCivic -> PolicyInViolation.MisinformationCivic,
MisinfoCrisis -> PolicyInViolation.AbusePolicyUkraineCrisisMisinformation,
MisinfoGeneric -> PolicyInViolation.MisinformationGeneric, MisinfoGeneric -> PolicyInViolation.MisinformationGeneric,
MisinfoMedical -> PolicyInViolation.MisinformationMedical, MisinfoMedical -> PolicyInViolation.MisinformationMedical,
) )
@ -101,7 +99,6 @@ object PublicInterest {
Scams -> SafetyResultReason.Scams, Scams -> SafetyResultReason.Scams,
PlatformManipulation -> SafetyResultReason.PlatformManipulation, PlatformManipulation -> SafetyResultReason.PlatformManipulation,
MisinfoCivic -> SafetyResultReason.MisinfoCivic, MisinfoCivic -> SafetyResultReason.MisinfoCivic,
MisinfoCrisis -> SafetyResultReason.MisinfoCrisis,
MisinfoGeneric -> SafetyResultReason.MisinfoGeneric, MisinfoGeneric -> SafetyResultReason.MisinfoGeneric,
MisinfoMedical -> SafetyResultReason.MisinfoMedical, MisinfoMedical -> SafetyResultReason.MisinfoMedical,
IpiDevelopmentOnly -> SafetyResultReason.DevelopmentOnlyPublicInterest IpiDevelopmentOnly -> SafetyResultReason.DevelopmentOnlyPublicInterest
@ -118,7 +115,6 @@ object PublicInterest {
TweetSafetyLabelType.MisinfoCivic, TweetSafetyLabelType.MisinfoCivic,
TweetSafetyLabelType.MisinfoGeneric, TweetSafetyLabelType.MisinfoGeneric,
TweetSafetyLabelType.MisinfoMedical, TweetSafetyLabelType.MisinfoMedical,
TweetSafetyLabelType.MisinfoCrisis,
TweetSafetyLabelType.IpiDevelopmentOnly TweetSafetyLabelType.IpiDevelopmentOnly
) )
@ -173,9 +169,6 @@ class PublicInterestActionBuilder[T <: Action]() extends ActionBuilder[T] {
case Some((TweetSafetyLabelType.MisinfoCivic, source)) => case Some((TweetSafetyLabelType.MisinfoCivic, source)) =>
(Reason.MisinfoCivic, LimitedEngagementReason.fromString(source.map(_.name))) (Reason.MisinfoCivic, LimitedEngagementReason.fromString(source.map(_.name)))
case Some((TweetSafetyLabelType.MisinfoCrisis, source)) =>
(Reason.MisinfoCrisis, LimitedEngagementReason.fromString(source.map(_.name)))
case Some((TweetSafetyLabelType.MisinfoGeneric, source)) => case Some((TweetSafetyLabelType.MisinfoGeneric, source)) =>
(Reason.MisinfoGeneric, LimitedEngagementReason.fromString(source.map(_.name))) (Reason.MisinfoGeneric, LimitedEngagementReason.fromString(source.map(_.name)))
@ -220,9 +213,6 @@ class PublicInterestComplianceTweetNoticeActionBuilder
case Some((TweetSafetyLabelType.MisinfoCivic, _)) => case Some((TweetSafetyLabelType.MisinfoCivic, _)) =>
Reason.MisinfoCivic Reason.MisinfoCivic
case Some((TweetSafetyLabelType.MisinfoCrisis, _)) =>
Reason.MisinfoCrisis
case Some((TweetSafetyLabelType.MisinfoGeneric, _)) => case Some((TweetSafetyLabelType.MisinfoGeneric, _)) =>
Reason.MisinfoGeneric Reason.MisinfoGeneric
@ -257,9 +247,6 @@ class PublicInterestDropActionBuilder extends ActionBuilder[Drop] {
case Some(TweetSafetyLabelType.MisinfoCivic) => case Some(TweetSafetyLabelType.MisinfoCivic) =>
Reason.MisinfoCivic Reason.MisinfoCivic
case Some(TweetSafetyLabelType.MisinfoCrisis) =>
Reason.MisinfoCrisis
case Some(TweetSafetyLabelType.MisinfoGeneric) => case Some(TweetSafetyLabelType.MisinfoGeneric) =>
Reason.MisinfoGeneric Reason.MisinfoGeneric