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.3 KB
Raw Blame
{
  "id": "7e429b8d-a3f0-4ed0-9b58-08957d00b127-WOS",
  "snapshot": "libreoffice_calc",
  "instruction": "I have a lookup table for the officers of each branch. Please, here is another table in which I need to fill with the officer names according the headoffice (i.e., the branch name). Help me to complete this.",
  "source": "https://medium.com/@divyangichaudhari17/how-to-use-vlookup-and-hlookup-in-libre-calc-3370698bb3ff",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/calc/7e429b8d-a3f0-4ed0-9b58-08957d00b127-WOS/config/VLOOKUP_Fill_the_form.xlsx",
            "path": "C:\\Users\\Docker\\Downloads\\VLOOKUP_Fill_the_form.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\VLOOKUP_Fill_the_form.xlsx"
      }
    }
  ],
  "trajectory": "trajectories\\7e429b8d-a3f0-4ed0-9b58-08957d00b127-wos",
  "related_apps": ["libreoffice calc"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "VLOOKUP_Fill_the_form.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/7e429b8d-a3f0-4ed0-9b58-08957d00b127-WOS/eval/VLOOKUP_Fill_the_form_gold.xlsx",
      "dest": "VLOOKUP_Fill_the_form_gold.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\VLOOKUP_Fill_the_form.xlsx",
      "dest": "VLOOKUP_Fill_the_form.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "sheet_data",
          "sheet_idx0": 0,
          "sheet_idx1": "EI0"
        }
      ]
    }
  }
}