Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    PolicyKindRules

    Fields

    Opt-in failure-kind weighting for the release gate.

    3 fields
    enabled
    boolean
    infrastructure
    PolicyKindBudget or null
    test_code
    PolicyKindBudget or null
    Raw schema (JSON)
    {
      "description": "Opt-in failure-kind weighting for the release gate (US-9.3).\n\nSTRICTLY OPT-IN: ``enabled`` defaults to False and the evaluator treats\na disabled/absent block as byte-identical to today's behaviour (pinned by\n``tests/test_kind_gate_policy.py``). Kinds come from the derived triad in\n``app/services/failure_kind.py`` (AI-classified — never ground truth).\n\nOnly ``infrastructure`` and ``test_code`` may carry budgets. ``product``\nfailures always count and ``unknown`` failures are conservatively counted\nas product — neither is representable here on purpose.",
      "properties": {
        "enabled": {
          "default": false,
          "title": "Enabled",
          "type": "boolean"
        },
        "infrastructure": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/PolicyKindBudget"
            },
            {
              "type": "null"
            }
          ]
        },
        "test_code": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/PolicyKindBudget"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "title": "PolicyKindRules",
      "type": "object"
    }

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