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.3 KB
Raw Blame
{
  "id": "6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "I have been editing my document and some words that needed to be rewritten are highlighted in yellow. As I fixed those words, please help me remove all highlight. I want to make sure that there is no highlight word.",
  "source": "https://help.libreoffice.org/7.2/en-US/text/shared/02/02160000.html?&DbPAR=WRITER&System=WIN#:~:text=Select%20the%20highlighted%20text.%20On%20the%20Formatting%20bar%2C,by%20clicking%20the%20icon%20again%20or%20pressing%20Esc.",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2-WOS/config/sample-recruitment-phone-script.odt",
            "path": "C:\\Users\\Docker\\Downloads\\sample-recruitment-phone-script.odt"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\sample-recruitment-phone-script.odt"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "sample-recruitment-phone-script.odt — 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": "check_highlighted_words",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2-WOS/eval/sample-recruitment-phone-script_Gold.odt",
      "dest": "sample-recruitment-phone-script_Gold.odt"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\sample-recruitment-phone-script.odt",
      "dest": "sample-recruitment-phone-script.odt"
    }
  }
}