File size: 2,436 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
{
  "id": "single-software-execution--gui--eagle--task-13--ubuntu",
  "snapshot": "eagle-7.7.0",
  "instruction": "Treat `review.sch` in EAGLE 7.7.0, run EAGLE's Electrical Rule Check, and save a plain-text transcription of the ERC Errors window as `/home/user/Desktop/answer.erc` as the starting point. Start EAGLE from `/opt/eagle-7.7.0/bin/eagle` and open `review.sch` there. EAGLE 7.7.0 does not provide a native `.erc` export action, so copy the displayed ERC result into the text file. Requirements: 1. `/home/user/Desktop/answer.erc` must exist and be non-empty. 2. It must be readable as plain text. 3. It must identify EAGLE 7.7.0, `review.sch`, and the ERC Errors result. 4. It must record the complete result shown for this starter schematic: 2 errors and 4 warnings. 5. It must not add issues that EAGLE does not report.",
  "source": "https://www.autodesk.com/products/fusion-360/blog/schematic-basics-part-3-erc/",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-13/init_file/review.sch",
            "path": "/home/user/Desktop/review.sch"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "/opt/eagle-7.7.0/bin/eagle",
          "/home/user/Desktop/review.sch"
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python3",
          "-c",
          "import pyautogui; import time; time.sleep(8); w, h = pyautogui.size(); pyautogui.click(w/2 + 100, h/2 + 25); time.sleep(2); pyautogui.click(w/2 + 213, h/2 + 146); time.sleep(2); pyautogui.click(w/2 - 80, h/2 + 68); time.sleep(5)"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "eagle"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-13/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"
}