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.1 KB
Raw Blame
{
  "id": "57242fad-77ca-454f-b71b-f187181a9f23-WOS",
  "snapshot": "vscode",
  "instruction": "Please help me create a new python file named \"test.py\" via VS Code and save it at \"C:\\Users\\Docker\\Desktop\".",
  "source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf",
  "config": [
    {
      "type": "launch",
      "parameters": {
        "command": ["code"]
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 2
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Visual Studio Code"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["vscode"],
  "evaluator": {
    "func": "is_extension_installed",
    "result": {
      "type": "vm_command_line",
      "command": [
        "powershell",
        "-Command",
        "if (Test-Path -Path 'C:\\Users\\Docker\\Desktop\\test.py') { 'test.py' }"
      ]
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "contain",
        "expected": "test.py"
      }
    }
  }
}