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": "1d17d234-e39d-4ed7-b46f-4417922a4e7c-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Create a new sheet named \"Sheet2\" and merge cells A1:C1 to write the header \"Investment Summary\". Beneath that, merge cells A2:B2 to write \"High Interest Rate\" and merge cells C2:D2 to form \"Low Interest Rate\".",
  "source": "SheetCopilot@73",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/1d17d234-e39d-4ed7-b46f-4417922a4e7c-WOS/config/FutureValue.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\FutureValue.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\FutureValue.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\1d17d234-e39d-4ed7-b46f-4417922a4e7c-wos",
  "related_apps": ["libreoffice-calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "FutureValue.xlsx — LibreOffice Calc",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": ["python", "-c", "import pyautogui; pyautogui.hotkey('ctrl', 's');"]
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      }
    ],
    "func": "compare_table",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/1d17d234-e39d-4ed7-b46f-4417922a4e7c-WOS/eval/5_FutureValue_gt1.xlsx",
      "dest": "5_FutureValue_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\FutureValue.xlsx",
      "dest": "FutureValue.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": "RNSheet2",
          "sheet_idx1": "ENSheet2"
        }
      ]
    }
  }
}