Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    ThresholdCheck

    Fields

    The recorded confidence-gate evaluation for one AI output.

    4 fields
    observed_confidence
    integer or null
    passed · required
    boolean
    source · required
    string
    threshold · required
    integer
    Raw schema (JSON)
    {
      "description": "US-15.2 — the recorded confidence-gate evaluation for one AI output.\n\nPersisted verbatim in ``AIAnalysis.routing_metadata[\"threshold_check\"]``\nand ``Defect.policy_evaluation[\"threshold_check\"]``. Built by\n``services.confidence_gate.build_threshold_check`` — keep the shapes in\nsync (four keys, no more).",
      "properties": {
        "observed_confidence": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Observed Confidence"
        },
        "passed": {
          "title": "Passed",
          "type": "boolean"
        },
        "source": {
          "title": "Source",
          "type": "string"
        },
        "threshold": {
          "title": "Threshold",
          "type": "integer"
        }
      },
      "required": [
        "threshold",
        "passed",
        "source"
      ],
      "title": "ThresholdCheck",
      "type": "object"
    }

    3 endpoints send or return this schema, on its own or inside another schema.