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.0 KB
Raw Blame
{
  "id": "0acbd372-ca7a-4507-b949-70673120190f-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Calculate Net Income in a new column with header \"Net Income\" and format all data as accounting number type.",
  "source": "SheetCopilot@121",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/0acbd372-ca7a-4507-b949-70673120190f-WOS/config/NetIncome.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\NetIncome.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\NetIncome.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\0acbd372-ca7a-4507-b949-70673120190f-wos",
  "related_apps": ["libreoffice-calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "NetIncome.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/0acbd372-ca7a-4507-b949-70673120190f-WOS/eval/1_NetIncome_gt1.xlsx",
      "dest": "1_NetIncome_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\NetIncome.xlsx",
      "dest": "NetIncome.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        }
      ]
    }
  }
}