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.4 KB
Raw Blame
{
  "id": "5d353deb-c4b0-4126-a99e-5490817b48cb-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Create a summary table in a new sheet named \"Indicator Summary\" showing the values summed over all countries of each indicator from the years 2010 to 2013. Then, create a clustered bar chart in this sheet to visualize the table with the legends at the bottom",
  "source": "SheetCopilot@32",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/5d353deb-c4b0-4126-a99e-5490817b48cb-WOS/config/EasyGDPBreakdown.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\EasyGDPBreakdown.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\EasyGDPBreakdown.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\5d353deb-c4b0-4126-a99e-5490817b48cb-wos",
  "related_apps": ["libreoffice_calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "EasyGDPBreakdown.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/5d353deb-c4b0-4126-a99e-5490817b48cb-WOS/eval/9_EasyGDPBreakdown_gt1.xlsx",
      "dest": "9_EasyGDPBreakdown_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\EasyGDPBreakdown.xlsx",
      "dest": "EasyGDPBreakdown.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "chart",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "chart_props": ["type", "legend"]
        },
        {
          "type": "pivot_table",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "pivot_props": ["col_fields", "filter", "row_fields", "data_fields"]
        }
      ]
    }
  }
}