mirrored 11 minutes ago
0
tsuky_chenfix multi apps f4ec36b
{
  "id": "02ce9a50-7af2-47ed-8596-af0c230501f8",
  "snapshot": "libreoffice_writer",
  "instruction": "I am currently utilizing LibreOffice Writer to compose a Linux tutorial, and I intend to display the outcomes generated by executing the \"ls\" command in /home/user. Kindly execute this command and save the screenshot as 'ls.png' on the Desktop.",
  "source": "authors",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1cOYh50n0S3-Q_h8HDTCEPv2v6NsJl07m&export=download&authuser=0&confirm=t&uuid=9741b52a-d998-4875-94ec-ab0a45a40bf9&at=APZUnTX__WVALT4i0EIQoRAWkm-k:1709715620836",
            "path": "/home/user/Desktop/top-10-linux-commands-for-newbies.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/top-10-linux-commands-for-newbies.docx"
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 2
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "python",
          "-c",
          "import pyautogui; import time; pyautogui.hotkey('f11'); time.sleep(0.5); pyautogui.click(960, 540); time.sleep(0.5); pyautogui.scroll(-20)"
        ]
      }
    }
  ],
  "trajectory": "trajectories/02ce9a50-7af2-47ed-8596-af0c230501f8",
  "related_apps": [
    "libreoffice_writer",
    "os"
  ],
  "evaluator": {
    "func": "compare_image_text",
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/ls.png",
      "dest": "ls.png"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "text",
        "text": " Ls"
      }
    }
  }
}