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": "7efeb4b1-3d19-4762-b163-63328d66303b-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Fill the Sequence Numbers as \"No. #\" in the \"Seq No.\" column",
  "source": "https://www.youtube.com/shorts/4jzXfZNhfmk",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/7efeb4b1-3d19-4762-b163-63328d66303b-WOS/config/Order_Sales_Serial%23.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\Order_Sales_Serial#.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\Order_Sales_Serial#.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\",
  "related_apps": ["libreoffice calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Order_Sales_Serial#.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/7efeb4b1-3d19-4762-b163-63328d66303b-WOS/eval/Order_Sales_Serial%23_gold.xlsx",
      "dest": "Order_Sales_Serial#_gold.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\Order_Sales_Serial#.xlsx",
      "dest": "Order_Sales_Serial#.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        }
      ]
    }
  }
}