File size: 1,891 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-05--ubuntu",
  "snapshot": "eagle-7.7.0",
  "instruction": "The file `/home/user/Desktop/messy.sch` is the schematic to process. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nRenumber the capacitor refdes so they increase in top-to-bottom, left-to-right geometric order, and save the result as `/home/user/Desktop/renumbered.sch`. Requirements: 1. The file must be valid XML. 2. The number of `C`-prefixed parts must be preserved. 3. Every capacitor `<part>` must have a matching `<instance>`. 4. When capacitor instances are sorted by `(-y, x)`, their refdes numbers must strictly increase. 5. The top-left-most capacitor must be `C1`. 6. No `<pinref>` may reference a non-existent part.",
  "source": "https://github.com/plusea/EAGLE/blob/master/ulp/renumber-sheet.ulp",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-05/init_file/messy.sch",
            "path": "/home/user/Desktop/messy.sch"
          }
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "eagle"
  ],
  "artifact_paths": [
    "/home/user/Desktop/renumbered.sch"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-05/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"
}