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.0 KB
Raw Blame
{
  "id": "4e6fcf72-daf3-439f-a232-c434ce416af6-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "Please calculate the ages of the employees according to their birthday.",
  "source": "https://www.youtube.com/shorts/0uxJccNCKcE",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.google.com/uc?export=download&id=1h9BRrJ7UwP3huncI0Qtv3rRYSWl-LfNI",
            "path": "C:\\Users\\Docker\\Downloads\\Employee_Age_By_Birthday.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\Employee_Age_By_Birthday.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\4e6fcf72-daf3-439f-a232-c434ce416af6-wos",
  "related_apps": ["libreoffice-calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "sleep",
        "parameters": {
          "seconds": 2
        }
      },
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Employee_Age_By_Birthday.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://drive.google.com/uc?export=download&id=1Afd0Qze3iAdsFPKtzmPvtSg_GZiHT3DC",
      "dest": "Employee_Age_By_Birthday_gold.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\Employee_Age_By_Birthday.xlsx",
      "dest": "Employee_Age_By_Birthday.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        }
      ]
    }
  }
}