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.

2.1 KB
Raw Blame
{
  "id": "fba2c100-79e8-42df-ae74-b592418d54f4-WOS",
  "snapshot": "base_setup",
  "instruction": "Snap a photo of the current video scene, save it as 'interstellar.png', and put it on the Desktop, please.",
  "source": "https://www.youtube.com/watch?v=XHprwDJ0-fU&t=436s",
  "_comments": "interstellar video is large, when it opens up VLC player readjusts its size with some part of the video and player being off screen which can be an issue",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vlc/fba2c100-79e8-42df-ae74-b592418d54f4-WOS/config/Interstellar%20Movie%20-%20Official%20Trailer.mp4",
            "path": "C:\\Users\\Docker\\Downloads\\Interstellar Movie - Official Trailer.mp4"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "vlc",
          "--start-time=120.5",
          "--stop-time=121",
          "--play-and-pause",
          "C:\\Users\\Docker\\Downloads\\Interstellar Movie - Official Trailer.mp4"
        ]
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 1
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Interstellar Movie - Interstellar Movie - Official Trailer - VLC media player"
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.click(500, 500); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["vlc"],
  "evaluator": {
    "func": "compare_images",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vlc/fba2c100-79e8-42df-ae74-b592418d54f4-WOS/eval/interstellar.png",
      "dest": "interstellar_gold.png"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Desktop\\interstellar.png",
      "dest": "interstellar.png"
    }
  }
}