Download task/single-software-execution/cli/eagle/task-05/task-05.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 1.89 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/eagle/task-05/task-05.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/eagle/task-05/task-05.json
-
curl -L -o task-05.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/eagle/task-05/task-05.json
1.89 kB
| { | |
| "id": "single-software-execution--cli--eagle--task-05--ubuntu", | |
| "snapshot": "eagle-7.7.0", | |
| "instruction": "The file `/home/user/Desktop/messy.sch` is the schematic to process. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nRenumber the capacitor refdes so they increase in top-to-bottom, left-to-right geometric order, and save the result as `/home/user/Desktop/renumbered.sch`. Requirements: 1. The file must be valid XML. 2. The number of `C`-prefixed parts must be preserved. 3. Every capacitor `<part>` must have a matching `<instance>`. 4. When capacitor instances are sorted by `(-y, x)`, their refdes numbers must strictly increase. 5. The top-left-most capacitor must be `C1`. 6. No `<pinref>` may reference a non-existent part.", | |
| "source": "https://github.com/plusea/EAGLE/blob/master/ulp/renumber-sheet.ulp", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-05/init_file/messy.sch", | |
| "path": "/home/user/Desktop/messy.sch" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "eagle" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/renumbered.sch" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-05/eval.py", | |
| "path": "/home/user/Desktop/eval.py" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "func": "exact_match", | |
| "result": { | |
| "type": "vm_command_line", | |
| "command": "python3 /home/user/Desktop/eval.py", | |
| "shell": "true" | |
| }, | |
| "expected": { | |
| "type": "rule", | |
| "rules": { | |
| "expected": "True\n" | |
| } | |
| } | |
| }, | |
| "proxy": false, | |
| "fixed_ip": false, | |
| "possibility_of_env_change": "low" | |
| } | |