From e96412fc9a22d5733be935f006b6ded2dbd7c2a3 Mon Sep 17 00:00:00 2001 From: tsuky_chen <3107760494@qq.com> Date: Fri, 2 Feb 2024 03:29:25 +0800 Subject: [PATCH] update windows exp libreoffice calc batch 1 --- .../01b269ae-2111-4a07-81fd-3fcd711993b0.json | 82 +++++++++++ .../0bf05a7d-b28b-44d2-955a-50b41e24012a.json | 109 ++++++++++++++ .../4e6fcf72-daf3-439f-a232-c434ce416af6.json | 134 ++++++++++++++++++ .../6054afcb-5bab-4702-90a0-b259b5d3217c.json | 90 ++++++++++++ .../7a4e4bc8-922c-4c84-865c-25ba34136be1.json | 82 +++++++++++ .../7efeb4b1-3d19-4762-b163-63328d66303b.json | 82 +++++++++++ .../8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14.json | 90 ++++++++++++ .../a9f325aa-8c05-4e4f-8341-9e4358565f4f.json | 82 +++++++++++ .../abed40dc-063f-4598-8ba5-9fe749c0615d.json | 82 +++++++++++ .../eb03d19a-b88d-4de4-8a64-ca0ac66f426b.json | 82 +++++++++++ .../ecb0df7a-4e8d-4a03-b162-053391d3afaf.json | 109 ++++++++++++++ 11 files changed, 1024 insertions(+) create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/01b269ae-2111-4a07-81fd-3fcd711993b0.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/4e6fcf72-daf3-439f-a232-c434ce416af6.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/6054afcb-5bab-4702-90a0-b259b5d3217c.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/7a4e4bc8-922c-4c84-865c-25ba34136be1.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/7efeb4b1-3d19-4762-b163-63328d66303b.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/a9f325aa-8c05-4e4f-8341-9e4358565f4f.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/eb03d19a-b88d-4de4-8a64-ca0ac66f426b.json create mode 100644 evaluation_examples/examples/Windows/libreoffice_calc/ecb0df7a-4e8d-4a03-b162-053391d3afaf.json diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/01b269ae-2111-4a07-81fd-3fcd711993b0.json b/evaluation_examples/examples/Windows/libreoffice_calc/01b269ae-2111-4a07-81fd-3fcd711993b0.json new file mode 100644 index 0000000..2e3a28e --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/01b269ae-2111-4a07-81fd-3fcd711993b0.json @@ -0,0 +1,82 @@ +{ + "id": "01b269ae-2111-4a07-81fd-3fcd711993b0", + "snapshot": "libreoffice_calc", + "instruction": "Fill all the blank cells with the value in the cell above it", + "source": "https://www.youtube.com/shorts/VrUzPTIwQ04", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1FuOZ-5YoKgLLwl_oZd4R3D8pZACf_ukS&export=download&authuser=0&confirm=t&uuid=2051e7a6-5930-4cef-8d77-20ebf66ec6e6&at=APZUnTX1fXqlxy6rluq-Kw-LUhS5:1705919461032", + "path": "C:\\Users\\user\\Student_Level_Fill_Blank.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Student_Level_Fill_Blank.xlsx" + } + } + ], + "trajectory": "trajectories/01b269ae-2111-4a07-81fd-3fcd711993b0", + "related_apps": [ + "msoffice_excel" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Student_Level_Fill_Blank.xlsx - Excel", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1HTle3vgdZSjJIK_wjXyjtWwbiYJeguwv&export=download&authuser=0&confirm=t&uuid=c5d0868b-bed2-48fb-949b-8a9f3f61e8cf&at=APZUnTVqS9CTZFJ1rPqCGQPDCv3p:1705919542916", + "dest": "Student_Level_Fill_Blank_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Student_Level_Fill_Blank.xlsx", + "dest": "Student_Level_Fill_Blank.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a.json b/evaluation_examples/examples/Windows/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a.json new file mode 100644 index 0000000..3609427 --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a.json @@ -0,0 +1,109 @@ +{ + "id": "0bf05a7d-b28b-44d2-955a-50b41e24012a", + "snapshot": "libreoffice_calc", + "instruction": "I would like to pad all the numbers in the 'Old ID' column with zeros in front, to fill them up to seven digits in the 'New 7 Digit ID' column.", + "source": "https://www.youtube.com/shorts/FPAQaDTS8VY", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1DqGy5JRKOuZMRJ8O76d4Cds4WaRyz8V1&export=download&authuser=0&confirm=t&uuid=fa0694d1-2a77-4fd2-89d3-d9b854317823&at=APZUnTU9BxqG7E8tLZ104c0E8BEL:1705501029016", + "path": "C:\\Users\\user\\Customers_New_7digit_Id.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Customers_New_7digit_Id.xlsx" + } + } + ], + "trajectory": "trajectories/0bf05a7d-b28b-44d2-955a-50b41e24012a", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Customers_New_7digit_Id.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + }, + { + "type": "execute", + "parameters": { + "command": [ + "libreoffice", + "--convert-to", + "csv:Text - txt - csv (StarCalc):44,34,UTF-8,,,,false,true,true,false,false,1", + "--outdir", + "/home/user", + "C:\\Users\\user\\Customers_New_7digit_Id.xlsx" + ] + } + } + ], + "func": "compare_table", + "result": { + "type": "vm_file", + "path": [ + "C:\\Users\\user\\Customers_New_7digit_Id.xlsx", + "C:\\Users\\user\\Customers_New_7digit_Id-Sheet1.csv" + ], + "dest": [ + "Customers_New_7digit_Id.xlsx", + "Customers_New_7digit_Id-Sheet1.csv" + ], + "multi": true + }, + "expected": { + "type": "cloud_file", + "path": [ + "https://drive.usercontent.google.com/download?id=1zXz5k5A403IR0GE6DRRXRgQZrSIoVFSz&export=download&authuser=0&confirm=t&uuid=ba70b841-969c-4d91-9288-0011aeecf251&at=APZUnTWx3LL9udCgJAh-VMFzzfod:1705501007861", + "https://drive.usercontent.google.com/download?id=1h1GnUpyj92K7FXiHJ1xVaUYW_UYMDLPM&export=download&authuser=0&confirm=t&uuid=98de75bd-ba32-4ceb-97a7-b8d303a8dc96&at=APZUnTUewdfFIsyC3UlSlMcmmRbo:1705500978790" + ], + "dest": [ + "Customers_New_7digit_Id_gold.xlsx", + "Customers_New_7digit_Id_gold-Sheet1.csv" + ], + "multi": true + }, + "options": { + "rules": [ + { + "type": "sheet_print", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/4e6fcf72-daf3-439f-a232-c434ce416af6.json b/evaluation_examples/examples/Windows/libreoffice_calc/4e6fcf72-daf3-439f-a232-c434ce416af6.json new file mode 100644 index 0000000..ea65248 --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/4e6fcf72-daf3-439f-a232-c434ce416af6.json @@ -0,0 +1,134 @@ +{ + "id": "4e6fcf72-daf3-439f-a232-c434ce416af6", + "snapshot": "libreoffice_calc", + "instruction": "Please calculate the ages of the employees according to their birthday.", + "source": "https://www.youtube.com/shorts/0uxJccNCKcE", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1WIyJbssCCscQ96be2hF9N7tXPz23JoBT&export=download&authuser=0&confirm=t&uuid=503cdbf3-2fe3-4019-bfd1-5d1faab8d049&at=APZUnTV-XLlF8KEx7zMjtX2kYSuM:1705909207212", + "path": "C:\\Users\\user\\Employee_Age_By_Birthday.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Employee_Age_By_Birthday.xlsx" + } + } + ], + "trajectory": "trajectories/4e6fcf72-daf3-439f-a232-c434ce416af6", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Employee_Age_By_Birthday.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + }, + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1sRI72UGfHiVBRFuV4uwhr173u3Sf46Y6&export=download&authuser=0&confirm=t&uuid=90da5e2b-39c0-449d-b753-09dfed73b509&at=APZUnTVFInccKo2QB9JNnIidFfG3:1705909465173", + "path": "C:\\Users\\user\\Employee_Age_By_Birthday_gold.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Employee_Age_By_Birthday_gold.xlsx" + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 2 + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Employee_Age_By_Birthday_gold.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "vm_file", + "path": "C:\\Users\\user\\Employee_Age_By_Birthday_gold.xlsx", + "dest": "Employee_Age_By_Birthday_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Employee_Age_By_Birthday.xlsx", + "dest": "Employee_Age_By_Birthday.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/6054afcb-5bab-4702-90a0-b259b5d3217c.json b/evaluation_examples/examples/Windows/libreoffice_calc/6054afcb-5bab-4702-90a0-b259b5d3217c.json new file mode 100644 index 0000000..072202b --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/6054afcb-5bab-4702-90a0-b259b5d3217c.json @@ -0,0 +1,90 @@ +{ + "id": "6054afcb-5bab-4702-90a0-b259b5d3217c", + "snapshot": "libreoffice_calc", + "instruction": "Some data are missed by now and are filled by 'N/A' temporarily. Please hide them in the table for now. Do not delete them and filter is no needed.", + "source": "https://www.youtube.com/shorts/JTbZ8sRxkdU", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1e1Ccsr_CQau9-boF92GxzZ0RtEHPtfdX&export=download&authuser=0&confirm=t&uuid=a1d4518d-e085-4bfa-ae6f-2514ed48efba&at=APZUnTU_ng4YNBQO7u6Dsuj21Gmq:1705911243359", + "path": "C:\\Users\\user\\Date_Budget_Variance_HideNA.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Date_Budget_Variance_HideNA.xlsx" + } + } + ], + "trajectory": "trajectories/6054afcb-5bab-4702-90a0-b259b5d3217c", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Date_Budget_Variance_HideNA.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1ReZexJAvbAAUng0JD3lEHN70J0WcS0_i&export=download&authuser=0&confirm=t&uuid=a11148b1-93e8-4634-a413-26e0e433c2c9&at=APZUnTV6KulVQf6LpHl4IVNqE5hA:1705914637572", + "dest": "Date_Budget_Variance_HideNA_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Date_Budget_Variance_HideNA.xlsx", + "dest": "Date_Budget_Variance_HideNA.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + }, + { + "type": "row_props", + "sheet_idx0": 0, + "sheet_idx1": "EI0", + "props": [ + "hidden" + ] + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/7a4e4bc8-922c-4c84-865c-25ba34136be1.json b/evaluation_examples/examples/Windows/libreoffice_calc/7a4e4bc8-922c-4c84-865c-25ba34136be1.json new file mode 100644 index 0000000..ebbd81a --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/7a4e4bc8-922c-4c84-865c-25ba34136be1.json @@ -0,0 +1,82 @@ +{ + "id": "7a4e4bc8-922c-4c84-865c-25ba34136be1", + "snapshot": "libreoffice_calc", + "instruction": "Reorder the columns to be \"Date\", \"First Name\", \"Last Name\", \"Order ID\", \"Sales\"", + "source": "https://www.youtube.com/shorts/bvUhr1AHs44", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1jS159dHRdeZh54A8WgqJn_somQpKP1K_&export=download&authuser=0&confirm=t&uuid=06aa5391-5f3e-499b-9073-9ce24109f91f&at=APZUnTWFCuiN8b5ilNmxx3aPYGUF:1705551767314", + "path": "C:\\Users\\user\\Name_Order_Id_move_column.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Name_Order_Id_move_column.xlsx" + } + } + ], + "trajectory": "trajectories/7a4e4bc8-922c-4c84-865c-25ba34136be1", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Name_Order_Id_move_column.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1jAK4--qLRdUOA57MBsmERpR205GGIMij&export=download&authuser=0&confirm=t&uuid=4ca454c9-d9d5-4e5f-95e1-cb0e849932e5&at=APZUnTVgkUbmLJLC4O7ACKmzfFbq:1705551965635", + "dest": "Name_Order_Id_move_column_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Name_Order_Id_move_column.xlsx", + "dest": "Name_Order_Id_move_column.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/7efeb4b1-3d19-4762-b163-63328d66303b.json b/evaluation_examples/examples/Windows/libreoffice_calc/7efeb4b1-3d19-4762-b163-63328d66303b.json new file mode 100644 index 0000000..6400051 --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/7efeb4b1-3d19-4762-b163-63328d66303b.json @@ -0,0 +1,82 @@ +{ + "id": "7efeb4b1-3d19-4762-b163-63328d66303b", + "snapshot": "libreoffice_calc", + "instruction": "Fill the Sequence Numbers as \"No. #\" in the \"Seq No.\" column", + "source": "https://www.youtube.com/shorts/4jzXfZNhfmk", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1muvWVg44C6EtBpBQkZ6_ylg3M8r3jjOC&export=download&authuser=0&confirm=t&uuid=41354a7c-d199-4044-960e-0d146fe6f12a&at=APZUnTW3nj5RV3SBJt5tdeVxM4mM:1705553238027", + "path": "C:\\Users\\user\\Order_Sales_Serial#.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Order_Sales_Serial#.xlsx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Order_Sales_Serial#.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1K37qrxab2cib1SkKPthYkb83fzaj9ETa&export=download&authuser=0&confirm=t&uuid=66b763e6-2fb1-46fc-9753-7f8533366b82&at=APZUnTU1nCKKXBwCbyI8aKpdhE5W:1705560437314", + "dest": "Order_Sales_Serial#_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Order_Sales_Serial#.xlsx", + "dest": "Order_Sales_Serial#.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14.json b/evaluation_examples/examples/Windows/libreoffice_calc/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14.json new file mode 100644 index 0000000..c6b428b --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14.json @@ -0,0 +1,90 @@ +{ + "id": "8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14", + "snapshot": "libreoffice_calc", + "instruction": "Given a partial calendar, please highlight all the weekends (Satureday & Sunday) by setting the cell background as red (#ff0000).", + "source": "https://www.youtube.com/shorts/Hbcwu6IQ1ns", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1_gyig5Vs3VOuvkjRoLt2ZpXBIyCZfUmV&export=download&authuser=0&confirm=t&uuid=ed113cdd-4279-454b-a66d-07447e31c818&at=APZUnTVztf5DcbF0DjLJitkpUUxt:1705920417565", + "path": "C:\\Users\\user\\Calendar_Highlight_Weekend_Days.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Calendar_Highlight_Weekend_Days.xlsx" + } + } + ], + "trajectory": "trajectories/8b1ce5f2-59d2-4dcc-b0b0-666a714b9a14", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Calendar_Highlight_Weekend_Days.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1URKsHvPdWDvB-qwsIZ-SqHAmiXaosXKW&export=download&authuser=0&confirm=t&uuid=849064c9-7402-48c5-87f6-e5c290e4bd24&at=APZUnTXarmqM0cO4I0z-Lv7MElzX:1705920495794", + "dest": "Calendar_Highlight_Weekend_Days_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Calendar_Highlight_Weekend_Days.xlsx", + "dest": "Calendar_Highlight_Weekend_Days.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + }, + { + "type": "style", + "sheet_idx0": 0, + "sheet_idx1": "EI0", + "props": [ + "bgcolor" + ] + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/a9f325aa-8c05-4e4f-8341-9e4358565f4f.json b/evaluation_examples/examples/Windows/libreoffice_calc/a9f325aa-8c05-4e4f-8341-9e4358565f4f.json new file mode 100644 index 0000000..d019a15 --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/a9f325aa-8c05-4e4f-8341-9e4358565f4f.json @@ -0,0 +1,82 @@ +{ + "id": "a9f325aa-8c05-4e4f-8341-9e4358565f4f", + "snapshot": "libreoffice_calc", + "instruction": "Remove the adundant whitespaces and canonicalize the letter cases by capitalizing the first letter of each words and leave other letters as lower case.", + "source": "https://www.youtube.com/shorts/A0gmEBRKXWs", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1PGJxDM5QglZFdLd7yLQnA2MASf2so14S&export=download&authuser=0&confirm=t&uuid=725f7d90-1e30-4579-b946-7c8932aac440&at=APZUnTUpha_2nl3sAOmM1AeCCir_:1705561280883", + "path": "C:\\Users\\user\\Movie_title_garbage_clean.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Movie_title_garbage_clean.xlsx" + } + } + ], + "trajectory": "trajectories/a9f325aa-8c05-4e4f-8341-9e4358565f4f", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Movie_title_garbage_clean.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1hrmRQig53UW069MEN_V23xJXFrIooylm&export=download&authuser=0&confirm=t&uuid=82a01881-c72c-4463-b258-c8c66f8d72af&at=APZUnTVZVuQj91twmMdH1plMcABA:1705561377705", + "dest": "Movie_title_garbage_clean_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Movie_title_garbage_clean.xlsx", + "dest": "Movie_title_garbage_clean.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json b/evaluation_examples/examples/Windows/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json new file mode 100644 index 0000000..befc9f5 --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/abed40dc-063f-4598-8ba5-9fe749c0615d.json @@ -0,0 +1,82 @@ +{ + "id": "abed40dc-063f-4598-8ba5-9fe749c0615d", + "snapshot": "libreoffice_calc", + "instruction": "Check the names in column \"Names with duplicates\" and put the unique ones in column \"Unique Names\". Keep the original order.", + "source": "https://help.libreoffice.org/7.6/ro/text/scalc/guide/remove_duplicates.html?&DbPAR=SHARED&System=UNIX", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1A3O37a2M_tkmXHUn6G8kYu73cUMRUZnt&export=download&authuser=0&confirm=t&uuid=9a44147f-15e4-426c-9235-74fdda7439dc&at=APZUnTU4MAD7rODyryb9r0YolrrN:1705918712764", + "path": "C:\\Users\\user\\Names_Duplicate_Unique.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Names_Duplicate_Unique.xlsx" + } + } + ], + "trajectory": "trajectories/abed40dc-063f-4598-8ba5-9fe749c0615d", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Names_Duplicate_Unique.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1GYG97VdmPG9mlhSBjMlMpjsuDsEDWXNB&export=download&authuser=0&confirm=t&uuid=6dd49f77-6a87-4f99-9027-0c74bad23d6d&at=APZUnTWzHV6JFiTPuo2ICUSEZqq8:1705918802025", + "dest": "Names_Duplicate_Unique_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Names_Duplicate_Unique.xlsx", + "dest": "Names_Duplicate_Unique.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/eb03d19a-b88d-4de4-8a64-ca0ac66f426b.json b/evaluation_examples/examples/Windows/libreoffice_calc/eb03d19a-b88d-4de4-8a64-ca0ac66f426b.json new file mode 100644 index 0000000..42e2871 --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/eb03d19a-b88d-4de4-8a64-ca0ac66f426b.json @@ -0,0 +1,82 @@ +{ + "id": "eb03d19a-b88d-4de4-8a64-ca0ac66f426b", + "snapshot": "libreoffice_calc", + "instruction": "Transpose the table and paste it starting from B8", + "source": "https://www.youtube.com/shorts/t9JLUaT55UQ", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1Zl6ZUkbiV9sISjJRfracd8-xKrW2G3yv&export=download&authuser=0&confirm=t&uuid=6799cca6-62d2-4cfa-b28a-b8da486b5d01&at=APZUnTVy7-CQMjvuFyu7ZMxztfT6:1705563660974", + "path": "C:\\Users\\user\\Students_Class_Subject_Marks.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Students_Class_Subject_Marks.xlsx" + } + } + ], + "trajectory": "trajectories/eb03d19a-b88d-4de4-8a64-ca0ac66f426b", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Students_Class_Subject_Marks.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1GwqF52n6cvmQ-ivhmfNCep9mZboQ706-&export=download&authuser=0&confirm=t&uuid=4c750a20-73b8-4072-a4bf-3a4aa77b314a&at=APZUnTXYm-3NVdfneACqfDLYCWko:1705563733494", + "dest": "Students_Class_Subject_Marks_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Students_Class_Subject_Marks.xlsx", + "dest": "Students_Class_Subject_Marks.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/libreoffice_calc/ecb0df7a-4e8d-4a03-b162-053391d3afaf.json b/evaluation_examples/examples/Windows/libreoffice_calc/ecb0df7a-4e8d-4a03-b162-053391d3afaf.json new file mode 100644 index 0000000..6dd53fa --- /dev/null +++ b/evaluation_examples/examples/Windows/libreoffice_calc/ecb0df7a-4e8d-4a03-b162-053391d3afaf.json @@ -0,0 +1,109 @@ +{ + "id": "ecb0df7a-4e8d-4a03-b162-053391d3afaf", + "snapshot": "libreoffice_calc", + "instruction": "Enable each cell in the column\"Pass/Fail/Held\" is a drop down list", + "source": "https://www.youtube.com/shorts/tXOovKn0H68", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1vKtnFG-sL7Ba0UCcUh4dWJDfZeAHAP6l&export=download&authuser=0&confirm=t&uuid=70a267fa-dc71-4893-8fe3-a7254e50c567&at=APZUnTVfnhipGIdrD39159Eqv9lf:1705567650653", + "path": "C:\\Users\\user\\Order_Id_Mark_Pass_Fail.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\user\\Order_Id_Mark_Pass_Fail.xlsx" + } + } + ], + "trajectory": "trajectories/ecb0df7a-4e8d-4a03-b162-053391d3afaf", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Order_Id_Mark_Pass_Fail.xlsx - LibreOffice Calc", + "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); pyautogui.press(\"enter\");" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "options": { + "rules": [ + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + }, + { + "type": "data_validation", + "sheet_idx": 0, + "dv_props": [ + { + "ranges": { + "method": "spreadsheet_range", + "ref": [ + "D2:D29", + "D2:D1048576" + ] + }, + "type": { + "method": "eq", + "ref": "list" + }, + "formula1": { + "method": "str_set_eq", + "ref": [ + "Pass", + "Fail", + "Held" + ] + } + } + ] + } + ] + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\user\\Order_Id_Mark_Pass_Fail.xlsx", + "dest": "Order_Id_Mark_Pass_Fail.xlsx" + }, + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=125u7hc0LOcHXtJhOBd_Z5vt__7kwYOTQ&export=download&authuser=0&confirm=t&uuid=17e5da1b-fb1d-45d8-a9b1-6cd146ebaeee&at=APZUnTVqGyk6n5NPKzrq4KSOe871:1705898482101", + "dest": "Order_Id_Mark_Pass_Fail_gold.xlsx" + } + } +} \ No newline at end of file