{ "$id": "https://huggingface.co/datasets/robbiemu/leanstral-mathlib-calibration-corpora/raw/main/schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": true, "properties": { "admission": { "additionalProperties": true, "properties": { "accepted_for_ptq_calibration": { "type": "boolean" }, "decision_layer": { "type": "string" }, "reason_codes": { "items": {}, "type": "array" }, "soft_review_applied_to_decision": { "type": "boolean" }, "soft_review_flags": { "items": {}, "type": "array" } }, "required": [ "accepted_for_ptq_calibration", "decision_layer", "reason_codes" ], "type": "object" }, "category": { "type": "string" }, "category_name": { "type": "string" }, "composite_selection": { "additionalProperties": true, "properties": { "selection_seed": { "type": "string" }, "source_rank_for_stratum": { "type": "integer" }, "source_variant": { "type": "integer" }, "target_category": { "type": "string" }, "target_length_bucket": { "type": "string" } }, "required": [ "selection_seed", "source_rank_for_stratum", "source_variant", "target_category", "target_length_bucket" ], "type": "object" }, "constrained_composite_selection": { "additionalProperties": true, "properties": { "design": { "type": "string" }, "incoming_source_variant": { "type": "integer" }, "input_token_delta": { "type": "integer" }, "outgoing_v1_sample_id": { "type": "string" }, "pairing_reason": { "type": "string" }, "rescue_category": { "type": "string" } }, "required": [ "design", "incoming_source_variant", "input_token_delta", "outgoing_v1_sample_id", "pairing_reason", "rescue_category" ], "type": "object" }, "construction": { "additionalProperties": true, "properties": { "broken_code": { "type": "string" }, "context_enriched": { "type": "boolean" }, "diagnostic": { "type": "string" }, "excerpt": { "type": "string" }, "instruction": { "type": "string" }, "mutation_kind": { "type": "string" }, "proof_is_oneliner": { "type": "boolean" }, "retrieval_snippets": { "items": { "type": "string" }, "type": "array" }, "source_grounded_context_enriched": { "type": "boolean" }, "statement": { "type": "string" }, "target_span": { "type": "string" }, "trace_states": { "items": { "additionalProperties": true, "properties": { "state": { "type": "string" }, "tactic": { "type": "string" } }, "required": [ "state", "tactic" ], "type": "object" }, "type": "array" }, "untouched_role": { "type": "string" }, "variant": { "type": "string" } }, "type": "object" }, "environment": { "additionalProperties": true, "properties": { "chat_template_id": { "type": "string" }, "dataseek_commit": { "type": "string" }, "lean_toolchain": { "type": "string" }, "leandojo_version": { "type": "string" }, "mathlib_commit": { "type": "string" }, "project_commit": { "type": "string" }, "python_version": { "type": "string" }, "tokenizer_id": { "type": "string" } }, "type": "object" }, "evaluation_stratum": { "type": "string" }, "measurements": { "additionalProperties": true, "properties": { "approximate_tokens": { "type": "boolean" }, "chars": { "type": "integer" }, "declarations_count": { "type": "integer" }, "diagnostics_count": { "type": "integer" }, "duplicate_fingerprint": { "type": "string" }, "hidden_proof_leakage": { "type": "string" }, "imports_count": { "type": "integer" }, "input_tokens": { "type": "integer" }, "lean_code_chars": { "type": "integer" }, "lean_code_ratio": { "type": "number" }, "length_bucket": { "type": "string" }, "line_count": { "type": "integer" }, "natural_language_chars": { "type": "integer" }, "near_duplicate_cluster_id": { "type": "string" }, "provenance_complete": { "type": "boolean" }, "retrieval_snippets_count": { "type": "integer" }, "tokenizer": { "type": "string" }, "tool_transcript_turns": { "type": "integer" }, "triviality_score": { "type": "number" } }, "required": [ "approximate_tokens", "chars", "declarations_count", "diagnostics_count", "duplicate_fingerprint", "hidden_proof_leakage", "imports_count", "input_tokens", "lean_code_chars", "lean_code_ratio", "length_bucket", "line_count", "natural_language_chars", "near_duplicate_cluster_id", "provenance_complete", "retrieval_snippets_count", "tokenizer", "tool_transcript_turns", "triviality_score" ], "type": "object" }, "messages": { "items": { "additionalProperties": true, "properties": { "content": { "type": "string" }, "role": { "type": "string" } }, "required": [ "content", "role" ], "type": "object" }, "type": "array" }, "rendered_text": { "type": "string" }, "sample_id": { "type": "string" }, "source": { "additionalProperties": true, "properties": { "declaration": { "type": "string" }, "file": { "type": "string" }, "mathlib_commit": { "type": "string" }, "module": { "type": "string" }, "source_url": { "type": "string" }, "span": { "type": "string" } }, "required": [ "declaration", "file", "mathlib_commit", "module", "source_url", "span" ], "type": "object" }, "triviality_note": { "type": "string" } }, "required": [ "admission", "category", "measurements", "messages", "rendered_text", "sample_id", "source" ], "title": "Leanstral Mathlib calibration and validation record", "type": "object" }