forked from Ikalus1988/MisakaNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresult.json
More file actions
78 lines (78 loc) 路 2.68 KB
/
Copy pathresult.json
File metadata and controls
78 lines (78 loc) 路 2.68 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://misakanet.org/schemas/benchmark-result.json",
"title": "MisakaNet benchmark result",
"type": "object",
"additionalProperties": false,
"required": ["meta", "tasks", "summary"],
"properties": {
"meta": {
"type": "object",
"additionalProperties": false,
"required": ["run_id", "timestamp", "git_sha", "platform", "node_version"],
"properties": {
"run_id": {"type": "string", "minLength": 1},
"timestamp": {"type": "string", "format": "date-time"},
"git_sha": {"type": "string", "minLength": 1},
"platform": {"type": "string", "minLength": 1},
"node_version": {"type": "string", "minLength": 1},
"agent": {"type": "string"},
"model": {"type": "string"}
}
},
"tasks": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"task_id", "name", "category", "outcome", "attempts",
"duration_ms", "cost_usd", "lessons_used", "error"
],
"properties": {
"task_id": {"type": "string", "minLength": 1},
"name": {"type": "string", "minLength": 1},
"category": {"type": "string"},
"outcome": {"enum": ["success", "failure", "timeout", "error"]},
"attempts": {"type": "integer", "minimum": 0},
"duration_ms": {"type": "number", "minimum": 0},
"cost_usd": {"type": "number", "minimum": 0},
"lessons_used": {
"type": "array",
"items": {"type": "string"}
},
"error": {"type": ["string", "null"]}
}
}
},
"summary": {
"type": "object",
"additionalProperties": false,
"required": [
"total_tasks", "success_rate", "mean_attempts",
"mean_duration", "total_cost"
],
"properties": {
"total_tasks": {"type": "integer", "minimum": 0},
"success_rate": {"type": "number", "minimum": 0, "maximum": 1},
"mean_attempts": {"type": "number", "minimum": 0},
"mean_duration": {"type": "number", "minimum": 0},
"total_cost": {"type": "number", "minimum": 0}
}
},
"diff": {
"type": "object",
"additionalProperties": false,
"properties": {
"baseline_run_id": {"type": "string"},
"changed_outcomes": {"type": "array", "items": {"type": "object"}},
"regressions": {"type": "array", "items": {"type": "object"}}
}
},
"legacy": {
"type": "object",
"description": "Optional fields retained for existing leaderboard consumers.",
"additionalProperties": true
}
}
}