File size: 3,734 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--cli--archicad--task-08--windows",
  "snapshot": "ArchiCAD-27",
  "instruction": "Update C:\\Users\\user\\Desktop\\init.ifc in the opened Graphisoft/Archicad environment using the official Graphisoft/Archicad command-line or automation interfaces available there, and save the finished deliverable as C:\\Users\\user\\Desktop\\result.ifc. At the start of the task, invoke Archicad from `C:\\Program Files\\GRAPHISOFT\\Archicad 27\\Archicad.exe` when running the automation. Do not create, rewrite, patch, copy, or post-process the IFC file outside the Graphisoft/Archicad toolchain. The current model is a small artist studio with a central studio, office, store, pantry, WC, and a light roof profile. The tenant needs a ventilated finishing booth near the store for material work, but the main studio volume and roof silhouette should remain intact. Add the finishing booth, its access door, and a high ventilation window record so the handover model describes the safer workflow. Evaluation requirements: the identifiers, counts, relationships, properties, and numeric ranges in the following JSON are explicit task requirements: {\"annotations\":[{\"class\":\"IfcSpace\",\"name\":\"STORE\",\"tokens\":[\"MATERIAL ADJACENCY\",\"FINISHING SUPPORT\",\"VENTILATED\",\"SAFE WORKFLOW\"]}],\"products\":[{\"class\":\"IfcSpace\",\"name\":\"FINISHING-BOOTH\",\"predefined\":\"INTERNAL\",\"storey\":\"GROUND\",\"tokens\":[\"FINISHING BOOTH\",\"VENTILATED\",\"MATERIAL WORK\",\"SAFE WORKFLOW\"]},{\"class\":\"IfcDoor\",\"name\":\"FINISHING-BOOTH-DOOR\",\"predefined\":\"DOOR\",\"storey\":\"GROUND\",\"tokens\":[\"FINISHING BOOTH\",\"SEALED DOOR\",\"MATERIAL WORK\",\"ACCESS\"]},{\"class\":\"IfcWindow\",\"name\":\"FINISHING-HIGH-VENT\",\"predefined\":\"WINDOW\",\"storey\":\"GROUND\",\"tokens\":[\"FINISHING BOOTH\",\"HIGH VENT\",\"VENTILATION\",\"PRIVACY\"]}]}.",
  "source": "Graphisoft Archicad 27 IFC command server and JSON automation interfaces",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-08/init_file/init.ifc",
            "path": "C:\\Users\\user\\Desktop\\init.ifc"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "C:\\Program Files\\Graphisoft\\Archicad 27\\Archicad",
          "C:\\Users\\user\\Desktop\\init.ifc"
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui, time\npyautogui.FAILSAFE=False\ntime.sleep(18)\nwins=pyautogui.getWindowsWithTitle('End User License Agreement')\nif wins:\n    w=wins[0]\n    pyautogui.click(w.left+25, w.top+314)\n    time.sleep(0.3)\n    pyautogui.click(w.left+380, w.top+380)\n    time.sleep(12)\nfor _ in range(5):\n    pyautogui.press('enter')\n    time.sleep(2)\n"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "archicad"
  ],
  "artifact_paths": [
    "C:\\Users\\user\\Desktop\\result.ifc"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-08/eval.py",
              "path": "C:\\Users\\user\\Desktop\\eval.py"
            }
          ]
        }
      }
    ],
    "func": "exact_match",
    "result": {
      "type": "vm_command_line",
      "command": "python C:\\Users\\user\\Desktop\\eval.py",
      "shell": "true"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "expected": "True\n"
      }
    }
  },
  "proxy": false,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}