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.0 KB
Raw Blame
{
  "id": "aa4b5023-aef6-4ed9-bdc9-705f59ab9ad6-WOS",
  "snapshot": "base_setup",
  "instruction": "Hey, could you turn this video the right way up for me? And once it's flipped around, could you save it for me with the name '1984_Apple_Macintosh_Commercial.mp4' under 'C:\\Users\\Docker\\Downloads'?",
  "source": "https://www.dedoimedo.com/computers/vlc-rotate-videos.html",
  "_comments": "Quite involved: open video, media > convert/save > wrench icon for settings > video codec > filters > check video transformation filter > go back ot encoding parameters tab, add ':vlip' in custom options, save, specifiy new path for file",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vlc/aa4b5023-aef6-4ed9-bdc9-705f59ab9ad6-WOS/config/flipped_1984_Apple_Macintosh_Commercial.mp4",
            "path": "C:\\Users\\Docker\\Downloads\\flipped_1984_Apple_Macintosh_Commercial.mp4"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "vlc",
          "C:\\Users\\Docker\\Downloads\\flipped_1984_Apple_Macintosh_Commercial.mp4"
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.click(960, 540); time.sleep(0.5);"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["vlc"],
  "evaluator": {
    "func": "compare_videos",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vlc/aa4b5023-aef6-4ed9-bdc9-705f59ab9ad6-WOS/eval/1984_Apple_Macintosh_Commercial.mp4",
      "dest": "1984_Apple_Macintosh_Commercial_gold.mp4"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\1984_Apple_Macintosh_Commercial.mp4",
      "dest": "1984_Apple_Macintosh_Commercial.mp4"
    }
  }
}