Download task/single-software-execution/gui/eagle/task-21/task-21.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.93 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/gui/eagle/task-21/task-21.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/gui/eagle/task-21/task-21.json
-
curl -L -o task-21.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/gui/eagle/task-21/task-21.json
2.93 kB
| { | |
| "id": "single-software-execution--gui--eagle--task-21--ubuntu", | |
| "snapshot": "eagle-7.7.0", | |
| "instruction": "Begin by reviewing `mixed.sch`, add a zero-ohm resistor named `R_TIE` that bridges `AGND` and `DGND`, and save the result as `/home/user/Desktop/answer.sch`. Start EAGLE from `/opt/eagle-7.7.0/bin/eagle` and open `mixed.sch` there. Requirements: 1. `/home/user/Desktop/answer.sch` must parse as well-formed XML. 2. A `<part name=\"R_TIE\">` must exist. 3. The `AGND` net must contain `<pinref part=\"R_TIE\" pin=\"1\"/>`. 4. The `DGND` net must contain `<pinref part=\"R_TIE\" pin=\"2\"/>`. 5. `C1` and `C2` must remain connected to `AGND`. 6. `R1` and `R2` must remain connected to `DGND`. 7. `AGND` and `DGND` must remain separate nets.", | |
| "source": "https://forums.autodesk.com/t5/eagle-forum/pcb-with-mixed-dgnd-and-agnd/td-p/7300563", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-21/init_file/mixed.sch", | |
| "path": "/home/user/Desktop/mixed.sch" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-21/init_file/rcl.lbr", | |
| "path": "/home/user/Desktop/rcl.lbr" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-21/init_file/README.txt", | |
| "path": "/home/user/Desktop/README.txt" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "launch", | |
| "parameters": { | |
| "command": [ | |
| "/opt/eagle-7.7.0/bin/eagle", | |
| "/home/user/Desktop/mixed.sch", | |
| "/home/user/Desktop/rcl.lbr" | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "execute", | |
| "parameters": { | |
| "command": [ | |
| "python3", | |
| "-c", | |
| "import pyautogui; import time; time.sleep(8); w, h = pyautogui.size(); pyautogui.click(w/2 + 100, h/2 + 25); time.sleep(2); pyautogui.click(w/2 + 213, h/2 + 146); time.sleep(2); pyautogui.click(w/2 - 80, h/2 + 68); time.sleep(5)" | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "eagle" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/answer.sch" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-21/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" | |
| } | |