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": "adf5e2c3-64c7-4644-b7b6-d2f0167927e7-WOS",
  "snapshot": "libreoffice_writer",
  "instruction": "Help me adding \"Steinberg, F. M., Bearden, M. M., & Keen, C. L. (2003). Cocoa and chocolate flavonoids: Implications for cardiovascular health. Journal of the American Dietetic Association, 103(2), 215-223. doi: 10.1053/jada.2003.50028\" to my reference list, and add a cross reference (using reference number) in the fourth paragraph where I marked \"<add here>\".",
  "source": "https://seekstar.github.io/2022/04/11/libreoffice%E5%BC%95%E7%94%A8%E6%96%87%E7%8C%AE/",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/adf5e2c3-64c7-4644-b7b6-d2f0167927e7-WOS/config/Essay_Writing_English_for_uni.docx",
            "path": "C:\\Users\\Docker\\Downloads\\Essay_Writing_English_for_uni.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "C:\\Users\\Docker\\Downloads\\Essay_Writing_English_for_uni.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["libreoffice_writer"],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Essay_Writing_English_for_uni.docx — LibreOffice Writer",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      },
      {
        "type": "execute",
        "parameters": {
          "command": [
            "python",
            "-c",
            "import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5); "
          ]
        }
      }
    ],
    "func": "compare_docx_files",
    "expected": {
      "type": "cloud_file",
      "path": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/writer/adf5e2c3-64c7-4644-b7b6-d2f0167927e7-WOS/eval/Essay_Writing_English_for_uni_Gold.docx",
      "dest": "Essay_Writing_English_for_uni_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "C:\\Users\\Docker\\Downloads\\Essay_Writing_English_for_uni.docx",
      "dest": "Essay_Writing_English_for_uni.docx"
    }
  }
}