extend accountLevelShadowbanMaxTime to (false) spam reports
This commit is contained in:
parent
b9fa410ccd
commit
918fa11ab2
|
@ -78,6 +78,7 @@ object InteractionGraphNegativeJob extends ScioBeamJob[InteractionGraphNegativeO
|
||||||
readSnapshot(FlockReportAsSpamEdgesScalaDataset, sc),
|
readSnapshot(FlockReportAsSpamEdgesScalaDataset, sc),
|
||||||
FeatureName.NumReportAsSpams,
|
FeatureName.NumReportAsSpams,
|
||||||
endTs)
|
endTs)
|
||||||
|
.filter(_.age < accountLevelShadowbanMaxTime)
|
||||||
|
|
||||||
// we only keep unfollows in the past X days due to the huge size of this dataset,
|
// we only keep unfollows in the past X days due to the huge size of this dataset,
|
||||||
// and to prevent permanent "shadow-banning" in the event of accidental unfollows.
|
// and to prevent permanent "shadow-banning" in the event of accidental unfollows.
|
||||||
|
|
Loading…
Reference in New Issue