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": "1de60575-bb6e-4c3d-9e6a-2fa699f9f197-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Summarize the total revenue for each promotion type in a new sheet (Sheet2) with the promotion names as the column headers.",
  "source": "SheetCopilot@55",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/1de60575-bb6e-4c3d-9e6a-2fa699f9f197-WOS/config/EntireSummerSales.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\EntireSummerSales.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\EntireSummerSales.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\1de60575-bb6e-4c3d-9e6a-2fa699f9f197-wos",
  "related_apps": ["libreoffice-calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "EntireSummerSales.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": 3.0
        }
      }
    ],
    "func": "compare_table",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/1de60575-bb6e-4c3d-9e6a-2fa699f9f197-WOS/eval/6_EntireSummerSales_gt1.xlsx",
      "dest": "6_EntireSummerSales_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\EntireSummerSales.xlsx",
      "dest": "EntireSummerSales.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "pivot_table",
          "sheet_idx0": "RNSheet2",
          "sheet_idx1": "ENSheet2",
          "pivot_props": ["col_fields", "filter", "row_fields", "data_fields"]
        }
      ]
    }
  }
}