@pwngh/economy-lab
    Preparing search index...

    Function detectVelocityAnomaly

    • Sums submit rejections whose reason is RISK_DENIED over the trailing window and fires at or above the threshold, or returns null. The finding tallies per operation kind and carries a rounded per-minute rate; a spike is read as a fraud signal (a cohort probing the velocity limits) before it is read as a tuning problem.

      Parameters

      • signals: SignalFeed
      • now: number
      • options: { threshold: number; windowMs: number }

      Returns VelocityAnomalyFinding | null