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.4 KB
Raw Blame
{
  "id": "d53ff5ee-3b1a-431e-b2be-30ed2673079b-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "I am currently engaged in text processing and require assistance in converting all uppercase text to lowercase within my document. This precision is critical for maintaining a uniform and polished presentation. Could you help me on this?",
  "source": "https://ask.libreoffice.org/t/how-to-convert-all-uppercase-to-lowercase/53341",
  "_comments": "not clear from instruction but gold reference file presumes that all text is uppercase; as a result, even the first letter of each word at the beginning of each sentence is lower-case (not sure if intended)",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/d53ff5ee-3b1a-431e-b2be-30ed2673079b-WOS/config/presentation_instruction_2023_Feb.docx",
            "path": "C:\\Users\\Docker\\Downloads\\presentation_instruction_2023_Feb.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\presentation_instruction_2023_Feb.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "func": "compare_docx_files",
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "presentation_instruction_2023_Feb.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); "
          ]
        }
      }
    ],
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/d53ff5ee-3b1a-431e-b2be-30ed2673079b-WOS/eval/presentation_instruction_2023_Feb_Gold.docx",
      "dest": "presentation_instruction_2023_Feb_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\presentation_instruction_2023_Feb.docx",
      "dest": "presentation_instruction_2023_Feb.docx"
    }
  }
}