vigiles API reference
    Preparing search index...

    Function paid_judged

    The one member of the declarative check vocabulary that bills: its default judge is a real model call. Every other Check is deterministic and lives unprefixed on the free root barrel.

    ⚠️ The paid_ prefix overstates slightly, and this is the symbol it overstates most: paid_judged(rubric, { judge: myFn }) calls YOUR function and spends nothing. Only paid_judged(rubric) — the default — bills.

    • A model-graded check: the agent's output scores ≥ min against rubric, judged by a model. Unlike the deterministic checks this one calls a model (cost), so it's for the scored measure tier; the judge fn is injectable (default: the real judge()), so the logic is unit-testable with a fake.

      Parameters

      • rubric: string
      • opts: { judge?: JudgeFn; min?: number } = {}

      Returns Check<Trace>