{
  "id": "663876c7-3471-43db-ba51-f410b13d9d7d",
  "snapshot": "libreoffice_writer",
  "instruction": "Insert the equation \"(a + b)^2 = a^2 + 2 a b + b^2\" at the position of the cursor.",
  "source": "https://askubuntu.com/questions/319593/how-to-type-science-equations-in-libre-office",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1J3--srr-Fmt2z-wOAyPDmO5GoiJMkUvZ&export=download&authuser=0&confirm=t&uuid=5f275f3d-ab7d-4d27-848a-8012af4bcf7f&at=APZUnTVe5ucwe1Q0oVi9jwiY5PF7:1704971494071",
            "path": "/home/user/Desktop/Factoring_Perfect_Square_Trinomials.docx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/Desktop/Factoring_Perfect_Square_Trinomials.docx"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "libreoffice_writer"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Factoring_Perfect_Square_Trinomials.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_insert_equation",
    "expected": {
      "type": "cloud_file",
      "path": "https://drive.usercontent.google.com/download?id=1QGfyQUPEjOX8osycnjR8E5yHeIEGccKI&export=download&authuser=0&confirm=t&uuid=174491d6-7855-4323-9fa5-5146fde48c4a&at=APZUnTXA8bIcIbtw9mUN-K-IU9bT:1704971524974",
      "dest": "Factoring_Perfect_Square_Trinomials_Gold.docx"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/Desktop/Factoring_Perfect_Square_Trinomials.docx",
      "dest": "Factoring_Perfect_Square_Trinomials.docx"
    }
  }
}