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.3 KB
Raw Blame
{
  "id": "8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Given a partial calendar, please highlight all the weekends (Satureday & Sunday) by setting the cell background as red (#ff0000).",
  "source": "https://www.youtube.com/shorts/Hbcwu6IQ1ns",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14-WOS/config/Calendar_Highlight_Weekend_Days.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\Calendar_Highlight_Weekend_Days.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\Calendar_Highlight_Weekend_Days.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14-wos",
  "related_apps": ["libreoffice calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Calendar_Highlight_Weekend_Days.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/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14-WOS/eval/Calendar_Highlight_Weekend_Days_gold.xlsx",
      "dest": "Calendar_Highlight_Weekend_Days_gold.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\Calendar_Highlight_Weekend_Days.xlsx",
      "dest": "Calendar_Highlight_Weekend_Days.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        },
        {
          "type": "style",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "props": ["bgcolor"]
        }
      ]
    }
  }
}