Repository navigation
Expand file tree
/
Copy patheval-request.schema.json
More file actions
35 lines (35 loc) · 2.48 KB
/
Copy patheval-request.schema.json
File metadata and controls
35 lines (35 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Skillfit Agent evaluation request version 1",
"type": "object",
"additionalProperties": false,
"required": ["schemaVersion", "baselineSkill", "candidateSkill", "bench", "agent", "purpose", "trials", "maxCalls", "runsRoot", "runGroup"],
"properties": {
"schemaVersion": { "const": 1 },
"baselineSkill": { "anyOf": [{ "$ref": "#/$defs/path" }, { "type": "null" }], "description": "Previous complete Skill directory, or explicit null for no Skill installed by the harness in baseline." },
"candidateSkill": { "$ref": "#/$defs/path" },
"bench": { "$ref": "#/$defs/path" },
"agent": { "enum": ["codex", "claude-code", "kimi-code"] },
"purpose": { "enum": ["development", "validation"] },
"pairOrder": { "enum": ["baseline-first", "balanced"], "default": "baseline-first" },
"executorTimeoutSeconds": { "type": ["integer", "null"], "minimum": 1, "maximum": 3600, "default": 600, "description": "Explicit null disables the Agent deadline and requires supported Token-only spending limits; omission retains 600 seconds." },
"taskIds": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" } },
"trials": { "type": "integer", "minimum": 1, "maximum": 20 },
"maxCalls": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
"spendingBudget": {
"type": "object", "additionalProperties": false,
"required": ["input", "cachedInput", "uncachedInput", "output", "durationSeconds"],
"properties": {
"input": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
"cachedInput": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
"uncachedInput": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
"output": { "type": "integer", "minimum": 1, "maximum": 9007199254740991 },
"durationSeconds": { "type": ["number", "null"], "exclusiveMinimum": 0, "maximum": 9007199254740991, "description": "Explicit null selects Token-only during-call observation on supported adapters; a positive number retains legacy between-call stopping." }
}
},
"runsRoot": { "$ref": "#/$defs/path" },
"runGroup": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" },
"policy": { "$ref": "eval-policy.schema.json" }
},
"$defs": { "path": { "type": "string", "minLength": 1, "pattern": "\\S", "not": { "pattern": "\\u0000" } } }
}