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": "a96b564e-dbe9-42c3-9ccf-b4498073438a-wos",
  "snapshot": "chrome",
  "instruction": "Find the community discussions page and open the Banter discussion thread (probably the one that has the most replies of all time).",
  "_comments": "changed original task instruction to make it clearer; this task is potentially fragile due to evaluation relying on hyperlink and most replied post not changing",
  "source": "test_task_0",
  "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.flightaware.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_expected_active_tab",
    "result": {
      "type": "active_tab_info",
      "goto_prefix": "https://"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "url",
        "url": "https://discussions.flightaware.com/t/the-banter-thread/4412"
      }
    }
  }
}