Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

1.6 KB
Raw Blame
{
  "id": "121ba48f-9e17-48ce-9bc6-a4fb17a7ebba-wos",
  "snapshot": "chrome",
  "instruction": "Find the Dota 2 official soundtrack and add it to my cart on Steam.",
  "source": "Mind2Web",
  "_comments": "instruction does not match evaluation which only counts the soundtrack as DLC for correct eval; revised instruction, load_state: networkidle",
  "config": [
    {
      "type": "launch",
      "parameters": {
        "command": [
          "google-chrome",
          "--remote-debugging-port=1337",
          "--force-renderer-accessibility"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": ["socat", "tcp-listen:9222,fork", "tcp:localhost:1337"]
      }
    },
    {
      "type": "chrome_open_tabs",
      "parameters": {
        "urls_to_open": ["https://www.dota2.com/home", "https://store.steampowered.com"]
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Google Chrome"
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.hotkey('alt', 'f10'); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories\\",
  "related_apps": ["chrome"],
  "evaluator": {
    "func": "is_added_to_steam_cart",
    "result": {
      "type": "page_info",
      "url": "https://store.steampowered.com/cart/",
      "load_state": "networkidle"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "items": ["The Dota 2 Official Soundtrack"]
      }
    }
  }
}