@agora-protocol/reputation
v0.3.3
Published
ACP reputation system: weighted trust graph, anti-gaming filter
Maintainers
Readme
@agora-protocol/reputation
Trust-weighted reputation system for the ACP Protocol.
Install
npm install @agora-protocol/reputationWhat's inside
ReputationCalculator— PageRank-style weighting so a highly-trusted agent's evaluations count more.ReputationService— public API (submitEvaluation,recordCommitmentResult,recordCompactionRejection). Accepts{sandbox: true}to no-op in sandbox rooms (spec §24).TrustGraph— the graph primitive, with fast inverse-weight lookups.AntiGamingFilter— drops sock-puppet and intra-org collusion evaluations. Exposes anonDropped(evaluation)callback for observability.
Sandbox rooms deliberately do not affect real-world reputation. Anti-gaming is applied before the weighted calculation so a ring of freshly-minted identities cannot game the score.
License
MIT
