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.1 KB
Raw Blame
{
  "id": "72b810ef-4156-4d09-8f08-a0cf57e7cefe-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "I am peer-reviewing my friend's course outline. I think the last paragraph is redundant so I want to add strike-through on words in the last paragraph. Can you do this for me?",
  "source": "https://superuser.com/questions/657792/libreoffice-writer-how-to-apply-strikethrough-text-formatting?rq=1",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/72b810ef-4156-4d09-8f08-a0cf57e7cefe-WOS/config/GEOG2169_Course_Outline_2022-23.docx",
            "path": "C:\\Users\\Docker\\Downloads\\GEOG2169_Course_Outline_2022-23.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\GEOG2169_Course_Outline_2022-23.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "GEOG2169_Course_Outline_2022-23.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": "evaluate_strike_through_last_paragraph",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/72b810ef-4156-4d09-8f08-a0cf57e7cefe-WOS/eval/GEOG2169_Course_Outline_2022-23_Gold.docx",
      "dest": "GEOG2169_Course_Outline_2022-23_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\GEOG2169_Course_Outline_2022-23.docx",
      "dest": "GEOG2169_Course_Outline_2022-23.docx"
    }
  }
}