File size: 2,558 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
{
  "id": "single-software-execution--gui--librecad--task-01--ubuntu",
  "snapshot": "LibreCAD2.2.0.2",
  "instruction": "Begin by reviewing guih08_cabinet_panel_seed.dxf in LibreCAD. Launch LibreCAD from `/usr/bin/librecad` before opening `guih08_cabinet_panel_seed.dxf`. Complete the hard cabinet CNC side panel and delete all GUIDE entities before saving. Draw OUTLINE rectangle (0,0)-(1800,700). Add DADO rectangles (80,172)-(1720,188), (80,342)-(1720,358), and (80,512)-(1720,528). Add shelf-pin HOLE circles radius 2 at x=120 and x=1680 for y=90,150,210,270,330,390,450,510,570,630. Add HINGE cup circles radius 17.5 at (60,120), (60,350), and (60,580), plus screw HOLE circles radius 2.5 at y offsets ±32 from each hinge cup. Add labels LEFT SIDE PANEL, 3X DADO 16 WIDE, 20X SHELF PIN Ø4, and 3X HINGE CUP Ø35. Save the result as /home/user/Desktop/guih08_cabinet_panel_completed.dxf.",
  "source": "https://docs.librecad.org/en/2.2.0_a/ref/tools.html; https://docs.librecad.org/en/2.2.0_a/ref/fundamentals.html; https://docs.librecad.org/en/2.2.0_a/guide/gui.html",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-01/init_file/guih08_cabinet_panel_seed.dxf",
            "path": "/home/user/Desktop/guih08_cabinet_panel_seed.dxf"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "librecad",
          "/home/user/Desktop/guih08_cabinet_panel_seed.dxf"
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python3",
          "-c",
          "import pyautogui; import time; time.sleep(10); pyautogui.press(\"enter\")"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "librecad"
  ],
  "artifact_paths": [
    "/home/user/Desktop/guih08_cabinet_panel_completed.dxf"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-01/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"
}