mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
The GrapeRank engine, TrustGraph (compact int-CSR) and TrustGraphBuilder are pure Nostr-social-graph computation over HexKeys — no UI, no Compose, and no commons-only dependency. They're a utility for implementing the NIP-85 rank assertions quartz already models, so they belong in quartz rather than commons. Move commons/wot -> quartz experimental/graperank (package com.vitorpamplona.quartz.experimental.graperank), including both commonTest suites, and repoint the CLI import. TrustGraphBuilder was already protocol-agnostic (takes HexKey lists; the caller does the event->edge extraction), so nothing had to change but the package. Makes the algorithm reusable by the Android app for spam/trust filtering without pulling in commons.