addedInput schema / properties / runs / items / properties
Added value: +{
+ "cost_usd": {
+ "description": "USD cost of this attempt. At most six decimal places; the engine verifies whole micro-USD using floating-point tolerance. No multipleOf keyword is used, to avoid rejecting valid JSON decimals.",
+ "maximum": 10000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "latency_ms": {
+ "description": "Recorded attempt duration in milliseconds; decimals are accepted. Omit if not measured.",
+ "maximum": 86400000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "task_id": {
+ "description": "Nonempty, no control characters or surrounding whitespace. The engine additionally enforces at most 128 UTF-16 code units.",
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^(?!\\s)(?![\\s\\S]*\\s$)[^\\u0000-\\u001F\\u007F]+$",
+ "type": "string"
+ },
+ "variant": {
+ "enum": [
+ "baseline",
+ "candidate"
+ ],
+ "type": "string"
+ },
+ "workflow": {
+ "description": "Nonempty, no control characters or surrounding whitespace. The engine additionally enforces at most 80 UTF-16 code units.",
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^(?!\\s)(?![\\s\\S]*\\s$)[^\\u0000-\\u001F\\u007F]+$",
+ "type": "string"
+ }
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "properties": {
+ "config": {
+ "additionalProperties": true,
+ "properties": {
+ "maxP95LatencyMs": {
+ "maximum": 86400000000,
+ "minimum": 0,
+ "type": "number"
+ },
+ "maxSuccessRateDrop": {
+ "default": 0.02,
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minSamples": {
+ "default": 30,
+ "maximum": 500,
+ "minimum": 2,
+ "type": "integer"
+ },
+ "minSuccessRate": {
+ "default": 0.95,
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "monthlyTasks": {
+ "description": "Baseline logical tasks launched per month; the engine requires exactly one workflow if supplied.",
+ "maximum": 1000000,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "minSamples",
+ "minSuccessRate",
+ "maxSuccessRateDrop"
+ ],
+ "type": "object"
+ },
+ "schema_version": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "workflows": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "automatic_deployment_authorized": {
+ "const": false,
+ "type": "boolean"
+ },
+ "baseline_success": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "candidate_success": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "comparison": {
+ "additionalProperties": true,
+ "properties": {
+ "baseline_only_tasks": {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "candidate_only_tasks": {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "matched_task_ids": {
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "same_task_set": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "matched_task_ids",
+ "baseline_only_tasks",
+ "candidate_only_tasks",
+ "same_task_set"
+ ],
+ "type": "object"
+ },
+ "decision": {
+ "enum": [
+ "missing_comparison",
+ "collect_more_data",
+ "quality_regression",
+ "latency_data_required",
+ "latency_regression",
+ "no_economic_advantage",
+ "candidate_for_controlled_trial"
+ ],
+ "type": "string"
+ },
+ "gates": {
+ "additionalProperties": true,
+ "properties": {
+ "both_variants": {
+ "enum": [
+ "pass",
+ "fail",
+ "unknown",
+ "not_requested"
+ ],
+ "type": "string"
+ },
+ "experimental_bias_control": {
+ "const": "unknown",
+ "type": "string"
+ },
+ "lower_cost_per_successful_task": {
+ "enum": [
+ "pass",
+ "fail",
+ "unknown",
+ "not_requested"
+ ],
+ "type": "string"
+ },
+ "minimum_distinct_tasks_per_variant": {
+ "enum": [
+ "pass",
+ "fail",
+ "unknown",
+ "not_requested"
+ ],
+ "type": "string"
+ },
+ "observed_success_rate": {
+ "enum": [
+ "pass",
+ "fail",
+ "unknown",
+ "not_requested"
+ ],
+ "type": "string"
+ },
+ "recorded_latency": {
+ "enum": [
+ "pass",
+ "fail",
+ "unknown",
+ "not_requested"
+ ],
+ "type": "string"
+ },
+ "same_task_set": {
+ "enum": [
+ "pass",
+ "fail",
+ "unknown",
+ "not_requested"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "both_variants",
+ "minimum_distinct_tasks_per_variant",
+ "same_task_set",
+ "observed_success_rate",
+ "recorded_latency",
+ "lower_cost_per_successful_task",
+ "experimental_bias_control"
+ ],
+ "type": "object"
+ },
+ "workflow": {
+ "description": "Nonempty, no control characters or surrounding whitespace. The engine additionally enforces at most 80 UTF-16 code units.",
+ "maxLength": 80,
+ "minLength": 1,
+ "pattern": "^(?!\\s)(?![\\s\\S]*\\s$)[^\\u0000-\\u001F\\u007F]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "workflow",
+ "comparison",
+ "gates",
+ "decision",
+ "baseline_success",
+ "candidate_success",
+ "automatic_deployment_authorized"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "schema_version",
+ "config",
+ "workflows"
+ ],
+ "type": "object"
+}