Spaces:
Running on Zero
Running on Zero
Download data/tasks/data_transform_010.json from hey-shiv/AgentAlign-Lab: direct link, hf CLI and curl.
- Browser
- Download file 860 Bytes
-
https://huggingface.co/spaces/hey-shiv/AgentAlign-Lab/resolve/main/data/tasks/data_transform_010.json
- Command line
-
hf download hf://spaces/hey-shiv/AgentAlign-Lab/data/tasks/data_transform_010.json
-
curl -L -o data_transform_010.json https://huggingface.co/spaces/hey-shiv/AgentAlign-Lab/resolve/main/data/tasks/data_transform_010.json
860 Bytes
| { | |
| "task_id": "data_transform_010", | |
| "family": "data_transformation", | |
| "difficulty": "easy", | |
| "instruction": "Pivot the data so 'metric' values become keys with 'val' as values, grouped by 'date'. Save to output.json.", | |
| "files": [ | |
| { | |
| "path": "input.json", | |
| "content": "[{\"date\": \"2020\", \"metric\": \"sales\", \"val\": 100}, {\"date\": \"2020\", \"metric\": \"costs\", \"val\": 50}]" | |
| } | |
| ], | |
| "verifier": { | |
| "type": "exact_json", | |
| "command": "", | |
| "timeout_sec": 8, | |
| "expected_output": null, | |
| "target_path": "output.json", | |
| "expected_content": null, | |
| "expected_json": [ | |
| { | |
| "date": "2020", | |
| "sales": 100, | |
| "costs": 50 | |
| } | |
| ], | |
| "required_fields": [] | |
| }, | |
| "forbidden_commands": [ | |
| "rm", | |
| "curl", | |
| "wget", | |
| "pip", | |
| "sudo", | |
| "chmod", | |
| "ssh", | |
| "git" | |
| ] | |
| } |