Saxonberg Server API
    Preparing search index...
    Index

    Properties

    BANDS: readonly ("fine" | "poor" | "fair" | "exceptional" | "masterful")[] = GRADE_BANDS

    The band vocabulary, ascending — re-exported for callers.

    Methods

    • Derive an output grade from input grades at a fixed control level (the v1 skill seam). The rule is weakest-link: a craft is only as good as its poorest input — min across the inputs. The _control parameter is the deferred skill seam (a master would let the best input dominate and reach the material's extremes); v1 ignores it, keeping the signature stable for the advancement layer to light up.

      With no inputs, falls back to fair (a neutral middle), so a craft with no graded matter still yields a verdict.

      Parameters

      • inputGrades: readonly Grade[]
      • Optional_control: number

      Returns Grade

    • Narrowing predicate for a string against the band vocabulary.

      Parameters

      • s: string

      Returns s is "fine" | "poor" | "fair" | "exceptional" | "masterful"