nexus-agents - v2.80.0
    Preparing search index...

    Function computeAdaptiveThresholds

    • Computes adaptive thresholds for a CLI+category pair from outcome data.

      Below cold start threshold: returns defaults with zero confidence. Above threshold: adjusts baseline toward observed rate, scales max bonus by confidence, and detects trend.

      Parameters

      • store: OutcomeStore
      • cli: "claude" | "gemini" | "codex" | "opencode"
      • category:
            | "planning"
            | "code_generation"
            | "code_review"
            | "research"
            | "architecture"
            | "security_review"
            | "documentation"
            | "testing"
            | "devops"
            | "exploration"

      Returns AdaptiveThresholdResult