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.2 KB
Raw Blame
{
  "id": "b21acd93-60fd-4127-8a43-2f5178f4a830-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "I have been practicing professional writing lately. Now I am writing an essay which requires one paragraph each for introduction, body, and conclusion with single-space for introduction, double-space for body then one-and-a-half-space for conclusion. The font size of this essay is 12. Could you help me on this?",
  "source": "https://superuser.com/questions/1097199/how-can-i-double-space-a-document-in-libreoffice?rq=1",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/b21acd93-60fd-4127-8a43-2f5178f4a830-WOS/config/CCHU9045_Course_Outline_2019-20.docx",
            "path": "C:\\Users\\Docker\\Downloads\\CCHU9045_Course_Outline_2019-20.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\CCHU9045_Course_Outline_2019-20.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "CCHU9045_Course_Outline_2019-20.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_line_spacing",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/b21acd93-60fd-4127-8a43-2f5178f4a830-WOS/eval/CCHU9045_Course_Outline_2019-20_Gold.docx",
      "dest": "CCHU9045_Course_Outline_2019-20_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\CCHU9045_Course_Outline_2019-20.docx",
      "dest": "CCHU9045_Course_Outline_2019-20.docx"
    }
  }
}