Download task/single-software-execution/gui/eagle/task-01/task-01.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 3.62 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/gui/eagle/task-01/task-01.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/gui/eagle/task-01/task-01.json
-
curl -L -o task-01.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/gui/eagle/task-01/task-01.json
3.62 kB
| { | |
| "id": "single-software-execution--gui--eagle--task-01--ubuntu", | |
| "snapshot": "eagle-7.7.0", | |
| "instruction": "Design an astable 555-timer LED blinker schematic from scratch and save it as `/home/user/Desktop/answer.sch`. Start EAGLE from `/opt/eagle-7.7.0/bin/eagle` and open the supplied board or schematic there. Requirements: 1. The output must be a well-formed EAGLE schematic XML file. 2. It must contain at least one `<part>` whose `deviceset` or `device` matches `555` case-insensitively. 3. It must define parts with refdes `R1`, `R2`, `C1`, `C2`, and either `LED1` or `D1`. 4. It must include at least one VCC supply part and at least one GND supply part. 5. It must contain at least 3 `<net>` elements. 6. `R1` and `R2` must have non-empty plausible resistor values such as `10k` or `2.2M`, and `C1` must have a non-empty plausible capacitor value such as `10u`, `100n`, or `47nF`.", | |
| "source": "https://medium.com/jungletronics/first-project-in-eagle-555s-flasher-d4d1fa822537", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/led.lbr", | |
| "path": "/home/user/Desktop/led.lbr" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/linear.lbr", | |
| "path": "/home/user/Desktop/linear.lbr" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/rcl.lbr", | |
| "path": "/home/user/Desktop/rcl.lbr" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/README.txt", | |
| "path": "/home/user/Desktop/README.txt" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-01/init_file/supply1.lbr", | |
| "path": "/home/user/Desktop/supply1.lbr" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "launch", | |
| "parameters": { | |
| "command": [ | |
| "/opt/eagle-7.7.0/bin/eagle", | |
| "/home/user/Desktop/led.lbr", | |
| "/home/user/Desktop/linear.lbr", | |
| "/home/user/Desktop/rcl.lbr", | |
| "/home/user/Desktop/supply1.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-01/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" | |
| } | |