File size: 2,119 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-23--ubuntu",
  "snapshot": "eagle-7.7.0",
  "instruction": "The file `/home/user/Desktop/coin.brd` is the board to panelize. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nCreate six prefixed copies of its element set and save the result as `/home/user/Desktop/coin_panel.brd`. Arrange the six copies as a 3x2 grid with 15 mm spacing in X and Y, preserving the original element geometry inside each cell.\n\nRequirements:\n1. The file must be valid XML.\n2. The total element count must equal 6 times the original element count in `/home/user/Desktop/coin.brd`.\n3. Every element refdes must start with a cell prefix matching `^[A-Z]\\d+_`.\n4. All six prefixes `A1_`, `A2_`, `A3_`, `B1_`, `B2_`, and `B3_` must appear.\n5. Each prefix must cover the same number of elements as the original board.\n6. The panel outline must be the standard 40 mm x 25 mm rectangle on layer 20.\n7. All refdes must be unique across the panel.",
  "source": "https://github.com/plusea/EAGLE/blob/master/ulp/panelize.ulp",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-23/init_file/coin.brd",
            "path": "/home/user/Desktop/coin.brd"
          }
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "eagle"
  ],
  "artifact_paths": [
    "/home/user/Desktop/coin_panel.brd"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-23/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"
}