Download task/single-software-execution/cli/eagle/task-06/task-06.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.19 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/eagle/task-06/task-06.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/eagle/task-06/task-06.json
-
curl -L -o task-06.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/eagle/task-06/task-06.json
2.19 kB
| { | |
| "id": "single-software-execution--cli--eagle--task-06--ubuntu", | |
| "snapshot": "eagle-7.7.0", | |
| "instruction": "The file `/home/user/Desktop/legacy.sch` is the schematic to update. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nIt contains a single TO-220 LM7805 linear regulator (U1) wired between VIN and VOUT nets with two decoupling caps (C1=100n on VIN, C2=10u on VOUT) and GND return. Replace U1 with a pin-compatible AMS1117-5.0 in SOT-223. Save the result as `/home/user/Desktop/replaced.sch`. Requirements: 1. File parses as EAGLE XML. 2. NO <part> references LM7805 / 7805 anywhere in its deviceset / device / value attributes (the old regulator is fully gone). 3. At least one <part> references AMS1117 (e.g. Deviceset \"AMS1117-5.0\"). 4. The AMS1117 deviceset's <connects> map the regulator's input pin to pad 3, output pin to pad 2, and GND pin to pad 1 (pad \"1 4\" including the SOT-223 tab is also accepted). 5. C1 and C2 (the two decoupling caps) are still present. 6. Nets VIN, GND, VOUT are still present.", | |
| "source": "https://hackaday.com/2013/03/21/assigning-new-packages-to-eagle-pcb-components/", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-06/init_file/legacy.sch", | |
| "path": "/home/user/Desktop/legacy.sch" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "eagle" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/replaced.sch" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-06/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" | |
| } | |