Skip to content

feat: improve trust and author-risk scoring models #382

Description

@coderabbitai

Several improvements are noted for the trust and risk systems:

Files with TODO comments:

  • src/lib/trust/service.ts line 204 — monthly active bonus should only apply to active users (recent votes, comments, listings, logins within ~1 month).
  • src/lib/trust/config.ts line 70 — TRUST_LEVELS names (Newcomer, etc.) need better names.
  • src/server/services/author-risk.service.ts line 287 — replace fixed trust-score thresholds (< -50) with an account-history calibrated risk model.
  • src/server/services/author-risk.service.ts line 319 — weight rejection history against the author's reputation and approved contribution history.
  • src/server/utils/compatibility-scoring.ts line 91 — review trust.maxBoost value (currently 5) given recent user growth.

Action required:
Address each of the above as part of a trust/risk scoring pass.


Requested by @Producdevity — related to PR #375

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions