File size: 2,776 Bytes
5154c4e
3de3b50
5154c4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
  "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"
}