File size: 2,703 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
  "id": "single-software-execution--gui--eagle--task-05-reverse--ubuntu",
  "snapshot": "eagle-7.7.0",
  "instruction": "The mixed-ground schematic must be recovered from `bom.csv`, `netlist.csv`, and `erc.log`. Start EAGLE from `/opt/eagle-7.7.0/bin/eagle` and open the supplied board or schematic there. Recreate the five parts and values, keep AGND and DGND as separate named nets, and bridge them only through R_TIE pin 1 to AGND and pin 2 to DGND. Save the editable EAGLE schematic as `/home/user/Desktop/answer.sch`.",
  "source": "https://web.mit.edu/xavid/arch/i386_rhel4/help/; https://learn.sparkfun.com/tutorials/using-eagle-schematic/all; https://learn.adafruit.com/ktowns-ultimate-creating-parts-in-eagle-tutorial/understanding-parts-in-eagle",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-05-reverse/init_file/bom.csv",
            "path": "/home/user/Desktop/bom.csv"
          }
        ]
      }
    },
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-05-reverse/init_file/netlist.csv",
            "path": "/home/user/Desktop/netlist.csv"
          }
        ]
      }
    },
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-05-reverse/init_file/erc.log",
            "path": "/home/user/Desktop/erc.log"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "/opt/eagle-7.7.0/bin/eagle"
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python3",
          "-c",
          "import pyautogui; import time; time.sleep(12); w, h = pyautogui.size(); pyautogui.press('enter'); time.sleep(3); pyautogui.press('enter'); time.sleep(6)"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "eagle"
  ],
  "artifact_paths": [
    "/home/user/Desktop/answer.sch"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-05-reverse/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"
}