Download context/schema.json from munish0838/duck-engineer-rounds: direct link, hf CLI and curl.
- Browser
- Download file 2.82 kB
-
https://huggingface.co/datasets/munish0838/duck-engineer-rounds/resolve/main/context/schema.json
- Command line
-
hf download hf://datasets/munish0838/duck-engineer-rounds/context/schema.json
-
curl -L -o schema.json https://huggingface.co/datasets/munish0838/duck-engineer-rounds/resolve/main/context/schema.json
2.82 kB
| { | |
| "description": "Beam's reply: exactly one JSON object, nothing else. BEAM_CONTEXT_SPEC §8.", | |
| "type": "object", | |
| "required": ["analysis", "hypothesis", "change_type", "knobs", "expected"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "analysis": { | |
| "type": "string", | |
| "description": "What the last report shows and why (cite the numbers).", | |
| "minLength": 1 | |
| }, | |
| "hypothesis": { | |
| "type": "string", | |
| "description": "One sentence: what you change, why, what you expect. Used as the commit message.", | |
| "minLength": 1, | |
| "maxLength": 500 | |
| }, | |
| "change_type": { | |
| "type": "string", | |
| "enum": ["knob", "env", "reward", "combined"] | |
| }, | |
| "combined_justification": { | |
| "type": "string", | |
| "description": "Required only if change_type is 'combined'." | |
| }, | |
| "knobs": { | |
| "type": "object", | |
| "description": "All 3 knobs, every round, unchanged ones at their reference value.", | |
| "required": ["forward_reward", "upright_reward", "step_reward"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "forward_reward": {"type": "number", "minimum": 0.5, "maximum": 5.0}, | |
| "upright_reward": {"type": "number", "minimum": 0.5, "maximum": 5.0}, | |
| "step_reward": {"type": "number", "minimum": 0.0, "maximum": 6.0} | |
| } | |
| }, | |
| "edits": { | |
| "type": "array", | |
| "description": "Search/replace edits. Each `old` must match exactly once. May be empty.", | |
| "items": { | |
| "type": "object", | |
| "required": ["file", "old", "new"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "file": {"type": "string", "enum": ["sprint_2m/env.py", "sprint_2m/challenge.toml"]}, | |
| "old": {"type": "string", "minLength": 1}, | |
| "new": {"type": "string"} | |
| } | |
| } | |
| }, | |
| "new_files": { | |
| "type": "array", | |
| "description": "Whole files to create or replace. May be empty.", | |
| "items": { | |
| "type": "object", | |
| "required": ["file", "content"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "file": {"type": "string", "enum": ["sprint_2m/rewards.py"]}, | |
| "content": {"type": "string", "minLength": 1} | |
| } | |
| } | |
| }, | |
| "expected": { | |
| "type": "object", | |
| "description": "Your prediction, scored against the actual result (the calibration metric).", | |
| "required": ["best_score_s", "finished", "best_vx", "what_to_watch"], | |
| "additionalProperties": false, | |
| "properties": { | |
| "best_score_s": {"type": "number", "minimum": 0.0, "maximum": 50.0}, | |
| "finished": {"type": "integer", "minimum": 0, "maximum": 5}, | |
| "best_vx": {"type": "number", "minimum": 0.2, "maximum": 1.2}, | |
| "what_to_watch": {"type": "string", "minLength": 1} | |
| } | |
| } | |
| } | |
| } | |