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": "7a4e4bc8-922c-4c84-865c-25ba34136be1-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Reorder the columns to be \"Date\", \"First Name\", \"Last Name\", \"Order ID\", \"Sales\"",
  "source": "https://www.youtube.com/shorts/bvUhr1AHs44",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/7a4e4bc8-922c-4c84-865c-25ba34136be1-WOS/config/Name_Order_Id_move_column.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\Name_Order_Id_move_column.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\Name_Order_Id_move_column.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\7a4e4bc8-922c-4c84-865c-25ba34136be1-wos",
  "related_apps": ["libreoffice calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Name_Order_Id_move_column.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/7a4e4bc8-922c-4c84-865c-25ba34136be1-WOS/eval/Name_Order_Id_move_column_gold.xlsx",
      "dest": "Name_Order_Id_move_column_gold.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\Name_Order_Id_move_column.xlsx",
      "dest": "Name_Order_Id_move_column.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        }
      ]
    }
  }
}