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.4 KB
Raw Blame
{
  "id": "4e60007a-f5be-4bfc-9723-c39affa0a6d3-WOS",
  "snapshot": "vscode",
  "instruction": "Please help me install the autoDocstring extension in VS Code.",
  "source": "https://campbell-muscle-lab.github.io/howtos_Python/pages/documentation/best_practices/vscode_docstring_extension/vscode_docstring_extension.html#:~:text=Type%2C%20Ctrl%20%2B%20Shift%20%2B%20P,select%20the%20NumPy%20docstring%20format.",
  "comments": "had to sleep for 2 secs to make sure window was launched before activating; also had to pre-pend cmd /c to the command to get it to work (assuming shell option is false)",
  "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": [
        "cmd",
        "/c",
        "code",
        "--list-extensions",
        "|",
        "findstr",
        "njpwerner.autodocstring"
      ]
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "contain",
        "expected": "njpwerner.autodocstring"
      }
    }
  }
}