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": "21ab7b40-77c2-4ae6-8321-e00d3a086c73-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Please calculate the period rate for my data in a new column with header \"Period Rate (%)\", convert the results as number type, and highlight the highest result with green (#00ff00) font.",
  "source": "SheetCopilot@124",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/21ab7b40-77c2-4ae6-8321-e00d3a086c73-WOS/config/PeriodRate.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\PeriodRate.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\PeriodRate.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\21ab7b40-77c2-4ae6-8321-e00d3a086c73-wos",
  "related_apps": ["libreoffice_calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "PeriodRate.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/21ab7b40-77c2-4ae6-8321-e00d3a086c73-WOS/eval/1_PeriodRate_gt1.xlsx",
      "dest": "1_PeriodRate_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\PeriodRate.xlsx",
      "dest": "PeriodRate.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        },
        {
          "type": "style",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0",
          "props": ["font_color"]
        }
      ]
    }
  }
}