File size: 1,895 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
{
  "id": "single-software-execution--cli--eagle--task-03--ubuntu",
  "snapshot": "eagle-7.7.0",
  "instruction": "The file `/home/user/Desktop/board.brd` is the board to modify. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nAdd at least one polygon on layer `16` associated with the `GND` signal, and save the result as `/home/user/Desktop/poured.brd`. Requirements: 1. The file must parse as XML. 2. At least one `<polygon layer=\"16\">` must be associated with `GND`, either via `signal=\"GND\"` or by living inside `<signal name=\"GND\">`. 3. The polygon's `rank` attribute must be `1`. 4. The polygon's `isolate` attribute must be `0.3 mm` within `0.01 mm`. 5. The polygon must have at least 3 `<vertex>` children.",
  "source": "https://www.autodesk.com/products/fusion-360/blog/what-you-didnt-know-about-eagle-polygon-ranking/",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-03/init_file/board.brd",
            "path": "/home/user/Desktop/board.brd"
          }
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "eagle"
  ],
  "artifact_paths": [
    "/home/user/Desktop/poured.brd"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-03/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"
}