Download task/single-software-execution/cli/eagle/task-22/task-22.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.43 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/eagle/task-22/task-22.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/eagle/task-22/task-22.json
-
curl -L -o task-22.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/eagle/task-22/task-22.json
2.43 kB
| { | |
| "id": "single-software-execution--cli--eagle--task-22--ubuntu", | |
| "snapshot": "eagle-7.7.0", | |
| "instruction": "The file `/home/user/Desktop/board.sch` is the schematic to modify. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nAdd three net classes and save the schematic as `/home/user/Desktop/classed.sch`. Keep the existing connectivity unchanged.\n\nRequired classes:\n- `SIG` with width `0.15 mm`\n- `PWR` with width `0.40 mm`\n- `HSPEED` with width `0.20 mm`\n\nClass the nets as follows:\n- `SIG`: `N$1`, `N$2`, `N$3`, `N$4`\n- `PWR`: `GND`, `VCC`, `+12V`\n- `HSPEED`: `A0` through `A4`, and `B0` through `B7`\n\nRequirements:\n1. `/home/user/Desktop/classed.sch` must parse as EAGLE XML.\n2. `<classes>` must contain classes named `SIG`, `PWR`, and `HSPEED`.\n3. Their widths, normalized to millimetres, must be approximately `0.15`, `0.40`, and `0.20` respectively.\n4. The three added classes must have distinct `number` attributes.\n5. Every net listed above must carry the correct class number in the schematic.", | |
| "source": "https://www.autodesk.com/products/fusion-360/blog/what-you-didnt-know-about-eagle-net-classes/", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-22/init_file/board.sch", | |
| "path": "/home/user/Desktop/board.sch" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-22/init_file/README.txt", | |
| "path": "/home/user/Desktop/README.txt" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "eagle" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/classed.sch" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-22/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" | |
| } | |