Download export.schema.json from grainulation/overturn-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 24.4 kB
-
https://huggingface.co/datasets/grainulation/overturn-benchmark/resolve/main/export.schema.json
- Command line
-
hf download hf://datasets/grainulation/overturn-benchmark/export.schema.json
-
curl -L -o export.schema.json https://huggingface.co/datasets/grainulation/overturn-benchmark/resolve/main/export.schema.json
24.4 kB
| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "title": "OVERTURN HF Stage 1 export contract (draft)", | |
| "description": "Normalized envelope with lossless source payloads. Initial item table: 1260 unique items; pool observations use compound keys. Full export and replay verification are not yet implemented.", | |
| "oneOf": [ | |
| { | |
| "type": "object", | |
| "properties": { | |
| "schema_version": { | |
| "const": "overturn-hf/0.1-draft" | |
| }, | |
| "source_revision": { | |
| "const": "d43a089fb2298628411a3e34f7c1a4a631efe7f8" | |
| }, | |
| "record_type": { | |
| "const": "item" | |
| }, | |
| "row_id": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "license_components": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "component": { | |
| "type": "string" | |
| }, | |
| "source_ref": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "license_id": { | |
| "type": "string" | |
| }, | |
| "terms_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "terms_text": { | |
| "type": "string" | |
| }, | |
| "quoted_model_tags": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "attribution": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "component", | |
| "source_ref", | |
| "license_id", | |
| "terms_url", | |
| "terms_text", | |
| "quoted_model_tags", | |
| "attribution" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "data": { | |
| "$ref": "#/$defs/item" | |
| } | |
| }, | |
| "required": [ | |
| "schema_version", | |
| "source_revision", | |
| "record_type", | |
| "row_id", | |
| "provenance", | |
| "license_components", | |
| "data" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| { | |
| "type": "object", | |
| "properties": { | |
| "schema_version": { | |
| "const": "overturn-hf/0.1-draft" | |
| }, | |
| "source_revision": { | |
| "const": "d43a089fb2298628411a3e34f7c1a4a631efe7f8" | |
| }, | |
| "record_type": { | |
| "const": "pool_item" | |
| }, | |
| "row_id": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "license_components": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "component": { | |
| "type": "string" | |
| }, | |
| "source_ref": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "license_id": { | |
| "type": "string" | |
| }, | |
| "terms_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "terms_text": { | |
| "type": "string" | |
| }, | |
| "quoted_model_tags": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "attribution": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "component", | |
| "source_ref", | |
| "license_id", | |
| "terms_url", | |
| "terms_text", | |
| "quoted_model_tags", | |
| "attribution" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "data": { | |
| "$ref": "#/$defs/pool_item" | |
| } | |
| }, | |
| "required": [ | |
| "schema_version", | |
| "source_revision", | |
| "record_type", | |
| "row_id", | |
| "provenance", | |
| "license_components", | |
| "data" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| { | |
| "type": "object", | |
| "properties": { | |
| "schema_version": { | |
| "const": "overturn-hf/0.1-draft" | |
| }, | |
| "source_revision": { | |
| "const": "d43a089fb2298628411a3e34f7c1a4a631efe7f8" | |
| }, | |
| "record_type": { | |
| "const": "response" | |
| }, | |
| "row_id": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "license_components": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "component": { | |
| "type": "string" | |
| }, | |
| "source_ref": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "license_id": { | |
| "type": "string" | |
| }, | |
| "terms_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "terms_text": { | |
| "type": "string" | |
| }, | |
| "quoted_model_tags": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "attribution": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "component", | |
| "source_ref", | |
| "license_id", | |
| "terms_url", | |
| "terms_text", | |
| "quoted_model_tags", | |
| "attribution" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "data": { | |
| "$ref": "#/$defs/response" | |
| } | |
| }, | |
| "required": [ | |
| "schema_version", | |
| "source_revision", | |
| "record_type", | |
| "row_id", | |
| "provenance", | |
| "license_components", | |
| "data" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| { | |
| "type": "object", | |
| "properties": { | |
| "schema_version": { | |
| "const": "overturn-hf/0.1-draft" | |
| }, | |
| "source_revision": { | |
| "const": "d43a089fb2298628411a3e34f7c1a4a631efe7f8" | |
| }, | |
| "record_type": { | |
| "const": "decision" | |
| }, | |
| "row_id": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "license_components": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "component": { | |
| "type": "string" | |
| }, | |
| "source_ref": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "license_id": { | |
| "type": "string" | |
| }, | |
| "terms_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "terms_text": { | |
| "type": "string" | |
| }, | |
| "quoted_model_tags": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "attribution": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "component", | |
| "source_ref", | |
| "license_id", | |
| "terms_url", | |
| "terms_text", | |
| "quoted_model_tags", | |
| "attribution" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "data": { | |
| "$ref": "#/$defs/decision" | |
| } | |
| }, | |
| "required": [ | |
| "schema_version", | |
| "source_revision", | |
| "record_type", | |
| "row_id", | |
| "provenance", | |
| "license_components", | |
| "data" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| { | |
| "type": "object", | |
| "properties": { | |
| "schema_version": { | |
| "const": "overturn-hf/0.1-draft" | |
| }, | |
| "source_revision": { | |
| "const": "d43a089fb2298628411a3e34f7c1a4a631efe7f8" | |
| }, | |
| "record_type": { | |
| "const": "sealed_record" | |
| }, | |
| "row_id": { | |
| "type": "string" | |
| }, | |
| "provenance": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "license_components": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "component": { | |
| "type": "string" | |
| }, | |
| "source_ref": { | |
| "type": "object", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "published_sha256": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "locator": { | |
| "type": "string", | |
| "description": "JSON Pointer, JSONL line number or CSV data-row number, prefixed with its kind" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "published_sha256", | |
| "locator" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "license_id": { | |
| "type": "string" | |
| }, | |
| "terms_url": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "terms_text": { | |
| "type": "string" | |
| }, | |
| "quoted_model_tags": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "attribution": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "component", | |
| "source_ref", | |
| "license_id", | |
| "terms_url", | |
| "terms_text", | |
| "quoted_model_tags", | |
| "attribution" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "minItems": 1 | |
| }, | |
| "data": { | |
| "$ref": "#/$defs/sealed_record" | |
| } | |
| }, | |
| "required": [ | |
| "schema_version", | |
| "source_revision", | |
| "record_type", | |
| "row_id", | |
| "provenance", | |
| "license_components", | |
| "data" | |
| ], | |
| "additionalProperties": false | |
| } | |
| ], | |
| "$defs": { | |
| "item": { | |
| "type": "object", | |
| "properties": { | |
| "item_id": { | |
| "type": "string" | |
| }, | |
| "split": { | |
| "enum": [ | |
| "dev", | |
| "confirmatory" | |
| ] | |
| }, | |
| "order": { | |
| "type": "integer", | |
| "minimum": 0 | |
| }, | |
| "source_dataset": { | |
| "enum": [ | |
| "scifact", | |
| "popqa", | |
| "fever", | |
| "truthfulqa" | |
| ] | |
| }, | |
| "source_id": { | |
| "type": "string" | |
| }, | |
| "source_stratum": { | |
| "type": "string" | |
| }, | |
| "source_tier": { | |
| "type": "string" | |
| }, | |
| "analysis_set": { | |
| "enum": [ | |
| "development", | |
| "P", | |
| "T" | |
| ] | |
| }, | |
| "corpus": { | |
| "type": "string" | |
| }, | |
| "benchmark_record": { | |
| "type": "object", | |
| "description": "Original complete benchmark object; contains gold. Never use as an agent-visible prompt." | |
| } | |
| }, | |
| "required": [ | |
| "item_id", | |
| "split", | |
| "order", | |
| "source_dataset", | |
| "source_id", | |
| "source_stratum", | |
| "source_tier", | |
| "analysis_set", | |
| "corpus", | |
| "benchmark_record" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "pool_item": { | |
| "type": "object", | |
| "properties": { | |
| "pool_id": { | |
| "enum": [ | |
| "v5", | |
| "v6" | |
| ] | |
| }, | |
| "item_id": { | |
| "type": "string" | |
| }, | |
| "split": { | |
| "enum": [ | |
| "dev", | |
| "confirmatory" | |
| ] | |
| }, | |
| "raw_record": { | |
| "type": "object", | |
| "description": "Lossless original raw record, including item_view, response order and retrieval identities." | |
| } | |
| }, | |
| "required": [ | |
| "pool_id", | |
| "item_id", | |
| "split", | |
| "raw_record" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "response": { | |
| "type": "object", | |
| "properties": { | |
| "pool_id": { | |
| "enum": [ | |
| "v5", | |
| "v6" | |
| ] | |
| }, | |
| "item_id": { | |
| "type": "string" | |
| }, | |
| "split": { | |
| "enum": [ | |
| "dev", | |
| "confirmatory" | |
| ] | |
| }, | |
| "model_tag": { | |
| "type": "string" | |
| }, | |
| "ollama_digest": { | |
| "type": "string", | |
| "pattern": "^[a-f0-9]{64}$" | |
| }, | |
| "quantization": { | |
| "type": "string" | |
| }, | |
| "response_index": { | |
| "type": "integer", | |
| "minimum": 0 | |
| }, | |
| "response_record": { | |
| "type": "object", | |
| "description": "Original response object including parsed answer, both turns, prompts and retrieval. Preserve all original fields." | |
| } | |
| }, | |
| "required": [ | |
| "pool_id", | |
| "item_id", | |
| "split", | |
| "model_tag", | |
| "ollama_digest", | |
| "quantization", | |
| "response_index", | |
| "response_record" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "decision": { | |
| "type": "object", | |
| "properties": { | |
| "pool_id": { | |
| "enum": [ | |
| "v5", | |
| "v6" | |
| ] | |
| }, | |
| "item_id": { | |
| "type": "string" | |
| }, | |
| "split": { | |
| "enum": [ | |
| "dev", | |
| "confirmatory" | |
| ] | |
| }, | |
| "method_id": { | |
| "type": "string" | |
| }, | |
| "selected_answer": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "correct": { | |
| "type": [ | |
| "boolean", | |
| "null" | |
| ] | |
| }, | |
| "observation_status": { | |
| "enum": [ | |
| "recorded", | |
| "not_recorded", | |
| "not_applicable" | |
| ] | |
| }, | |
| "source_csv_record": { | |
| "type": "object", | |
| "additionalProperties": { | |
| "type": "string" | |
| }, | |
| "description": "Lossless strings from the original CSV, including empty cells; do not infer answers from correctness flags." | |
| } | |
| }, | |
| "required": [ | |
| "pool_id", | |
| "item_id", | |
| "split", | |
| "method_id", | |
| "selected_answer", | |
| "correct", | |
| "observation_status", | |
| "source_csv_record" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "sealed_record": { | |
| "type": "object", | |
| "properties": { | |
| "pool_id": { | |
| "enum": [ | |
| "v5", | |
| "v6" | |
| ] | |
| }, | |
| "split": { | |
| "enum": [ | |
| "dev", | |
| "confirmatory" | |
| ] | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "capture", | |
| "support_check", | |
| "checker_call", | |
| "judge_input", | |
| "judge_output", | |
| "certificate", | |
| "reducer_input", | |
| "reducer_output" | |
| ] | |
| }, | |
| "item_id": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "original_record": { | |
| "type": "object" | |
| }, | |
| "related_pools": { | |
| "type": "array", | |
| "items": { | |
| "enum": [ | |
| "v5", | |
| "v6" | |
| ] | |
| } | |
| }, | |
| "description": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "pool_id", | |
| "split", | |
| "kind", | |
| "item_id", | |
| "original_record", | |
| "related_pools", | |
| "description" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| "x-primary-keys": { | |
| "item": [ | |
| "item_id" | |
| ], | |
| "pool_item": [ | |
| "pool_id", | |
| "split", | |
| "item_id" | |
| ], | |
| "response": [ | |
| "pool_id", | |
| "split", | |
| "item_id", | |
| "model_tag" | |
| ], | |
| "decision": [ | |
| "pool_id", | |
| "split", | |
| "item_id", | |
| "method_id" | |
| ], | |
| "sealed_record": [ | |
| "row_id" | |
| ] | |
| }, | |
| "x-serialization": "UTF-8 JSONL, sorted object keys, ensure_ascii=False, separators=(',', ':'), exactly one LF per row; stable table-specific primary-key order. Preserve original source bytes separately for hash verification.", | |
| "x-license-rules": [ | |
| "Copy DATA_LICENSES.md byte for byte as a companion file and include it verbatim in the card; keep its original hash", | |
| "Carry every source, passage and model-output component; a source row can have several licenses", | |
| "Propagate terms for all quoted agent outputs through prompts and judge inputs", | |
| "Keep model-weight licenses distinct from model-output conditions", | |
| "Use license: other with a multi-license explanation; do not relicense the combined dataset" | |
| ], | |
| "x-integrity-rules": [ | |
| "Validate all original or exact documented redaction hash pairs before export", | |
| "Deduplicate benchmark items across pools; preserve source IDs verbatim including v5 prefixes in v6", | |
| "Keep source_stratum separate from P/T analysis population; dev has its own analysis_set", | |
| "Preserve raw source objects for lossless reconstruction; normalized JSON has a new hash", | |
| "Keep gold and options[].correct out of agent-visible views", | |
| "Shared support checks retain cache identity and all originating pools; reuse is not a new checker call", | |
| "Replay selected answers, reducer inputs, policies and certificates; CSV correctness parity alone is insufficient", | |
| "Use the public portable reconstruction route and record the rebuilt binary hash; never claim the historical executable was replayed" | |
| ] | |
| } | |