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.3 KB
Raw Blame
{
  "id": "06fe7178-4491-4589-810f-2e2bc9502122-wos",
  "snapshot": "chrome",
  "instruction": "Can you make my computer bring back the last tab I shut down?",
  "source": "https://www.wikihow.com/Switch-Tabs-in-Chrome",
  "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.lonelyplanet.com",
          "https://www.airbnb.com",
          "https://www.tripadvisor.com"
        ]
      }
    },
    {
      "type": "chrome_close_tabs",
      "parameters": {
        "urls_to_close": ["https://www.tripadvisor.com"]
      }
    }
  ],
  "trajectory": "trajectories\\",
  "related_apps": ["chrome"],
  "evaluator": {
    "func": "is_expected_tabs",
    "result": {
      "type": "open_tabs_info"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "url",
        "urls": [
          "https://www.lonelyplanet.com",
          "https://www.airbnb.com",
          "https://www.tripadvisor.com"
        ]
      }
    }
  }
}