extend accountLevelShadowbanMaxTime to (false) spam reports

This commit is contained in:
Richard Baxter 2024-07-10 17:06:31 +10:00
parent b9fa410ccd
commit 918fa11ab2
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ object InteractionGraphNegativeJob extends ScioBeamJob[InteractionGraphNegativeO
readSnapshot(FlockReportAsSpamEdgesScalaDataset, sc),
FeatureName.NumReportAsSpams,
endTs)
.filter(_.age < accountLevelShadowbanMaxTime)
// 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.