{
  "id": "51719eea-10bc-4246-a428-ac7c433dd4b3",
  "snapshot": "libreoffice_calc",
  "instruction": "Calculate revenue in a new column according to the Retail Price sheet (consider product price and quantity and discount), and generate a Pivot Table in a new sheet (Sheet2) that summarizes the revenue of each product.",
  "source": "SheetCopilot@7",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/51719eea-10bc-4246-a428-ac7c433dd4b3/BoomerangSales.xlsx",
            "path": "/home/user/BoomerangSales.xlsx"
          }
        ]
      }
    },
    {
      "type": "open",
      "parameters": {
        "path": "/home/user/BoomerangSales.xlsx"
      }
    }
  ],
  "trajectory": "trajectories/51719eea-10bc-4246-a428-ac7c433dd4b3",
  "related_apps": [
    "libreoffice_calc"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "BoomerangSales.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://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/51719eea-10bc-4246-a428-ac7c433dd4b3/8_BoomerangSales_gt1.xlsx",
      "dest": "8_BoomerangSales_gt1.xlsx"
    },
    "result": {
      "type": "vm_file",
      "path": "/home/user/BoomerangSales.xlsx",
      "dest": "BoomerangSales.xlsx"
    },
    "options": {
      "rules": [
        {
          "type": "pivot_table",
          "sheet_idx0": "RNSheet2",
          "sheet_idx1": "ENSheet2",
          "pivot_props": [
            "col_fields",
            "filter",
            "row_fields",
            "data_fields"
          ]
        }
      ]
    }
  },
  "proxy": false,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}