| { | |
| "$schema": "https://json-schema.org/draft/2020-12/schema", | |
| "title": "Dummy PIE C++ Oracle Seed Row", | |
| "type": "object", | |
| "required": [ | |
| "task_id", | |
| "source", | |
| "split", | |
| "language", | |
| "prompt_template_id", | |
| "messages", | |
| "prompt", | |
| "source_code", | |
| "visible_tests", | |
| "public_checker", | |
| "compile", | |
| "run", | |
| "constraints", | |
| "metadata" | |
| ], | |
| "properties": { | |
| "task_id": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": "string" | |
| }, | |
| "split": { | |
| "type": "string", | |
| "const": "oracle_seed" | |
| }, | |
| "language": { | |
| "type": "string", | |
| "const": "cpp20" | |
| }, | |
| "prompt_template_id": { | |
| "type": "string" | |
| }, | |
| "messages": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { | |
| "type": "object", | |
| "required": [ | |
| "role", | |
| "content" | |
| ], | |
| "properties": { | |
| "role": { | |
| "type": "string", | |
| "enum": [ | |
| "system", | |
| "user" | |
| ] | |
| }, | |
| "content": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": false | |
| } | |
| }, | |
| "prompt": { | |
| "type": "string" | |
| }, | |
| "source_code": { | |
| "type": "string" | |
| }, | |
| "visible_tests": { | |
| "type": "array", | |
| "minItems": 1, | |
| "items": { | |
| "type": "object", | |
| "required": [ | |
| "name", | |
| "stdin", | |
| "stdout" | |
| ], | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "stdin": { | |
| "type": "string" | |
| }, | |
| "stdout": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": false | |
| } | |
| }, | |
| "public_checker": { | |
| "type": "object", | |
| "required": [ | |
| "type", | |
| "strip_trailing_whitespace" | |
| ], | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "const": "exact_stdout" | |
| }, | |
| "strip_trailing_whitespace": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "compile": { | |
| "type": "object", | |
| "required": [ | |
| "command", | |
| "timeout_sec" | |
| ], | |
| "properties": { | |
| "command": { | |
| "type": "string" | |
| }, | |
| "timeout_sec": { | |
| "type": "number" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "run": { | |
| "type": "object", | |
| "required": [ | |
| "timeout_sec", | |
| "memory_mb" | |
| ], | |
| "properties": { | |
| "timeout_sec": { | |
| "type": "number" | |
| }, | |
| "memory_mb": { | |
| "type": "number" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "constraints": { | |
| "type": "object", | |
| "required": [ | |
| "assistant_format", | |
| "must_preserve_io", | |
| "must_compile", | |
| "must_pass_visible_tests", | |
| "target" | |
| ], | |
| "properties": { | |
| "assistant_format": { | |
| "type": "string", | |
| "const": "one_reasoning_block_then_one_cpp_fence" | |
| }, | |
| "must_preserve_io": { | |
| "type": "boolean" | |
| }, | |
| "must_compile": { | |
| "type": "boolean" | |
| }, | |
| "must_pass_visible_tests": { | |
| "type": "boolean" | |
| }, | |
| "target": { | |
| "type": "string" | |
| } | |
| }, | |
| "additionalProperties": false | |
| }, | |
| "metadata": { | |
| "type": "object" | |
| } | |
| }, | |
| "additionalProperties": false | |
| } | |