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": "e528b65e-1107-4b8c-8988-490e4fece599-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "Please help me make the first letter of each word to uppercase.",
  "source": "https://www.youtube.com/watch?v=l25Evu4ohKg",
  "_comments": "source does not show how to capitalize every first letter of each word",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/e528b65e-1107-4b8c-8988-490e4fece599-WOS/config/Geography_And_Magical_Realism.docx",
            "path": "C:\\Users\\Docker\\Downloads\\Geography_And_Magical_Realism.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\Geography_And_Magical_Realism.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Geography_And_Magical_Realism.docx — LibreOffice Writer",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python",
            "-c",
            "import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5); "
          ]
        }
      }
    ],
    "func": "compare_docx_files",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/e528b65e-1107-4b8c-8988-490e4fece599-WOS/eval/Geography_And_Magical_Realism_Gold.docx",
      "dest": "Geography_And_Magical_Realism_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\Geography_And_Magical_Realism.docx",
      "dest": "Geography_And_Magical_Realism.docx"
    }
  }
}