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": "0a2e43bf-b26c-4631-a966-af9dfa12c9e5-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Work out the monthly total sales in a new row called \"Total\" and then create a line chart to show the results (x-axis be Months).",
  "source": "SheetCopilot@154",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/0a2e43bf-b26c-4631-a966-af9dfa12c9e5-WOS/config/SalesRep.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\SalesRep.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\SalesRep.xlsx"
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 2
      }
    }
  ],
  "trajectory": "trajectories\\0a2e43bf-b26c-4631-a966-af9dfa12c9e5-wos",
  "related_apps": ["libreoffice-calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "SalesRep.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/0a2e43bf-b26c-4631-a966-af9dfa12c9e5-WOS/eval/5_SalesRep_gt1.xlsx",
      "dest": "5_SalesRep_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\SalesRep.xlsx",
      "dest": "SalesRep.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        },
        {
          "type": "chart",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "chart_props": ["type"]
        }
      ]
    }
  }
}