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": "04d9aeaf-7bed-4024-bedb-e10e6f00eb7f-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "In a new sheet with 4 headers \"Year\", \"CA changes\", \"FA changes\", and \"OA changes\", calculate the annual changes for the Current Assets, Fixed Assets, and Other Assets columns. Set the results as percentage type.",
  "source": "SheetCopilot@168",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/04d9aeaf-7bed-4024-bedb-e10e6f00eb7f-WOS/config/SmallBalanceSheet.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\SmallBalanceSheet.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\SmallBalanceSheet.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\04d9aeaf-7bed-4024-bedb-e10e6f00eb7f-wos",
  "related_apps": ["libreoffice-calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "SmallBalanceSheet.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/04d9aeaf-7bed-4024-bedb-e10e6f00eb7f-WOS/eval/4_SmallBalanceSheet_gt1.xlsx",
      "dest": "4_SmallBalanceSheet_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\SmallBalanceSheet.xlsx",
      "dest": "SmallBalanceSheet.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": "RNSheet2",
          "sheet_idx1": "ENSheet2"
        }
      ]
    }
  }
}