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.2 KB
Raw Blame
{
  "id": "276cc624-87ea-4f08-ab93-f770e3790175-WOS",
  "snapshot": "vscode",
  "instruction": "Please help me set the current user's line length to 50 characters in VS Code.",
  "source": "https://www.quora.com/unanswered/How-do-you-set-the-line-length-in-Visual-Studio-Code",
  "_comments": "if VS code is new, settings.json may not exist so to test correct state via the settings JSON, may need to initialize this first if file not found/downloaded successfully (Press Ctrl shift p and search for user settings JSON)",
  "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": "check_json_settings",
    "expected": {
      "type": "rule",
      "rules": {
        "expected": {
          "editor.wordWrapColumn": 50
        }
      }
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\AppData\\Roaming\\Code\\User\\settings.json",
      "dest": "settings.json"
    }
  }
}