Download task/single-software-execution/cli/kicad/task-21/task-21.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.78 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/kicad/task-21/task-21.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/kicad/task-21/task-21.json
-
curl -L -o task-21.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/kicad/task-21/task-21.json
2.78 kB
| { | |
| "id": "single-software-execution--cli--kicad--task-21--ubuntu", | |
| "snapshot": "kicad-10.0.2", | |
| "instruction": "Return-Path Split Repair\nThe file `/home/user/Desktop/board.kicad_pcb` contains an HS1 F.Cu route from R1 to R2 that currently crosses the explicit `RETURN_PATH_SPLIT_BLOCK` keepout spanning x=38.5 to 41.5 mm and y=16 to 24 mm. Use KiCad 10.0.2; run `kicad` for the GUI or `kicad-cli` for scripting/headless use (use PATH or the full install path). For the steps below, the installed KiCad tools are `/usr/bin/kicad-cli`, `/usr/bin/pcbnew`, and `/usr/bin/eeschema`; use the one that matches the board or schematic operation.\n\nReroute HS1 entirely on F.Cu so it remains electrically continuous between R1 and R2, never enters that keepout, crosses x=40 mm above y=24 mm or below y=16 mm, and uses a minimum track width of 0.20 mm. Retain the keepout. Move CS1 to (38, 27.5) mm and CS2 to (42, 27.5) mm, retaining their GND and +3V3 pad assignments.\n\nIn `/home/user/Desktop/board.kicad_dru`, add exactly one rule named `return_path_split_crossing` with condition `A.Type == 'Track' && A.NetName == 'HS1'`; give that rule minimum `track_width` and `clearance` constraints of 0.20 mm. Generate `/home/user/Desktop/drc.report` from the final board with the native KiCad CLI. Write the updated board, `.dru`, and report to the desktop paths above.", | |
| "source": "https://docs.kicad.org/10.0/en/cli/cli.html; https://docs.kicad.org/10.0/en/pcbnew/pcbnew.html; https://dev-docs.kicad.org/en/file-formats/; https://gitlab.com/kicad/code/kicad/-/tags/10.0.2", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-21/init_file/board.kicad_dru", | |
| "path": "/home/user/Desktop/board.kicad_dru" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-21/init_file/board.kicad_pcb", | |
| "path": "/home/user/Desktop/board.kicad_pcb" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "kicad" | |
| ], | |
| "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" | |
| } | |