the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

Tweepcred: Clamp + Entropy Guard to prevent coordinated lists & brigades

Open infinitumsimias opened this issue 5 months ago • 2 comments

Changes

  • Introduced maxDailyNegDelta, normalCap, and attackCap constants.
  • Added an entropy/diversity guard: if fewer than 50% of issuers are unique, classify the event as a coordinated brigade.
  • Implemented dynamic clamping: normal cap = –100, brigade cap = –20.
  • Included telemetry stubs for brigade detection and clamp activation.

Impact

  • Prevents a small group of accounts from collapsing a user’s Tweepcred in a single batch run.
  • Protects small and new creators from brigading while still applying legitimate, organic penalties.
  • Preserves organic feedback fidelity (diverse, independent block signals continue to count).
  • Provides clear telemetry for monitoring and future adjustments.

Notes

  • Backward-compatible: retains the original one-line clamp.
  • New constants are scoped private with safe defaults.
  • This patch only affects Tweepcred batch reputation adjustment; no changes to visibilitylib or ranking layers.

infinitumsimias avatar Sep 19 '25 05:09 infinitumsimias

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 19 '25 05:09 CLAassistant

Did you really use ChatGPT to make this pull request?

kehlsteinhaus avatar Sep 21 '25 20:09 kehlsteinhaus