From 17ef15566ad1e1d87ce498f5c18666ac567b81a8 Mon Sep 17 00:00:00 2001 From: tsuky_chen <3107760494@qq.com> Date: Mon, 5 Feb 2024 15:52:22 +0800 Subject: [PATCH] update windows eval examples --- .../01b269ae-2111-4a07-81fd-3fcd711993b0.json | 8 +- .../0bf05a7d-b28b-44d2-955a-50b41e24012a.json | 12 +- .../0cecd4f3-74de-457b-ba94-29ad6b5dafb6.json | 95 +++++++++++++++ .../3aaa4e37-dc91-482e-99af-132a612d40f3.json | 42 +++++++ .../4188d3a4-077d-46b7-9c86-23e1a036f6c1.json | 87 +++++++++++++ .../4e6fcf72-daf3-439f-a232-c434ce416af6.json | 14 +-- .../51b11269-2ca8-4b2a-9163-f21758420e78.json | 82 +++++++++++++ .../6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5.json | 115 ++++++++++++++++++ .../7a4e4bc8-922c-4c84-865c-25ba34136be1.json | 8 +- .../3b27600c-3668-4abd-8f84-7bcdebbccbdb.json | 78 ++++++++++++ .../455d3c66-7dc6-4537-a39a-36d3e9119df7.json | 2 +- .../550ce7e7-747b-495f-b122-acdc4d0b8e54.json | 2 +- .../5d901039-a89c-4bfb-967b-bf66f4df075e.json | 73 +++++++++++ .../9ec204e4-f0a3-42f8-8458-b772a6797cab.json | 73 +++++++++++ .../a097acff-6266-4291-9fbd-137af7ecd439.json | 45 +++++++ .../ce88f674-ab7a-43da-9201-468d38539e4a.json | 68 +++++++++++ .../45d61a06-6545-4422-97b7-bc76cfa964c1.json | 67 ++++++++++ .../66399b0d-8fda-4618-95c4-bfc6191617e9.json | 77 ++++++++++++ .../6f81754e-285d-4ce0-b59e-af7edb02d108.json | 67 ++++++++++ .../72b810ef-4156-4d09-8f08-a0cf57e7cefe.json | 67 ++++++++++ .../b21acd93-60fd-4127-8a43-2f5178f4a830.json | 67 ++++++++++ 21 files changed, 1126 insertions(+), 23 deletions(-) create mode 100644 evaluation_examples/examples/Windows/excel/0cecd4f3-74de-457b-ba94-29ad6b5dafb6.json create mode 100644 evaluation_examples/examples/Windows/excel/3aaa4e37-dc91-482e-99af-132a612d40f3.json create mode 100644 evaluation_examples/examples/Windows/excel/4188d3a4-077d-46b7-9c86-23e1a036f6c1.json create mode 100644 evaluation_examples/examples/Windows/excel/51b11269-2ca8-4b2a-9163-f21758420e78.json create mode 100644 evaluation_examples/examples/Windows/excel/6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5.json create mode 100644 evaluation_examples/examples/Windows/ppt/3b27600c-3668-4abd-8f84-7bcdebbccbdb.json create mode 100644 evaluation_examples/examples/Windows/ppt/5d901039-a89c-4bfb-967b-bf66f4df075e.json create mode 100644 evaluation_examples/examples/Windows/ppt/9ec204e4-f0a3-42f8-8458-b772a6797cab.json create mode 100644 evaluation_examples/examples/Windows/ppt/a097acff-6266-4291-9fbd-137af7ecd439.json create mode 100644 evaluation_examples/examples/Windows/ppt/ce88f674-ab7a-43da-9201-468d38539e4a.json create mode 100644 evaluation_examples/examples/Windows/word/45d61a06-6545-4422-97b7-bc76cfa964c1.json create mode 100644 evaluation_examples/examples/Windows/word/66399b0d-8fda-4618-95c4-bfc6191617e9.json create mode 100644 evaluation_examples/examples/Windows/word/6f81754e-285d-4ce0-b59e-af7edb02d108.json create mode 100644 evaluation_examples/examples/Windows/word/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json create mode 100644 evaluation_examples/examples/Windows/word/b21acd93-60fd-4127-8a43-2f5178f4a830.json diff --git a/evaluation_examples/examples/Windows/excel/01b269ae-2111-4a07-81fd-3fcd711993b0.json b/evaluation_examples/examples/Windows/excel/01b269ae-2111-4a07-81fd-3fcd711993b0.json index 2e3a28e..24e03bd 100644 --- a/evaluation_examples/examples/Windows/excel/01b269ae-2111-4a07-81fd-3fcd711993b0.json +++ b/evaluation_examples/examples/Windows/excel/01b269ae-2111-4a07-81fd-3fcd711993b0.json @@ -10,7 +10,7 @@ "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" + "path": "C:\\Users\\chenj\\Student_Level_Fill_Blank.xlsx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "C:\\Users\\user\\Student_Level_Fill_Blank.xlsx" + "path": "C:\\Users\\chenj\\Student_Level_Fill_Blank.xlsx" } } ], @@ -31,7 +31,7 @@ { "type": "activate_window", "parameters": { - "window_name": "Student_Level_Fill_Blank.xlsx - Excel", + "window_name": "Student_Level_Fill_Blank - Excel", "strict": true } }, @@ -66,7 +66,7 @@ }, "result": { "type": "vm_file", - "path": "C:\\Users\\user\\Student_Level_Fill_Blank.xlsx", + "path": "C:\\Users\\chenj\\Student_Level_Fill_Blank.xlsx", "dest": "Student_Level_Fill_Blank.xlsx" }, "options": { diff --git a/evaluation_examples/examples/Windows/excel/0bf05a7d-b28b-44d2-955a-50b41e24012a.json b/evaluation_examples/examples/Windows/excel/0bf05a7d-b28b-44d2-955a-50b41e24012a.json index 3609427..c7ce6dc 100644 --- a/evaluation_examples/examples/Windows/excel/0bf05a7d-b28b-44d2-955a-50b41e24012a.json +++ b/evaluation_examples/examples/Windows/excel/0bf05a7d-b28b-44d2-955a-50b41e24012a.json @@ -10,7 +10,7 @@ "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" + "path": "C:\\Users\\chenj\\Customers_New_7digit_Id.xlsx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "C:\\Users\\user\\Customers_New_7digit_Id.xlsx" + "path": "C:\\Users\\chenj\\Customers_New_7digit_Id.xlsx" } } ], @@ -31,7 +31,7 @@ { "type": "activate_window", "parameters": { - "window_name": "Customers_New_7digit_Id.xlsx - LibreOffice Calc", + "window_name": "Customers_New_7digit_Id - Excel", "strict": true } }, @@ -66,7 +66,7 @@ "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" + "C:\\Users\\chenj\\Customers_New_7digit_Id.xlsx" ] } } @@ -75,8 +75,8 @@ "result": { "type": "vm_file", "path": [ - "C:\\Users\\user\\Customers_New_7digit_Id.xlsx", - "C:\\Users\\user\\Customers_New_7digit_Id-Sheet1.csv" + "C:\\Users\\chenj\\Customers_New_7digit_Id.xlsx", + "C:\\Users\\chenj\\Customers_New_7digit_Id-Sheet1.csv" ], "dest": [ "Customers_New_7digit_Id.xlsx", diff --git a/evaluation_examples/examples/Windows/excel/0cecd4f3-74de-457b-ba94-29ad6b5dafb6.json b/evaluation_examples/examples/Windows/excel/0cecd4f3-74de-457b-ba94-29ad6b5dafb6.json new file mode 100644 index 0000000..95de816 --- /dev/null +++ b/evaluation_examples/examples/Windows/excel/0cecd4f3-74de-457b-ba94-29ad6b5dafb6.json @@ -0,0 +1,95 @@ +{ + "id": "0cecd4f3-74de-457b-ba94-29ad6b5dafb6", + "snapshot": "libreoffice_calc", + "instruction": "Rename \"Sheet 1\" to \"LARS Resources\". Then make a copy of it. Place the copy before \"Sheet 2\" and rename it by appending a suffix \"(Backup)\", concatenated by a white space. And Also rename \"Sheet2\" by appending the suffix \"(Offline)\".", + "source": "https://www.libreofficehelp.com/add-insert-delete-copy-move-rename-a-worksheet-in-libreoffice-calc/", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1emE6hfKYJpsKNoJ7fmSKCug9pZ9Rv0fx&export=download&authuser=0&confirm=t&uuid=b84ee976-0dab-4a32-a99d-56873f016eec&at=APZUnTVs-ZH77mNQ9-YCLqj2H5xh:1706261078154", + "path": "c:\\users\\chenj\\copy_sheet_insert.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "c:\\users\\chenj\\copy_sheet_insert.xlsx" + } + } + ], + "trajectory": "trajectories/0cecd4f3-74de-457b-ba94-29ad6b5dafb6", + "related_apps": [ + "libreoffice_calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "copy_sheet_insert.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", + "result": { + "type": "vm_file", + "path": "c:\\users\\chenj\\copy_sheet_insert.xlsx", + "dest": "copy_sheet_insert.xlsx" + }, + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1u0mYkDejNIFWfSOvQCi2z6nXTinUqhGG&export=download&authuser=0&confirm=t&uuid=d9036b53-dc50-4451-9e81-a5327b846c29&at=APZUnTU6PV42c83Ug6CGUQ6zx0mA:1706261109913", + "dest": "copy_sheet_insert_gold.xlsx" + }, + "options": { + "rules": [ + { + "type": "sheet_name" + }, + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": 1 + }, + { + "type": "sheet_data", + "sheet_idx0": 1, + "sheet_idx1": "EI1" + }, + { + "type": "sheet_data", + "sheet_idx0": 2, + "sheet_idx1": "EI2" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/excel/3aaa4e37-dc91-482e-99af-132a612d40f3.json b/evaluation_examples/examples/Windows/excel/3aaa4e37-dc91-482e-99af-132a612d40f3.json new file mode 100644 index 0000000..e9d521a --- /dev/null +++ b/evaluation_examples/examples/Windows/excel/3aaa4e37-dc91-482e-99af-132a612d40f3.json @@ -0,0 +1,42 @@ +{ + "id": "3aaa4e37-dc91-482e-99af-132a612d40f3", + "snapshot": "libreoffice_calc", + "instruction": "Could you help me to export the current sheet to a csv file? Export the contents just as they are shown on the screen. Just keep the other options untouched. A default csv format is ok. The csv should share the file name with the original xlsx.", + "source": "https://www.quora.com/How-can-you-import-export-CSV-files-with-LibreOffice-Calc-or-OpenOffice", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=17sNGNFpZtmwuz74Pid2WwWL_rgTkgTg0&export=download&authuser=0&confirm=t&uuid=18d3601d-e329-4525-bd11-633c678601d6&at=APZUnTVY9kvNoMeETP6HVRynDHqq:1706012082827", + "path": "c:\\users\\chenj\\Export_Calc_to_CSV.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "c:\\users\\chenj\\Export_Calc_to_CSV.xlsx" + } + } + ], + "trajectory": "trajectories/3aaa4e37-dc91-482e-99af-132a612d40f3", + "related_apps": [ + "libreoffice_calc" + ], + "evaluator": { + "func": "compare_csv", + "result": { + "type": "vm_file", + "path": "c:\\users\\chenj\\Export_Calc_to_CSV.csv", + "dest": "Export_Calc_to_CSV.csv" + }, + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1cjyinycSAxi5oBb-dcpC85CMX9i-ggg-&export=download&authuser=0&confirm=t&uuid=b18a6fbd-8318-49ee-a62b-af22523df9e7&at=APZUnTV6dhR5_TcDg002RQ5CHmoC:1706012321261", + "dest": "Export_Calc_to_CSV_gold.csv" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/excel/4188d3a4-077d-46b7-9c86-23e1a036f6c1.json b/evaluation_examples/examples/Windows/excel/4188d3a4-077d-46b7-9c86-23e1a036f6c1.json new file mode 100644 index 0000000..9b471a8 --- /dev/null +++ b/evaluation_examples/examples/Windows/excel/4188d3a4-077d-46b7-9c86-23e1a036f6c1.json @@ -0,0 +1,87 @@ +{ + "id": "4188d3a4-077d-46b7-9c86-23e1a036f6c1", + "snapshot": "libreoffice_calc", + "instruction": "Help me freeze the range A1:B1 on this sheet to keep the headers always visible", + "source": "https://www.libreofficehelp.com/freeze-unfreeze-rows-columns-ranges-calc/", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1pmTn-32BIwXOu2NXgQG7-PCRPaNL5bYN&export=download&authuser=0&confirm=t&uuid=13f1a8fd-997e-4364-a182-ad8768eaac6a&at=APZUnTUOM1rcgxy87qxR1Rkdwdor:1705895562093", + "path": "c:\\users\\chenj\\Freeze_row_column.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "c:\\users\\chenj\\Freeze_row_column.xlsx" + } + } + ], + "trajectory": "trajectories/4188d3a4-077d-46b7-9c86-23e1a036f6c1", + "related_apps": [ + "libreoffice_calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Freeze_row_column.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", + "result": { + "type": "vm_file", + "path": "c:\\users\\chenj\\Freeze_row_column.xlsx", + "dest": "Freeze_row_column.xlsx" + }, + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1oTsiIJFiAIFaTo320izMP7ml1RDCctgD&export=download&authuser=0&confirm=t&uuid=e3ec92c6-c2bf-4a7e-8e10-c8287350c9c6&at=APZUnTXEp-KV7bido8GcENfWIxME:1705895589811", + "dest": "Freeze_row_column_gold.xlsx" + }, + "options": { + "rules": [ + { + "type": "freeze", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + }, + { + "type": "sheet_data", + "sheet_idx0": 0, + "sheet_idx1": "EI0" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/excel/4e6fcf72-daf3-439f-a232-c434ce416af6.json b/evaluation_examples/examples/Windows/excel/4e6fcf72-daf3-439f-a232-c434ce416af6.json index ea65248..1255b55 100644 --- a/evaluation_examples/examples/Windows/excel/4e6fcf72-daf3-439f-a232-c434ce416af6.json +++ b/evaluation_examples/examples/Windows/excel/4e6fcf72-daf3-439f-a232-c434ce416af6.json @@ -10,7 +10,7 @@ "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" + "path": "C:\\Users\\chenj\\Employee_Age_By_Birthday.xlsx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "C:\\Users\\user\\Employee_Age_By_Birthday.xlsx" + "path": "C:\\Users\\chenj\\Employee_Age_By_Birthday.xlsx" } } ], @@ -31,7 +31,7 @@ { "type": "activate_window", "parameters": { - "window_name": "Employee_Age_By_Birthday.xlsx - LibreOffice Calc", + "window_name": "Employee_Age_By_Birthday - Excel", "strict": true } }, @@ -63,7 +63,7 @@ "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" + "path": "C:\\Users\\chenj\\Employee_Age_By_Birthday_gold.xlsx" } ] } @@ -71,7 +71,7 @@ { "type": "open", "parameters": { - "path": "C:\\Users\\user\\Employee_Age_By_Birthday_gold.xlsx" + "path": "C:\\Users\\chenj\\Employee_Age_By_Birthday_gold.xlsx" } }, { @@ -113,12 +113,12 @@ "func": "compare_table", "expected": { "type": "vm_file", - "path": "C:\\Users\\user\\Employee_Age_By_Birthday_gold.xlsx", + "path": "C:\\Users\\chenj\\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", + "path": "C:\\Users\\chenj\\Employee_Age_By_Birthday.xlsx", "dest": "Employee_Age_By_Birthday.xlsx" }, "options": { diff --git a/evaluation_examples/examples/Windows/excel/51b11269-2ca8-4b2a-9163-f21758420e78.json b/evaluation_examples/examples/Windows/excel/51b11269-2ca8-4b2a-9163-f21758420e78.json new file mode 100644 index 0000000..258005a --- /dev/null +++ b/evaluation_examples/examples/Windows/excel/51b11269-2ca8-4b2a-9163-f21758420e78.json @@ -0,0 +1,82 @@ +{ + "id": "51b11269-2ca8-4b2a-9163-f21758420e78", + "snapshot": "libreoffice_calc", + "instruction": "Could you help me to sort the records accoring to the amounts ascendingly?", + "source": "https://www.reddit.com/r/LibreOfficeCalc/comments/186pcc6/how_to_arrange_numbers_in_a_column_from_minimum/", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1lMPR8itmrjesLPh8dqxrssNNnlQUSF8Y&export=download&authuser=0&confirm=t&uuid=f79c8ece-f42d-42dc-b320-9ee4d9a6b5d4&at=APZUnTUQAGyFOhO9mMS4r_Ap-cFy:1706001993533", + "path": "c:\\users\\chenj\\Arrang_Value_min_to_max.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "c:\\users\\chenj\\Arrang_Value_min_to_max.xlsx" + } + } + ], + "trajectory": "trajectories/51b11269-2ca8-4b2a-9163-f21758420e78", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Arrang_Value_min_to_max - Excel", + "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://drive.usercontent.google.com/download?id=1gZq47ls5eD-YpRH8MIeEYOpYwAAUR_Ua&export=download&authuser=0&confirm=t&uuid=085c84a0-eb3f-4fe8-9fa0-6d2495985cc0&at=APZUnTVtt_9I5I8emixgM2hbnjMh:1706002085970", + "dest": "Arrang_Value_min_to_max_gold.xlsx" + }, + "result": { + "type": "vm_file", + "path": "c:\\users\\chenj\\Arrang_Value_min_to_max.xlsx", + "dest": "Arrang_Value_min_to_max.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/excel/6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5.json b/evaluation_examples/examples/Windows/excel/6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5.json new file mode 100644 index 0000000..917f642 --- /dev/null +++ b/evaluation_examples/examples/Windows/excel/6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5.json @@ -0,0 +1,115 @@ +{ + "id": "6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5", + "snapshot": "libreoffice_calc", + "instruction": "Help me format column \"spent\" by keeping two decimal points. ", + "source": "https://www.youtube.com/watch?v=nl-nXjJurhQ", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1FG_e6DhoYybUMtkhAOJrJWCctIcP1E1I&export=download&authuser=0&confirm=t&uuid=2ee528f2-b86d-415d-a93b-350a1fa3820d&at=APZUnTXTQiGRl6DlkMFts81FT-En:1706005475837", + "path": "c:\\users\\chenj\\Keep_Two_decimal_points.xlsx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "c:\\users\\chenj\\Keep_Two_decimal_points.xlsx" + } + } + ], + "trajectory": "trajectories/6e99a1ad-07d2-4b66-a1ce-ece6d99c20a5", + "related_apps": [ + "libreoffice calc" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Keep_Two_decimal_points.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 + } + }, + { + "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\\chenj\\Keep_Two_decimal_points.xlsx" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_table", + "expected": { + "type": "cloud_file", + "path": [ + "https://drive.usercontent.google.com/download?id=150XJSpqU-HuYSjPi7_LgrlQFUjKhKCU8&export=download&authuser=0&confirm=t&uuid=9b9fd955-ee06-4c55-a240-290dcd658d84&at=APZUnTW87ODEUqUzDpP2tah8tQCo:1706005816811", + "https://drive.usercontent.google.com/download?id=1-cxAMcFdKRUl0bFHr1nwI1XudvGV__s1&export=download&authuser=0&confirm=t&uuid=2aa40a50-3081-4d88-8d1d-e3adcfa2050e&at=APZUnTXeohokhdZeJzu3XT-ZyUwB:1706005770752" + ], + "dest": [ + "Keep_Two_decimal_points_gold.xlsx", + "Keep_Two_decimal_points_gold-Sheet1.csv" + ], + "multi": true + }, + "result": { + "type": "vm_file", + "path": [ + "c:\\users\\chenj\\Keep_Two_decimal_points.xlsx", + "c:\\users\\chenj\\Keep_Two_decimal_points-Sheet1.csv" + ], + "dest": [ + "Keep_Two_decimal_points.xlsx", + "Keep_Two_decimal_points-Sheet1.csv" + ], + "multi": true + }, + "options": { + "rules": [ + { + "type": "sheet_print", + "sheet_idx0": "RNSheet1", + "sheet_idx1": "ENSheet1" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/excel/7a4e4bc8-922c-4c84-865c-25ba34136be1.json b/evaluation_examples/examples/Windows/excel/7a4e4bc8-922c-4c84-865c-25ba34136be1.json index ebbd81a..6967c31 100644 --- a/evaluation_examples/examples/Windows/excel/7a4e4bc8-922c-4c84-865c-25ba34136be1.json +++ b/evaluation_examples/examples/Windows/excel/7a4e4bc8-922c-4c84-865c-25ba34136be1.json @@ -10,7 +10,7 @@ "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" + "path": "C:\\Users\\chenj\\Name_Order_Id_move_column.xlsx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "C:\\Users\\user\\Name_Order_Id_move_column.xlsx" + "path": "C:\\Users\\chenj\\Name_Order_Id_move_column.xlsx" } } ], @@ -31,7 +31,7 @@ { "type": "activate_window", "parameters": { - "window_name": "Name_Order_Id_move_column.xlsx - LibreOffice Calc", + "window_name": "Name_Order_Id_move_column - Excel", "strict": true } }, @@ -66,7 +66,7 @@ }, "result": { "type": "vm_file", - "path": "C:\\Users\\user\\Name_Order_Id_move_column.xlsx", + "path": "C:\\Users\\chenj\\Name_Order_Id_move_column.xlsx", "dest": "Name_Order_Id_move_column.xlsx" }, "options": { diff --git a/evaluation_examples/examples/Windows/ppt/3b27600c-3668-4abd-8f84-7bcdebbccbdb.json b/evaluation_examples/examples/Windows/ppt/3b27600c-3668-4abd-8f84-7bcdebbccbdb.json new file mode 100644 index 0000000..2c1ba1e --- /dev/null +++ b/evaluation_examples/examples/Windows/ppt/3b27600c-3668-4abd-8f84-7bcdebbccbdb.json @@ -0,0 +1,78 @@ +{ + "id": "3b27600c-3668-4abd-8f84-7bcdebbccbdb", + "snapshot": "libreoffice_impress", + "instruction": "Please make the background blue on all my slides. I was stuck by finding the entrance to do that for a while...", + "source": "https://www.libreofficehelp.com/change-slide-background-impress/#All_Slides", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1aHMJzk2G8B_EqDlTAZLEiJ4h-ZsgA9UE&export=download&authuser=0&confirm=t&uuid=196a082d-5f08-4b3e-a64f-c021351f9cd8&at=APZUnTUXH4gvLvElvm9TtFhUJlIn:1705481007789", + "path": "C:\\Users\\chenj\\lec17-gui-events.pptx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\lec17-gui-events.pptx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_impress" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "lec17-gui-events.pptx - LibreOffice Impress", + "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);" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "evaluate_presentation_fill_to_rgb_distance", + "expected": { + "type": "rule", + "rules": { + "rgb": [ + 0, + 0, + 255 + ] + } + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\lec17-gui-events.pptx", + "dest": "lec17-gui-events.pptx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/ppt/455d3c66-7dc6-4537-a39a-36d3e9119df7.json b/evaluation_examples/examples/Windows/ppt/455d3c66-7dc6-4537-a39a-36d3e9119df7.json index 79da5e5..5ce8c82 100644 --- a/evaluation_examples/examples/Windows/ppt/455d3c66-7dc6-4537-a39a-36d3e9119df7.json +++ b/evaluation_examples/examples/Windows/ppt/455d3c66-7dc6-4537-a39a-36d3e9119df7.json @@ -31,7 +31,7 @@ { "type": "activate_window", "parameters": { - "window_name": "wssf-project-plan-on-a-page.pptx - LibreOffice Impress", + "window_name": "wssf-project-plan-on-a-page - PowerPoint", "strict": true } }, diff --git a/evaluation_examples/examples/Windows/ppt/550ce7e7-747b-495f-b122-acdc4d0b8e54.json b/evaluation_examples/examples/Windows/ppt/550ce7e7-747b-495f-b122-acdc4d0b8e54.json index ef1f858..71615b1 100644 --- a/evaluation_examples/examples/Windows/ppt/550ce7e7-747b-495f-b122-acdc4d0b8e54.json +++ b/evaluation_examples/examples/Windows/ppt/550ce7e7-747b-495f-b122-acdc4d0b8e54.json @@ -47,7 +47,7 @@ { "type": "activate_window", "parameters": { - "window_name": "New_Club_Spring_2018_Training.pptx - LibreOffice Impress", + "window_name": "New_Club_Spring_2018_Training - PowerPoint", "strict": true } }, diff --git a/evaluation_examples/examples/Windows/ppt/5d901039-a89c-4bfb-967b-bf66f4df075e.json b/evaluation_examples/examples/Windows/ppt/5d901039-a89c-4bfb-967b-bf66f4df075e.json new file mode 100644 index 0000000..c24c565 --- /dev/null +++ b/evaluation_examples/examples/Windows/ppt/5d901039-a89c-4bfb-967b-bf66f4df075e.json @@ -0,0 +1,73 @@ +{ + "id": "5d901039-a89c-4bfb-967b-bf66f4df075e", + "snapshot": "libreoffice_impress", + "instruction": "I want to turn the rectangular image of Columbus on the first page into a cover page. Could you help me stretch this image to fill the entire page, keeping its proportion and centering the image?", + "source": "https://superuser.com/questions/986776/how-can-i-stretch-an-image-in-a-libreoffice-impress-presentation-to-fill-the-pag", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=16K6TpGIRZpqOJUu-mtJQ_78kIwLcn-4D&export=download&authuser=0&confirm=t&uuid=41509e5c-eb95-453a-baad-4e12a839a120&at=APZUnTVygE_LL27vx1l6OEg_FRj0:1705849959413", + "path": "C:\\Users\\chenj\\CPD_Background_Investigation_Process.pptx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\CPD_Background_Investigation_Process.pptx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_impress" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "CPD_Background_Investigation_Process.pptx - LibreOffice Impress", + "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);" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "check_image_stretch_and_center", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=16K6TpGIRZpqOJUu-mtJQ_78kIwLcn-4D&export=download&authuser=0&confirm=t&uuid=41509e5c-eb95-453a-baad-4e12a839a120&at=APZUnTVygE_LL27vx1l6OEg_FRj0:1705849959413", + "dest": "CPD_Background_Investigation_Process_Original.pptx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\CPD_Background_Investigation_Process.pptx", + "dest": "CPD_Background_Investigation_Process.pptx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/ppt/9ec204e4-f0a3-42f8-8458-b772a6797cab.json b/evaluation_examples/examples/Windows/ppt/9ec204e4-f0a3-42f8-8458-b772a6797cab.json new file mode 100644 index 0000000..2c3bf70 --- /dev/null +++ b/evaluation_examples/examples/Windows/ppt/9ec204e4-f0a3-42f8-8458-b772a6797cab.json @@ -0,0 +1,73 @@ +{ + "id": "9ec204e4-f0a3-42f8-8458-b772a6797cab", + "snapshot": "libreoffice_impress", + "instruction": "Make a duplicate of the last two slides for me, please.", + "source": "https://www.tiktok.com/@lil.d1rt_/video/7247574148887629083", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1ad5vUXasdN2MypNap-pBUmgPg5FaxmDA&export=download&authuser=0&confirm=t&uuid=9dc069bb-edd3-4ae9-b356-4c6543778584&at=APZUnTXbgLHjv1MhMFy1IfZL3fQI:1705338128337", + "path": "C:\\Users\\chenj\\MLA_Workshop_061X_Works_Cited.pptx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\MLA_Workshop_061X_Works_Cited.pptx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_impress" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "MLA_Workshop_061X_Works_Cited - PowerPoint", + "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);" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "compare_pptx_files", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1otbzscpOZ0tCXMvsMC0MmNWUC7Pv71of&export=download&authuser=0&confirm=t&uuid=faa0b0c1-6b14-4bce-a1fd-ccf824ee1e60&at=APZUnTXw6TlBOlrPPZ2OhfGnNPf0:1705338135842", + "dest": "MLA_Workshop_061X_Works_Cited_Gold.pptx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\MLA_Workshop_061X_Works_Cited.pptx", + "dest": "MLA_Workshop_061X_Works_Cited.pptx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/ppt/a097acff-6266-4291-9fbd-137af7ecd439.json b/evaluation_examples/examples/Windows/ppt/a097acff-6266-4291-9fbd-137af7ecd439.json new file mode 100644 index 0000000..aff73d6 --- /dev/null +++ b/evaluation_examples/examples/Windows/ppt/a097acff-6266-4291-9fbd-137af7ecd439.json @@ -0,0 +1,45 @@ +{ + "id": "a097acff-6266-4291-9fbd-137af7ecd439", + "snapshot": "libreoffice_impress", + "instruction": "Could you help me save my slides as pre.pptx on the Desktop?", + "source": "https://www.youtube.com/watch?v=DDmEvjs4iBw", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1i_-m6mVrdesGJ392bulH5lveHarMwKk_&export=download&authuser=0&confirm=t&uuid=686367a5-9383-4d60-8beb-108ef7119ffa&at=APZUnTXpMsCkSdM7fb5zdVz3qZUX:1705916772791", + "path": "C:\\Users\\chenj\\Downloads\\Secrets-of-Monetizing-Video.pptx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\Downloads\\Secrets-of-Monetizing-Video.pptx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_impress" + ], + "evaluator": { + "func": "compare_pptx_files", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1i_-m6mVrdesGJ392bulH5lveHarMwKk_&export=download&authuser=0&confirm=t&uuid=686367a5-9383-4d60-8beb-108ef7119ffa&at=APZUnTXpMsCkSdM7fb5zdVz3qZUX:1705916772791", + "dest": "Secrets-of-Monetizing-Video.pptx" + }, + "result": { + "type": "vm_file", + "path": "C:\\users\\chenj\\Desktop\\pre.pptx", + "dest": "pre.pptx" + }, + "options": { + "examine_shape": false + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/ppt/ce88f674-ab7a-43da-9201-468d38539e4a.json b/evaluation_examples/examples/Windows/ppt/ce88f674-ab7a-43da-9201-468d38539e4a.json new file mode 100644 index 0000000..1709cf0 --- /dev/null +++ b/evaluation_examples/examples/Windows/ppt/ce88f674-ab7a-43da-9201-468d38539e4a.json @@ -0,0 +1,68 @@ +{ + "id": "ce88f674-ab7a-43da-9201-468d38539e4a", + "snapshot": "libreoffice_impress", + "instruction": "Please set my slides upright instead of sideways.", + "source": "https://justclickhere.co.uk/resources/change-slides-in-impress-to-portrait/", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1LErTnC_w_YPQVo84QK5sifww9xZ-Cq0X&export=download&authuser=0&confirm=t&uuid=81ff0aaf-9c2e-4342-b7ce-36e65dd2218e&at=APZUnTUmQKCTp2HUP0dOqYqD10G3:1705479016156", + "path": "C:\\Users\\chenj\\AM_Last_Page_Template.pptx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\AM_Last_Page_Template.pptx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_impress" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "AM_Last_Page_Template.pptx - LibreOffice Impress", + "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);" + ] + } + }, + { + "type": "sleep", + "parameters": { + "seconds": 0.5 + } + } + ], + "func": "check_slide_orientation_Portrait", + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\AM_Last_Page_Template.pptx", + "dest": "AM_Last_Page_Template.pptx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/word/45d61a06-6545-4422-97b7-bc76cfa964c1.json b/evaluation_examples/examples/Windows/word/45d61a06-6545-4422-97b7-bc76cfa964c1.json new file mode 100644 index 0000000..1c7454c --- /dev/null +++ b/evaluation_examples/examples/Windows/word/45d61a06-6545-4422-97b7-bc76cfa964c1.json @@ -0,0 +1,67 @@ +{ + "id": "45d61a06-6545-4422-97b7-bc76cfa964c1", + "snapshot": "libreoffice_writer", + "instruction": "Replace all newlines with paragraph marks in LibreOffice Writer", + "source": "https://stackoverflow.com/questions/71685737/how-to-replace-all-newlines-with-paragraph-marks-in-libreoffice-write", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=16lQcSkw-JQ_v8Sg0HkCtnOzyK-4cok8N&export=download&authuser=0&confirm=t&uuid=a3f833ae-2572-4cf3-8a21-6d250e689415&at=APZUnTUfn24NGMtXEzz2Nf7cFLjt:1704975857398", + "path": "C:\\Users\\chenj\\NOVEL_Submission_Guidelines.docx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\NOVEL_Submission_Guidelines.docx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_writer" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "NOVEL_Submission_Guidelines.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_line_spacing", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=1LaS5ObaOsbyKX1M17vi8ZseZwawgvNmf&export=download&authuser=0&confirm=t&uuid=db523e81-fa22-4002-97ff-e5dff92106a7&at=APZUnTVnT3ZYOGW7ZQdeW4SZP7mX:1704975993684", + "dest": "NOVEL_Submission_Guidelines_Gold.docx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\NOVEL_Submission_Guidelines.docx", + "dest": "NOVEL_Submission_Guidelines.docx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/word/66399b0d-8fda-4618-95c4-bfc6191617e9.json b/evaluation_examples/examples/Windows/word/66399b0d-8fda-4618-95c4-bfc6191617e9.json new file mode 100644 index 0000000..ecabe87 --- /dev/null +++ b/evaluation_examples/examples/Windows/word/66399b0d-8fda-4618-95c4-bfc6191617e9.json @@ -0,0 +1,77 @@ +{ + "id": "66399b0d-8fda-4618-95c4-bfc6191617e9", + "snapshot": "libreoffice_writer", + "instruction": "Could you help me insert a 7(columns)*5(rows) empty table at the point of cursor?", + "source": "https://www.youtube.com/watch?v=l25Evu4ohKg", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.usercontent.google.com/download?id=1yeD0YIFCSEAdi6MPiiqLe6F4a19I5wZP&export=download&authuser=0&confirm=t&uuid=b6693633-00d7-4a8b-b35e-77ec452dd6a3&at=APZUnTVHRdoysZFBTmGmX6rCJLHK:1706330570587", + "path": "C:\\Users\\chenj\\Table_Of_Work_Effort_Instructions.docx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\Table_Of_Work_Effort_Instructions.docx" + } + }, + { + "type": "execute", + "parameters": { + "command": [ + "python", + "-c", + "import pyautogui; import time; pyautogui.press(\"down\", presses=40, interval=0.01); time.sleep(1); pyautogui.scroll(-2)" + ] + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_writer" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "Table_Of_Work_Effort_Instructions.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_tables", + "expected": { + "type": "cloud_file", + "path": "https://drive.usercontent.google.com/download?id=14JfHsW9GvbhORdtVAtvEbOi00MqEyHfb&export=download&authuser=0&confirm=t&uuid=3dba2459-ac37-4cad-a982-adecd406382a&at=APZUnTVQUqUPq_WacgY2xu4PvAKB:1704181465512", + "dest": "Table_Of_Work_Effort_Instructions_Gold.docx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\Table_Of_Work_Effort_Instructions.docx", + "dest": "Table_Of_Work_Effort_Instructions.docx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/word/6f81754e-285d-4ce0-b59e-af7edb02d108.json b/evaluation_examples/examples/Windows/word/6f81754e-285d-4ce0-b59e-af7edb02d108.json new file mode 100644 index 0000000..59e5458 --- /dev/null +++ b/evaluation_examples/examples/Windows/word/6f81754e-285d-4ce0-b59e-af7edb02d108.json @@ -0,0 +1,67 @@ +{ + "id": "6f81754e-285d-4ce0-b59e-af7edb02d108", + "snapshot": "libreoffice_writer", + "instruction": "A certain railway company in Hong Kong uses a signaling system to keep track of trains in its railway system. Each line in the docx file represents a train calling at a station from 0600 to 1200 on 2022-09-22, and has the following format: time_HH:MM:SS, train_id, station_id, platform_no.. I want to remove duplicated train ids in order to know how many different trains are running from 0600 to 1200. Could you help me on this? I am doing it manually and it is very inefficient.", + "source": "https://superuser.com/questions/789473/remove-duplicate-lines-in-libreoffice-openoffice-writer", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.google.com/uc?id=1cK1AMt_qKVAPp6EndSFG8y8r7KOPsqC1&export=download", + "path": "C:\\Users\\chenj\\HK_train_record.docx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\HK_train_record.docx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_writer" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "HK_train_record.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_lines", + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\HK_train_record.docx", + "dest": "HK_train_record.docx" + }, + "expected": { + "type": "cloud_file", + "path": "https://drive.google.com/uc?id=1wZ5CKxCD3biB4mFFlrBInZO-bzo36vVG&export=download", + "dest": "HK_train_record_Gold.docx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/word/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json b/evaluation_examples/examples/Windows/word/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json new file mode 100644 index 0000000..2e79e4b --- /dev/null +++ b/evaluation_examples/examples/Windows/word/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json @@ -0,0 +1,67 @@ +{ + "id": "72b810ef-4156-4d09-8f08-a0cf57e7cefe", + "snapshot": "libreoffice_writer", + "instruction": "I am peer-reviewing my friend's course outline. I think the last paragraph is redundant so I want to add strike-through on words in the last paragraph. Can you do this for me?", + "source": "https://superuser.com/questions/657792/libreoffice-writer-how-to-apply-strikethrough-text-formatting?rq=1", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.google.com/uc?id=1Uqgr9Y_kjoMoDoUwt80hv1EtFaisyztU&export=download", + "path": "C:\\Users\\chenj\\GEOG2169_Course_Outline_2022-23.docx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\GEOG2169_Course_Outline_2022-23.docx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_writer" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "GEOG2169_Course_Outline_2022-23.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": "evaluate_strike_through_last_paragraph", + "expected": { + "type": "cloud_file", + "path": "https://drive.google.com/uc?id=1IpAnQRYo1whrnzIGyo8UldZf4Tli-yVT&export=download", + "dest": "GEOG2169_Course_Outline_2022-23_Gold.docx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\GEOG2169_Course_Outline_2022-23.docx", + "dest": "GEOG2169_Course_Outline_2022-23.docx" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/Windows/word/b21acd93-60fd-4127-8a43-2f5178f4a830.json b/evaluation_examples/examples/Windows/word/b21acd93-60fd-4127-8a43-2f5178f4a830.json new file mode 100644 index 0000000..7c8e9bb --- /dev/null +++ b/evaluation_examples/examples/Windows/word/b21acd93-60fd-4127-8a43-2f5178f4a830.json @@ -0,0 +1,67 @@ +{ + "id": "b21acd93-60fd-4127-8a43-2f5178f4a830", + "snapshot": "libreoffice_writer", + "instruction": "I have been practicing professional writing lately. Now I am writing essay which requires one paragraph each for introduction, body and conclusion with single-space for introduction, double-space for body then one-and-a-half-space for conclusion. The font size of this essay is 12. Could you help me on this?", + "source": "https://superuser.com/questions/1097199/how-can-i-double-space-a-document-in-libreoffice?rq=1", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://drive.google.com/uc?id=1akFeAURJiqnK9wGNlRgPoPuQ6vRmnUPe&export=download", + "path": "C:\\Users\\chenj\\CCHU9045_Course_Outline_2019-20.docx" + } + ] + } + }, + { + "type": "open", + "parameters": { + "path": "C:\\Users\\chenj\\CCHU9045_Course_Outline_2019-20.docx" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "libreoffice_writer" + ], + "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "CCHU9045_Course_Outline_2019-20.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_line_spacing", + "expected": { + "type": "cloud_file", + "path": "https://drive.google.com/uc?id=16LN7uYSSXk_xwgc4IZXnN2Z1nCmPJfLm&export=download", + "dest": "CCHU9045_Course_Outline_2019-20_Gold.docx" + }, + "result": { + "type": "vm_file", + "path": "C:\\Users\\chenj\\CCHU9045_Course_Outline_2019-20.docx", + "dest": "CCHU9045_Course_Outline_2019-20.docx" + } + } +} \ No newline at end of file