changedInput schema / properties / case / properties / probe / properties / metrics / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Numeric expected values must appear among the numbers in the text; other\nexpected values must equal the entire trimmed text.",
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected_value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- }
- ],
- "title": "Expected Value"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "type": {
- "const": "exact_value",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "expected_value"
- ],
- "title": "ExactValueMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "The exact set of values selected by `source` must equal `expected_entities`\nin every execution.",
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected_entities": {
- "items": {
- "type": "string"
- },
- "title": "Expected Entities",
- "type": "array"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "source": {
- "default": "tool_names",
- "title": "Source",
- "type": "string"
- },
- "type": {
- "const": "set_equality",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "expected_entities"
- ],
- "title": "SetEqualityMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "entities": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "title": "Entities",
- "type": "array"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "source": {
- "title": "Source",
- "type": "string"
- },
- "type": {
- "const": "required_entities",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "entities",
- "source"
- ],
- "title": "RequiredEntitiesMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "entities": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "title": "Entities",
- "type": "array"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "source": {
- "title": "Source",
- "type": "string"
- },
- "type": {
- "const": "forbidden_entities",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "entities",
- "source"
- ],
- "title": "ForbiddenEntitiesMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Every numeric value selected by the JSONPath `source` must fall within the\nrange, and at least one value must be present, in every execution.",
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "maximum": {
- "title": "Maximum",
- "type": "number"
- },
- "minimum": {
- "title": "Minimum",
- "type": "number"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "source": {
- "title": "Source",
- "type": "string"
- },
- "type": {
- "const": "numeric_range",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "minimum",
- "maximum",
- "source"
- ],
- "title": "NumericRangeMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "type": {
- "const": "contains",
- "title": "Type",
- "type": "string"
- },
- "values": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "title": "Values",
- "type": "array"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "values"
- ],
- "title": "ContainsMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "type": {
- "const": "does_not_contain",
- "title": "Type",
- "type": "string"
- },
- "values": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "title": "Values",
- "type": "array"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "values"
- ],
- "title": "DoesNotContainMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Simpson concentration of the selected values across repeated executions.",
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "minimum_score": {
- "default": 1,
- "maximum": 1,
- "minimum": 0,
- "title": "Minimum Score",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "source": {
- "default": "auto",
- "title": "Source",
- "type": "string"
- },
- "type": {
- "const": "consistency",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type"
- ],
- "title": "ConsistencyMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected": {
- "default": "called",
- "enum": [
- "called",
- "not_called"
- ],
- "title": "Expected",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "tool_name": {
- "minLength": 1,
- "title": "Tool Name",
- "type": "string"
- },
- "type": {
- "const": "tool_called",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "tool_name"
- ],
- "title": "ToolCalledMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "maximum": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Maximum"
- },
- "minimum": {
- "minimum": 0,
- "title": "Minimum",
- "type": "integer"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "tool_name": {
- "minLength": 1,
- "title": "Tool Name",
- "type": "string"
- },
- "type": {
- "const": "tool_call_count",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "tool_name",
- "minimum"
- ],
- "title": "ToolCallCountMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "first_tool": {
- "minLength": 1,
- "title": "First Tool",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "then_tool": {
- "minLength": 1,
- "title": "Then Tool",
- "type": "string"
- },
- "type": {
- "const": "tool_order",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "first_tool",
- "then_tool"
- ],
- "title": "ToolOrderMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected_outcome": {
- "default": "succeeded",
- "enum": [
- "succeeded",
- "failed"
- ],
- "title": "Expected Outcome",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "tool_name": {
- "minLength": 1,
- "title": "Tool Name",
- "type": "string"
- },
- "type": {
- "const": "tool_outcome",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "tool_name"
- ],
- "title": "ToolOutcomeMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Match selected inputs within a call, then quantify over calls.",
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "contains": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Contains"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected": {
- "default": "matches",
- "enum": [
- "matches",
- "does_not_match"
- ],
- "title": "Expected",
- "type": "string"
- },
- "expected_value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Expected Value"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "maximum": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Maximum"
- },
- "minimum": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Minimum"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "normalize": {
- "default": true,
- "title": "Normalize",
- "type": "boolean"
- },
- "path": {
- "minLength": 1,
- "title": "Path",
- "type": "string"
- },
- "quantifier": {
- "default": "any_call",
- "enum": [
- "every_call",
- "any_call"
- ],
- "title": "Quantifier",
- "type": "string"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "tool_name": {
- "minLength": 1,
- "title": "Tool Name",
- "type": "string"
- },
- "type": {
- "const": "tool_input_matches",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "tool_name",
- "path"
- ],
- "title": "ToolInputMatchesMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected": {
- "default": "invoked",
- "enum": [
- "invoked",
- "not_invoked"
- ],
- "title": "Expected",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "subagent_name": {
- "minLength": 1,
- "title": "Subagent Name",
- "type": "string"
- },
- "type": {
- "const": "subagent_invoked",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "subagent_name"
- ],
- "title": "SubagentInvokedMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected_outcome": {
- "default": "succeeded",
- "enum": [
- "succeeded",
- "failed"
- ],
- "title": "Expected Outcome",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "subagent_name": {
- "minLength": 1,
- "title": "Subagent Name",
- "type": "string"
- },
- "type": {
- "const": "subagent_outcome",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "subagent_name"
- ],
- "title": "SubagentOutcomeMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "`path` must select at least one value from the structured output.",
- "properties": {
- "description": {
- "title": "Description",
- "type": "string"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "path": {
- "minLength": 1,
- "title": "Path",
- "type": "string"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "type": {
- "const": "json_path_exists",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "path"
- ],
- "title": "JsonPathExistsMetric",
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Values selected by `path` from the structured output must satisfy the\nconfigured condition: equal `expected_value`, contain `contains`, or lie\nwithin `minimum`/`maximum`.",
- "properties": {
- "case_sensitive": {
- "default": false,
- "title": "Case Sensitive",
- "type": "boolean"
- },
- "contains": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Contains"
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "expected_value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Expected Value"
- },
- "key": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9_]*$",
- "title": "Key",
- "type": "string"
- },
- "maximum": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Maximum"
- },
- "minimum": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Minimum"
- },
- "minimum_pass_fraction": {
- "default": 1,
- "exclusiveMinimum": 0,
- "maximum": 1,
- "title": "Minimum Pass Fraction",
- "type": "number"
- },
- "path": {
- "minLength": 1,
- "title": "Path",
- "type": "string"
- },
- "requirement_refs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behavior_id": {
- "minLength": 1,
- "title": "Behavior Id",
- "type": "string"
- },
- "requirement_id": {
- "minLength": 1,
- "title": "Requirement Id",
- "type": "string"
- }
- },
- "required": [
- "behavior_id",
- "requirement_id"
- ],
- "title": "RequirementReference",
- "type": "object"
- },
- "title": "Requirement Refs",
- "type": "array"
- },
- "severity": {
- "default": "blocking",
- "enum": [
- "blocking",
- "informational"
- ],
- "title": "Severity",
- "type": "string"
- },
- "type": {
- "const": "json_path_value",
- "title": "Type",
- "type": "string"
- }
- },
- "required": [
- "key",
- "description",
- "requirement_refs",
- "type",
- "path"
- ],
- "title": "JsonPathValueMetric",
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Numeric expected values must appear among the numbers in the text; other\nexpected values must equal the entire trimmed text.",
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ }
+ ],
+ "title": "Expected Value"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "type": {
+ "const": "exact_value",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "expected_value"
+ ],
+ "title": "ExactValueMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "The exact set of values selected by `source` must equal `expected_entities`\nin every execution.",
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected_entities": {
+ "items": {
+ "type": "string"
+ },
+ "title": "Expected Entities",
+ "type": "array"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "source": {
+ "default": "tool_names",
+ "title": "Source",
+ "type": "string"
+ },
+ "type": {
+ "const": "set_equality",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "expected_entities"
+ ],
+ "title": "SetEqualityMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "entities": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "title": "Entities",
+ "type": "array"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "source": {
+ "title": "Source",
+ "type": "string"
+ },
+ "type": {
+ "const": "required_entities",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "entities",
+ "source"
+ ],
+ "title": "RequiredEntitiesMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "entities": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "title": "Entities",
+ "type": "array"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "source": {
+ "title": "Source",
+ "type": "string"
+ },
+ "type": {
+ "const": "forbidden_entities",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "entities",
+ "source"
+ ],
+ "title": "ForbiddenEntitiesMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Every numeric value selected by the JSONPath `source` must fall within the\nrange, and at least one value must be present, in every execution.",
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "maximum": {
+ "title": "Maximum",
+ "type": "number"
+ },
+ "minimum": {
+ "title": "Minimum",
+ "type": "number"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "source": {
+ "title": "Source",
+ "type": "string"
+ },
+ "type": {
+ "const": "numeric_range",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "minimum",
+ "maximum",
+ "source"
+ ],
+ "title": "NumericRangeMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "type": {
+ "const": "contains",
+ "title": "Type",
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "title": "Values",
+ "type": "array"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "values"
+ ],
+ "title": "ContainsMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "type": {
+ "const": "does_not_contain",
+ "title": "Type",
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "title": "Values",
+ "type": "array"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "values"
+ ],
+ "title": "DoesNotContainMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Simpson concentration of one value per repetition across repeated executions.\n\nThe value is what `source` selects from each reply or, with source `check`,\nwhether the nested `check` held in that repetition, so the metric passes when\nthe check held in every repetition or in none.",
+ "properties": {
+ "check": {
+ "anyOf": [
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expected": {
+ "default": "called",
+ "enum": [
+ "called",
+ "not_called"
+ ],
+ "title": "Expected",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_called",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool_name"
+ ],
+ "title": "ToolCalledCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "maximum": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Maximum"
+ },
+ "minimum": {
+ "minimum": 0,
+ "title": "Minimum",
+ "type": "integer"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_call_count",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool_name",
+ "minimum"
+ ],
+ "title": "ToolCallCountCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "first_tool": {
+ "minLength": 1,
+ "title": "First Tool",
+ "type": "string"
+ },
+ "then_tool": {
+ "minLength": 1,
+ "title": "Then Tool",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_order",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "first_tool",
+ "then_tool"
+ ],
+ "title": "ToolOrderCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expected_outcome": {
+ "default": "succeeded",
+ "enum": [
+ "succeeded",
+ "failed"
+ ],
+ "title": "Expected Outcome",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_outcome",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool_name"
+ ],
+ "title": "ToolOutcomeCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Match selected inputs within a call, then quantify over calls.",
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "contains": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Contains"
+ },
+ "expected": {
+ "default": "matches",
+ "enum": [
+ "matches",
+ "does_not_match"
+ ],
+ "title": "Expected",
+ "type": "string"
+ },
+ "expected_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Expected Value"
+ },
+ "maximum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Maximum"
+ },
+ "minimum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Minimum"
+ },
+ "normalize": {
+ "default": true,
+ "title": "Normalize",
+ "type": "boolean"
+ },
+ "path": {
+ "minLength": 1,
+ "title": "Path",
+ "type": "string"
+ },
+ "quantifier": {
+ "default": "any_call",
+ "enum": [
+ "every_call",
+ "any_call"
+ ],
+ "title": "Quantifier",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_input_matches",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool_name",
+ "path"
+ ],
+ "title": "ToolInputMatchesCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expected": {
+ "default": "invoked",
+ "enum": [
+ "invoked",
+ "not_invoked"
+ ],
+ "title": "Expected",
+ "type": "string"
+ },
+ "subagent_name": {
+ "minLength": 1,
+ "title": "Subagent Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "subagent_invoked",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "subagent_name"
+ ],
+ "title": "SubagentInvokedCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expected_outcome": {
+ "default": "succeeded",
+ "enum": [
+ "succeeded",
+ "failed"
+ ],
+ "title": "Expected Outcome",
+ "type": "string"
+ },
+ "subagent_name": {
+ "minLength": 1,
+ "title": "Subagent Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "subagent_outcome",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "subagent_name"
+ ],
+ "title": "SubagentOutcomeCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "`path` must select at least one value from the structured output.",
+ "properties": {
+ "path": {
+ "minLength": 1,
+ "title": "Path",
+ "type": "string"
+ },
+ "type": {
+ "const": "json_path_exists",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "path"
+ ],
+ "title": "JsonPathExistsCheck",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Values selected by `path` from the structured output must satisfy the\nconfigured condition: equal `expected_value`, contain `contains`, or lie\nwithin `minimum`/`maximum`.",
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "contains": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Contains"
+ },
+ "expected_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Expected Value"
+ },
+ "maximum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Maximum"
+ },
+ "minimum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Minimum"
+ },
+ "path": {
+ "minLength": 1,
+ "title": "Path",
+ "type": "string"
+ },
+ "type": {
+ "const": "json_path_value",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "path"
+ ],
+ "title": "JsonPathValueCheck",
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Check"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "minimum_score": {
+ "default": 1,
+ "maximum": 1,
+ "minimum": 0,
+ "title": "Minimum Score",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "source": {
+ "default": "auto",
+ "title": "Source",
+ "type": "string"
+ },
+ "type": {
+ "const": "consistency",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type"
+ ],
+ "title": "ConsistencyMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected": {
+ "default": "called",
+ "enum": [
+ "called",
+ "not_called"
+ ],
+ "title": "Expected",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_called",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "tool_name"
+ ],
+ "title": "ToolCalledMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "maximum": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Maximum"
+ },
+ "minimum": {
+ "minimum": 0,
+ "title": "Minimum",
+ "type": "integer"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_call_count",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "tool_name",
+ "minimum"
+ ],
+ "title": "ToolCallCountMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "first_tool": {
+ "minLength": 1,
+ "title": "First Tool",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "then_tool": {
+ "minLength": 1,
+ "title": "Then Tool",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_order",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "first_tool",
+ "then_tool"
+ ],
+ "title": "ToolOrderMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected_outcome": {
+ "default": "succeeded",
+ "enum": [
+ "succeeded",
+ "failed"
+ ],
+ "title": "Expected Outcome",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_outcome",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "tool_name"
+ ],
+ "title": "ToolOutcomeMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Match selected inputs within a call, then quantify over calls.",
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "contains": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Contains"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected": {
+ "default": "matches",
+ "enum": [
+ "matches",
+ "does_not_match"
+ ],
+ "title": "Expected",
+ "type": "string"
+ },
+ "expected_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Expected Value"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "maximum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Maximum"
+ },
+ "minimum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Minimum"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "normalize": {
+ "default": true,
+ "title": "Normalize",
+ "type": "boolean"
+ },
+ "path": {
+ "minLength": 1,
+ "title": "Path",
+ "type": "string"
+ },
+ "quantifier": {
+ "default": "any_call",
+ "enum": [
+ "every_call",
+ "any_call"
+ ],
+ "title": "Quantifier",
+ "type": "string"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "title": "Tool Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool_input_matches",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "tool_name",
+ "path"
+ ],
+ "title": "ToolInputMatchesMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected": {
+ "default": "invoked",
+ "enum": [
+ "invoked",
+ "not_invoked"
+ ],
+ "title": "Expected",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "subagent_name": {
+ "minLength": 1,
+ "title": "Subagent Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "subagent_invoked",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "subagent_name"
+ ],
+ "title": "SubagentInvokedMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected_outcome": {
+ "default": "succeeded",
+ "enum": [
+ "succeeded",
+ "failed"
+ ],
+ "title": "Expected Outcome",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "subagent_name": {
+ "minLength": 1,
+ "title": "Subagent Name",
+ "type": "string"
+ },
+ "type": {
+ "const": "subagent_outcome",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "subagent_name"
+ ],
+ "title": "SubagentOutcomeMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "`path` must select at least one value from the structured output.",
+ "properties": {
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "path": {
+ "minLength": 1,
+ "title": "Path",
+ "type": "string"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "type": {
+ "const": "json_path_exists",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "path"
+ ],
+ "title": "JsonPathExistsMetric",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Values selected by `path` from the structured output must satisfy the\nconfigured condition: equal `expected_value`, contain `contains`, or lie\nwithin `minimum`/`maximum`.",
+ "properties": {
+ "case_sensitive": {
+ "default": false,
+ "title": "Case Sensitive",
+ "type": "boolean"
+ },
+ "contains": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Contains"
+ },
+ "description": {
+ "title": "Description",
+ "type": "string"
+ },
+ "expected_value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Expected Value"
+ },
+ "key": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9_]*$",
+ "title": "Key",
+ "type": "string"
+ },
+ "maximum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Maximum"
+ },
+ "minimum": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Minimum"
+ },
+ "minimum_pass_fraction": {
+ "default": 1,
+ "exclusiveMinimum": 0,
+ "maximum": 1,
+ "title": "Minimum Pass Fraction",
+ "type": "number"
+ },
+ "path": {
+ "minLength": 1,
+ "title": "Path",
+ "type": "string"
+ },
+ "requirement_refs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behavior_id": {
+ "minLength": 1,
+ "title": "Behavior Id",
+ "type": "string"
+ },
+ "requirement_id": {
+ "minLength": 1,
+ "title": "Requirement Id",
+ "type": "string"
+ }
+ },
+ "required": [
+ "behavior_id",
+ "requirement_id"
+ ],
+ "title": "RequirementReference",
+ "type": "object"
+ },
+ "title": "Requirement Refs",
+ "type": "array"
+ },
+ "severity": {
+ "default": "blocking",
+ "enum": [
+ "blocking",
+ "informational"
+ ],
+ "title": "Severity",
+ "type": "string"
+ },
+ "type": {
+ "const": "json_path_value",
+ "title": "Type",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "description",
+ "requirement_refs",
+ "type",
+ "path"
+ ],
+ "title": "JsonPathValueMetric",
+ "type": "object"
+ }
+]