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": "5f8601f8-6e90-4d2c-91bb-eb5836ad1d5c-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Summarize the total subtotals for each Expense Account in a new sheet. Display the results in a bar chart.",
  "source": "SheetCopilot@68",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/5f8601f8-6e90-4d2c-91bb-eb5836ad1d5c-WOS/config/ExpenseReport.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\ExpenseReport.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\ExpenseReport.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\5f8601f8-6e90-4d2c-91bb-eb5836ad1d5c-wos",
  "related_apps": ["libreoffice_calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "ExpenseReport.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/5f8601f8-6e90-4d2c-91bb-eb5836ad1d5c-WOS/eval/6_ExpenseReport_gt1.xlsx",
      "dest": "6_ExpenseReport_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\ExpenseReport.xlsx",
      "dest": "ExpenseReport.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "chart",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "chart_props": ["type"]
        },
        {
          "type": "pivot_table",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "pivot_props": ["col_fields", "filter", "row_fields", "data_fields"]
        }
      ]
    }
  }
}