jzxiao commited on
Commit
75b9204
·
verified ·
1 Parent(s): 46bd053

Delete dbp-audit.schema.json

Browse files
Files changed (1) hide show
  1. dbp-audit.schema.json +0 -353
dbp-audit.schema.json DELETED
@@ -1,353 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "dbp-audit.schema.json",
4
- "title": "THULab DBP native-float full-wire audit",
5
- "description": "Independent DBF1/DBF2 diagnostic results. These rows do not replace or participate in the historical leaderboard.",
6
- "type": "object",
7
- "required": [
8
- "schema_version",
9
- "status",
10
- "summary",
11
- "measurement",
12
- "environment",
13
- "runtimes",
14
- "datasets",
15
- "columns",
16
- "evidence"
17
- ],
18
- "properties": {
19
- "schema_version": {"const": "dbp-native-float-audit-v1"},
20
- "status": {"enum": ["incomplete", "pending", "running", "partial", "complete", "failed"]},
21
- "generated_at": {"type": ["string", "null"]},
22
- "summary": {
23
- "type": "object",
24
- "required": [
25
- "dataset_receipt_count",
26
- "measured_dataset_count",
27
- "n_a_dataset_count",
28
- "schema_aggregate_count",
29
- "nonempty_aggregate_count",
30
- "n_a_aggregate_count"
31
- ],
32
- "properties": {
33
- "dataset_receipt_count": {"type": "integer", "minimum": 0},
34
- "measured_dataset_count": {"type": "integer", "minimum": 0},
35
- "n_a_dataset_count": {"type": "integer", "minimum": 0},
36
- "schema_aggregate_count": {"type": "integer", "minimum": 0},
37
- "nonempty_aggregate_count": {"type": "integer", "minimum": 0},
38
- "n_a_aggregate_count": {"type": "integer", "minimum": 0}
39
- },
40
- "additionalProperties": true
41
- },
42
- "measurement": {
43
- "type": "object",
44
- "required": [
45
- "context",
46
- "repeats",
47
- "warmup_blocks",
48
- "header_bytes_per_block",
49
- "encode_boundary",
50
- "decode_boundary",
51
- "ranking_integration"
52
- ],
53
- "properties": {
54
- "context": {"type": "string"},
55
- "repeats": {"type": "integer", "minimum": 1},
56
- "warmup_blocks": {"type": "integer", "minimum": 0},
57
- "header_bytes_per_block": {"const": 10},
58
- "encode_boundary": {"type": "string"},
59
- "decode_boundary": {"type": "string"},
60
- "ranking_integration": {"const": "separate"},
61
- "notes": {"type": "array", "items": {"type": "string"}}
62
- },
63
- "additionalProperties": true
64
- },
65
- "environment": {
66
- "type": "object",
67
- "properties": {
68
- "host": {"type": ["string", "null"]},
69
- "hardware": {"type": ["string", "object", "null"]},
70
- "cpu": {"type": ["string", "object", "null"]},
71
- "os": {"type": ["string", "object", "null"]},
72
- "load": {"type": ["string", "number", "object", "null"]},
73
- "clock": {"type": ["string", "object", "null"]},
74
- "cpu_affinity": {"type": ["string", "array", "null"]},
75
- "concurrent_load": {"type": ["string", "number", "object", "null"]},
76
- "shared_server": {"type": ["boolean", "null"]},
77
- "captured_at": {"type": ["string", "null"]}
78
- },
79
- "additionalProperties": true
80
- },
81
- "runtimes": {
82
- "type": "array",
83
- "items": {
84
- "type": "object",
85
- "required": ["runtime", "status"],
86
- "properties": {
87
- "runtime": {"enum": ["cpp", "java", "python"]},
88
- "status": {"$ref": "#/$defs/status"},
89
- "version": {"type": ["string", "null"]},
90
- "source_sha256": {"$ref": "#/$defs/nullableSha256"},
91
- "result_sha256": {"$ref": "#/$defs/nullableSha256"},
92
- "message": {"type": ["string", "null"]}
93
- },
94
- "additionalProperties": true
95
- }
96
- },
97
- "datasets": {
98
- "type": "array",
99
- "items": {
100
- "type": "object",
101
- "required": ["dataset", "runtime", "status"],
102
- "properties": {
103
- "dataset": {"type": "string", "minLength": 1},
104
- "runtime": {"enum": ["cpp", "java", "python"]},
105
- "label": {"type": ["string", "null"]},
106
- "status": {"$ref": "#/$defs/status"},
107
- "reason": {"type": ["string", "null"]},
108
- "receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
109
- "schema_aggregate_count": {"type": "integer", "minimum": 0},
110
- "nonempty_aggregate_count": {"type": "integer", "minimum": 0},
111
- "n_a_aggregate_count": {"type": "integer", "minimum": 0}
112
- },
113
- "additionalProperties": true
114
- }
115
- },
116
- "columns": {
117
- "type": "array",
118
- "items": {"$ref": "#/$defs/columnResult"}
119
- },
120
- "evidence": {
121
- "type": "object",
122
- "properties": {
123
- "scope_sha256": {"$ref": "#/$defs/nullableSha256"},
124
- "source_column_inventory_sha256": {"$ref": "#/$defs/nullableSha256"},
125
- "runtime_artifact_manifest_sha256": {"$ref": "#/$defs/nullableSha256"},
126
- "campaign_binding_sha256": {"$ref": "#/$defs/nullableSha256"},
127
- "frame_verification_receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
128
- "compact_collection_receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
129
- "input_scope_receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
130
- "campaign_run_receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
131
- "campaign_progress_sha256": {"$ref": "#/$defs/nullableSha256"},
132
- "environment_receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
133
- "source_evidence_chain_sha256": {"$ref": "#/$defs/nullableSha256"},
134
- "runtime_result_chain_sha256": {
135
- "type": "object",
136
- "properties": {
137
- "cpp": {"$ref": "#/$defs/nullableSha256"},
138
- "java": {"$ref": "#/$defs/nullableSha256"},
139
- "python": {"$ref": "#/$defs/nullableSha256"}
140
- },
141
- "additionalProperties": false
142
- }
143
- },
144
- "additionalProperties": true
145
- }
146
- },
147
- "allOf": [
148
- {
149
- "if": {"properties": {"status": {"const": "complete"}}, "required": ["status"]},
150
- "then": {
151
- "properties": {
152
- "summary": {
153
- "properties": {
154
- "dataset_receipt_count": {"const": 169},
155
- "measured_dataset_count": {"const": 162},
156
- "n_a_dataset_count": {"const": 7},
157
- "schema_aggregate_count": {"const": 4190},
158
- "nonempty_aggregate_count": {"const": 4096},
159
- "n_a_aggregate_count": {"const": 94}
160
- }
161
- },
162
- "measurement": {
163
- "properties": {
164
- "repeats": {"const": 1},
165
- "warmup_blocks": {"const": 20},
166
- "header_bytes_per_block": {"const": 10}
167
- }
168
- },
169
- "environment": {
170
- "required": ["hardware", "cpu", "clock", "cpu_affinity", "concurrent_load", "shared_server", "captured_at"],
171
- "properties": {
172
- "shared_server": {"const": true},
173
- "cpu": {
174
- "type": "object",
175
- "required": ["passed_receipts_at_capture"],
176
- "properties": {"passed_receipts_at_capture": {"const": 169}}
177
- }
178
- }
179
- },
180
- "runtimes": {
181
- "minItems": 3,
182
- "maxItems": 3,
183
- "items": {
184
- "allOf": [
185
- {"$ref": "#/$defs/runtimeStatus"},
186
- {"properties": {"status": {"const": "complete"}, "result_sha256": {"$ref": "#/$defs/sha256"}}, "required": ["result_sha256"]}
187
- ]
188
- },
189
- "allOf": [
190
- {"contains": {"properties": {"runtime": {"const": "cpp"}}, "required": ["runtime"]}, "minContains": 1, "maxContains": 1},
191
- {"contains": {"properties": {"runtime": {"const": "java"}}, "required": ["runtime"]}, "minContains": 1, "maxContains": 1},
192
- {"contains": {"properties": {"runtime": {"const": "python"}}, "required": ["runtime"]}, "minContains": 1, "maxContains": 1}
193
- ]
194
- },
195
- "datasets": {
196
- "minItems": 507,
197
- "maxItems": 507,
198
- "items": {
199
- "allOf": [
200
- {"$ref": "#/$defs/datasetReceipt"},
201
- {"properties": {"status": {"enum": ["ok", "n_a"]}, "receipt_sha256": {"$ref": "#/$defs/sha256"}}, "required": ["receipt_sha256", "schema_aggregate_count", "nonempty_aggregate_count", "n_a_aggregate_count"]}
202
- ]
203
- }
204
- },
205
- "columns": {
206
- "minItems": 12570,
207
- "maxItems": 12570,
208
- "items": {
209
- "allOf": [
210
- {"$ref": "#/$defs/columnResult"},
211
- {
212
- "properties": {
213
- "status": {"enum": ["ok", "n_a"]},
214
- "aggregate_id": {"type": "string", "minLength": 1},
215
- "frame_sequence_sha256": {"$ref": "#/$defs/sha256"},
216
- "expected_sequence_chain_sha256": {"$ref": "#/$defs/sha256"},
217
- "result_sha256": {"$ref": "#/$defs/sha256"},
218
- "receipt_sha256": {"$ref": "#/$defs/sha256"},
219
- "source_manifest_receipt_sha256": {"$ref": "#/$defs/sha256"},
220
- "source_aggregates_sha256": {"$ref": "#/$defs/sha256"},
221
- "source_blocks_sha256": {"$ref": "#/$defs/sha256"},
222
- "source_block_catalog_sha256": {"$ref": "#/$defs/sha256"},
223
- "runtime_artifact_manifest_sha256": {"$ref": "#/$defs/sha256"},
224
- "source_column_inventory_sha256": {"$ref": "#/$defs/sha256"},
225
- "scope_sha256": {"$ref": "#/$defs/sha256"}
226
- },
227
- "required": ["aggregate_id", "width", "max_point", "encode_ns", "decode_ns", "frame_sequence_sha256", "expected_sequence_chain_sha256", "result_sha256", "receipt_sha256", "source_manifest_receipt_sha256", "source_aggregates_sha256", "source_blocks_sha256", "source_block_catalog_sha256", "runtime_artifact_manifest_sha256", "source_column_inventory_sha256", "scope_sha256"]
228
- }
229
- ]
230
- }
231
- },
232
- "evidence": {
233
- "required": ["scope_sha256", "source_column_inventory_sha256", "runtime_artifact_manifest_sha256", "campaign_binding_sha256", "frame_verification_receipt_sha256", "compact_collection_receipt_sha256", "input_scope_receipt_sha256", "campaign_run_receipt_sha256", "campaign_progress_sha256", "environment_receipt_sha256", "source_evidence_chain_sha256", "runtime_result_chain_sha256"],
234
- "properties": {
235
- "scope_sha256": {"$ref": "#/$defs/sha256"},
236
- "source_column_inventory_sha256": {"$ref": "#/$defs/sha256"},
237
- "runtime_artifact_manifest_sha256": {"$ref": "#/$defs/sha256"},
238
- "campaign_binding_sha256": {"$ref": "#/$defs/sha256"},
239
- "frame_verification_receipt_sha256": {"$ref": "#/$defs/sha256"},
240
- "compact_collection_receipt_sha256": {"$ref": "#/$defs/sha256"},
241
- "input_scope_receipt_sha256": {"$ref": "#/$defs/sha256"},
242
- "campaign_run_receipt_sha256": {"$ref": "#/$defs/sha256"},
243
- "campaign_progress_sha256": {"$ref": "#/$defs/sha256"},
244
- "environment_receipt_sha256": {"$ref": "#/$defs/sha256"},
245
- "source_evidence_chain_sha256": {"$ref": "#/$defs/sha256"},
246
- "runtime_result_chain_sha256": {
247
- "required": ["cpp", "java", "python"],
248
- "properties": {"cpp": {"$ref": "#/$defs/sha256"}, "java": {"$ref": "#/$defs/sha256"}, "python": {"$ref": "#/$defs/sha256"}}
249
- }
250
- }
251
- }
252
- }
253
- }
254
- }
255
- ],
256
- "$defs": {
257
- "status": {
258
- "enum": ["incomplete", "pending", "running", "partial", "complete", "ok", "passed", "n_a", "failed", "skipped"]
259
- },
260
- "nullableSha256": {
261
- "type": ["string", "null"],
262
- "pattern": "^[0-9a-f]{64}$"
263
- },
264
- "sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
265
- "runtimeStatus": {
266
- "type": "object",
267
- "required": ["runtime", "status"],
268
- "properties": {
269
- "runtime": {"enum": ["cpp", "java", "python"]},
270
- "status": {"$ref": "#/$defs/status"},
271
- "version": {"type": ["string", "null"]},
272
- "result_sha256": {"$ref": "#/$defs/nullableSha256"}
273
- },
274
- "additionalProperties": true
275
- },
276
- "datasetReceipt": {
277
- "type": "object",
278
- "required": ["dataset", "runtime", "status"],
279
- "properties": {
280
- "dataset": {"type": "string", "minLength": 1},
281
- "runtime": {"enum": ["cpp", "java", "python"]},
282
- "status": {"$ref": "#/$defs/status"},
283
- "receipt_sha256": {"$ref": "#/$defs/nullableSha256"}
284
- },
285
- "additionalProperties": true
286
- },
287
- "metric": {"type": ["number", "null"], "minimum": 0},
288
- "columnResult": {
289
- "type": "object",
290
- "required": [
291
- "status",
292
- "runtime",
293
- "dataset",
294
- "column",
295
- "dtype",
296
- "native_bytes",
297
- "frame_bytes",
298
- "compression_rate",
299
- "encode_ns_per_value",
300
- "decode_ns_per_value",
301
- "blocks",
302
- "scaled_blocks",
303
- "raw_blocks",
304
- "rows",
305
- "valid_count",
306
- "missing_count",
307
- "validity_bytes",
308
- "header_bytes",
309
- "verified_values"
310
- ],
311
- "properties": {
312
- "status": {"$ref": "#/$defs/status"},
313
- "runtime": {"enum": ["cpp", "java", "python"]},
314
- "dataset": {"type": "string", "minLength": 1},
315
- "column": {"type": "string", "minLength": 1},
316
- "aggregate_id": {"type": ["string", "null"]},
317
- "width": {"type": "integer", "enum": [4, 8]},
318
- "max_point": {"type": "integer", "minimum": 0},
319
- "encode_ns": {"type": "integer", "minimum": 0},
320
- "decode_ns": {"type": "integer", "minimum": 0},
321
- "dtype": {"enum": ["float32", "float64"]},
322
- "native_bytes": {"type": "integer", "minimum": 0},
323
- "frame_bytes": {"type": "integer", "minimum": 0},
324
- "compression_rate": {"$ref": "#/$defs/metric"},
325
- "encode_ns_per_value": {"$ref": "#/$defs/metric"},
326
- "decode_ns_per_value": {"$ref": "#/$defs/metric"},
327
- "blocks": {"type": "integer", "minimum": 0},
328
- "scaled_blocks": {"type": "integer", "minimum": 0},
329
- "raw_blocks": {"type": "integer", "minimum": 0},
330
- "rows": {"type": "integer", "minimum": 0},
331
- "valid_count": {"type": "integer", "minimum": 0},
332
- "missing_count": {"type": "integer", "minimum": 0},
333
- "verified_values": {"type": "integer", "minimum": 0},
334
- "validity_bytes": {"type": "integer", "minimum": 0},
335
- "header_bytes": {"type": "integer", "minimum": 0},
336
- "frame_sequence_sha256": {"$ref": "#/$defs/nullableSha256"},
337
- "expected_sequence_chain_sha256": {"$ref": "#/$defs/nullableSha256"},
338
- "result_sha256": {"$ref": "#/$defs/nullableSha256"},
339
- "receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
340
- "source_manifest_receipt_sha256": {"$ref": "#/$defs/nullableSha256"},
341
- "source_aggregates_sha256": {"$ref": "#/$defs/nullableSha256"},
342
- "source_blocks_sha256": {"$ref": "#/$defs/nullableSha256"},
343
- "source_block_catalog_sha256": {"$ref": "#/$defs/nullableSha256"},
344
- "runtime_artifact_manifest_sha256": {"$ref": "#/$defs/nullableSha256"},
345
- "source_column_inventory_sha256": {"$ref": "#/$defs/nullableSha256"},
346
- "scope_sha256": {"$ref": "#/$defs/nullableSha256"},
347
- "message": {"type": ["string", "null"]}
348
- },
349
- "additionalProperties": true
350
- }
351
- },
352
- "additionalProperties": true
353
- }