File size: 2,222 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
{
  "id": "single-software-execution--cli--eagle--task-14--ubuntu",
  "snapshot": "eagle-7.7.0",
  "instruction": "Create `/home/user/Desktop/lm324.lbr`, an EAGLE library for an LM324 quad op-amp, and save it. On Linux, launch CadSoft EAGLE with `/opt/eagle-7.7.0/bin/eagle` (adjust to your install).\n\nRequirements: 1. The file must parse as XML. 2. It must contain exactly one `<package>` whose name contains `DIP` and `14`, with 14 through-hole `<pad>` elements named `1` through `14`. 3. It must contain exactly one `<symbol>` whose pin names are `IN+`, `IN-`, `OUT`, `V+`, and `V-`. 4. It must contain exactly one `<deviceset>` with `prefix=\"U\"` and four `<gate>` entries named `A`, `B`, `C`, and `D`, all referencing the same symbol. 5. Every gate must have `swaplevel=\"1\"`. 6. The device `<connects>` mapping must be: A: `OUT->1`, `IN-->2`, `IN+->3`, `V+->4`, `V-->11` B: `IN+->5`, `IN-->6`, `OUT->7`, `V+->4`, `V-->11` C: `OUT->8`, `IN-->9`, `IN+->10`, `V+->4`, `V-->11` D: `IN+->12`, `IN-->13`, `OUT->14`, `V+->4`, `V-->11` 7. Pads `4` and `11` must appear in the connects for every gate.",
  "source": "https://community.element14.com/members-area/personalblogs/b/rachael-s-blog/posts/eagle-tutorial-library-part-creation-part-5---multiple-symbol-devices",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-14/init_file/README.txt",
            "path": "/home/user/Desktop/README.txt"
          }
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "eagle"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-14/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"
}