From 0e07964c63016f21c65d82e65d8253194ff05c00 Mon Sep 17 00:00:00 2001 From: tsuky_chen <3107760494@qq.com> Date: Thu, 8 Feb 2024 01:40:39 +0800 Subject: [PATCH] update writer vscode examples --- .../0810415c-bde4-4443-9047-d5f70165a697.json | 6 +- .../0a0faba3-5580-44df-965d-f562a99b291c.json | 6 +- .../0b17a146-2934-46c7-8727-73ff6b6483e8.json | 6 +- .../0e47de2a-32e0-456c-a366-8c607ef7a9d2.json | 6 +- .../0e763496-b6bb-4508-a427-fad0b6c3e195.json | 6 +- .../3ef2b351-8a84-4ff2-8724-d86eae9b842e.json | 6 +- .../41c621f7-3544-49e1-af8d-dafd0f834f75.json | 6 +- .../45d61a06-6545-4422-97b7-bc76cfa964c1.json | 6 +- .../4bcb1253-a636-4df4-8cb0-a35c04dfef31.json | 6 +- .../663876c7-3471-43db-ba51-f410b13d9d7d.json | 6 +- .../66399b0d-8fda-4618-95c4-bfc6191617e9.json | 6 +- .../6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2.json | 6 +- .../6ada715d-3aae-4a32-a6a7-429b2e43fb93.json | 10 +-- .../6f81754e-285d-4ce0-b59e-af7edb02d108.json | 6 +- .../72b810ef-4156-4d09-8f08-a0cf57e7cefe.json | 6 +- .../8472fece-c7dd-4241-8d65-9b3cd1a0b568.json | 6 +- .../88fe4b2d-3040-4c70-9a70-546a47764b48.json | 6 +- .../936321ce-5236-426a-9a20-e0e3c5dc536f.json | 6 +- .../adf5e2c3-64c7-4644-b7b6-d2f0167927e7.json | 6 +- .../b21acd93-60fd-4127-8a43-2f5178f4a830.json | 6 +- .../d53ff5ee-3b1a-431e-b2be-30ed2673079b.json | 6 +- .../e246f6d8-78d7-44ac-b668-fcf47946cb50.json | 6 +- .../e528b65e-1107-4b8c-8988-490e4fece599.json | 8 +-- .../ecc2413d-8a48-416e-a3a2-d30106ca36cb.json | 6 +- .../f178a4a9-d090-4b56-bc4c-4b72a61a035d.json | 4 +- .../30167b0c-976b-491b-a9e5-7747607c6a3c.json | 62 +++++++++++++++++++ .../5e2d93d8-8ad0-4435-b150-1692aacaa994.json | 20 +++--- .../70745df8-f2f5-42bd-8074-fbc10334fcc5.json | 26 +++++++- .../ae506c68-352c-4094-9caa-ee9d42052317.json | 2 +- .../c6bf789c-ba3a-4209-971d-b63abf0ab733.json | 28 ++++++++- .../ec71221e-ac43-46f9-89b8-ee7d80f7e1c5.json | 37 ++++++++++- 31 files changed, 235 insertions(+), 94 deletions(-) create mode 100644 evaluation_examples/examples/vs_code/30167b0c-976b-491b-a9e5-7747607c6a3c.json diff --git a/evaluation_examples/examples/libreoffice_writer/0810415c-bde4-4443-9047-d5f70165a697.json b/evaluation_examples/examples/libreoffice_writer/0810415c-bde4-4443-9047-d5f70165a697.json index 0fe3557..0471ab3 100644 --- a/evaluation_examples/examples/libreoffice_writer/0810415c-bde4-4443-9047-d5f70165a697.json +++ b/evaluation_examples/examples/libreoffice_writer/0810415c-bde4-4443-9047-d5f70165a697.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1YhHNlRsL7lJBsqRYctz4CmEoD1g8oAm0&export=download&authuser=0&confirm=t&uuid=16776039-9eae-4ee7-ae0b-8b2d71cb25e1&at=APZUnTWVT6sfD3MQEADssAEc4Pwn:1706622286569", - "path": "/home/user/Desktop/Novels_Intro_Packet.docx" + "path": "Desktop/Novels_Intro_Packet.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Novels_Intro_Packet.docx" + "path": "Desktop/Novels_Intro_Packet.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Novels_Intro_Packet.docx", + "path": "Desktop/Novels_Intro_Packet.docx", "dest": "Novels_Intro_Packet.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/0a0faba3-5580-44df-965d-f562a99b291c.json b/evaluation_examples/examples/libreoffice_writer/0a0faba3-5580-44df-965d-f562a99b291c.json index 9b87fb3..b148787 100644 --- a/evaluation_examples/examples/libreoffice_writer/0a0faba3-5580-44df-965d-f562a99b291c.json +++ b/evaluation_examples/examples/libreoffice_writer/0a0faba3-5580-44df-965d-f562a99b291c.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1Wrjxsf184Go70TcRGM4Tohczh29Q9B_U&export=download&authuser=0&confirm=t&uuid=811f572f-03ee-47b9-8fd5-4978920ff425&at=APZUnTXcRTZAOb33QlpZ7-FT8I8Q:1706799959703", - "path": "/home/user/Desktop/04 CHIN9505 EBook Purchasing info 2021 Jan.docx" + "path": "Desktop/04 CHIN9505 EBook Purchasing info 2021 Jan.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/04 CHIN9505 EBook Purchasing info 2021 Jan.docx" + "path": "Desktop/04 CHIN9505 EBook Purchasing info 2021 Jan.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/04 CHIN9505 EBook Purchasing info 2021 Jan.docx", + "path": "Desktop/04 CHIN9505 EBook Purchasing info 2021 Jan.docx", "dest": "04 CHIN9505 EBook Purchasing info 2021 Jan.docx" }, "options": { diff --git a/evaluation_examples/examples/libreoffice_writer/0b17a146-2934-46c7-8727-73ff6b6483e8.json b/evaluation_examples/examples/libreoffice_writer/0b17a146-2934-46c7-8727-73ff6b6483e8.json index d091c47..098f6c6 100644 --- a/evaluation_examples/examples/libreoffice_writer/0b17a146-2934-46c7-8727-73ff6b6483e8.json +++ b/evaluation_examples/examples/libreoffice_writer/0b17a146-2934-46c7-8727-73ff6b6483e8.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1FkorQBeTJ5L2jLuvu4YxHSlBMK4VEEG6&export=download&authuser=0&confirm=t&uuid=cc63dc0b-bae7-4ef6-a40d-e2da721976ef&at=APZUnTWyPZlZPFlqGTWAWXWmS04c:1704976667765", - "path": "/home/user/Desktop/H2O_Factsheet_WA.docx" + "path": "Desktop/H2O_Factsheet_WA.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/H2O_Factsheet_WA.docx" + "path": "Desktop/H2O_Factsheet_WA.docx" } } ], @@ -55,7 +55,7 @@ "func": "compare_docx_files", "result": { "type": "vm_file", - "path": "/home/user/Desktop/H2O_Factsheet_WA.docx", + "path": "Desktop/H2O_Factsheet_WA.docx", "dest": "H2O_Factsheet_WA.docx" }, "expected": { diff --git a/evaluation_examples/examples/libreoffice_writer/0e47de2a-32e0-456c-a366-8c607ef7a9d2.json b/evaluation_examples/examples/libreoffice_writer/0e47de2a-32e0-456c-a366-8c607ef7a9d2.json index cf5895d..b39e91c 100644 --- a/evaluation_examples/examples/libreoffice_writer/0e47de2a-32e0-456c-a366-8c607ef7a9d2.json +++ b/evaluation_examples/examples/libreoffice_writer/0e47de2a-32e0-456c-a366-8c607ef7a9d2.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1aDWe-vAmcfQSgtPjFfrncq8ZFnCy4uUK&export=download&authuser=0&confirm=t&uuid=788af72a-ddaf-4ba3-aedb-96f34cc4d815&at=APZUnTVSRSSfMGcjXqLzvMixnkp6:1704179663299", - "path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx" + "path": "Desktop/LibreOffice_Open_Source_Word_Processing.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx" + "path": "Desktop/LibreOffice_Open_Source_Word_Processing.docx" } } ], @@ -55,7 +55,7 @@ "func": "has_page_numbers_in_footers", "result": { "type": "vm_file", - "path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx", + "path": "Desktop/LibreOffice_Open_Source_Word_Processing.docx", "dest": "LibreOffice_Open_Source_Word_Processing.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/0e763496-b6bb-4508-a427-fad0b6c3e195.json b/evaluation_examples/examples/libreoffice_writer/0e763496-b6bb-4508-a427-fad0b6c3e195.json index ff4bff3..98344d3 100644 --- a/evaluation_examples/examples/libreoffice_writer/0e763496-b6bb-4508-a427-fad0b6c3e195.json +++ b/evaluation_examples/examples/libreoffice_writer/0e763496-b6bb-4508-a427-fad0b6c3e195.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1fIHNzFm8JabWoLKOnxrFM722fQ1d_huK&export=download&authuser=0&confirm=t&uuid=d11a8dda-1e4e-4dc9-b05c-e6b47624dbf0&at=APZUnTVG0ViFnKJa00314wVr3uP9:1704185871014", - "path": "/home/user/Desktop/Dublin_Zoo_Intro.docx" + "path": "Desktop/Dublin_Zoo_Intro.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Dublin_Zoo_Intro.docx" + "path": "Desktop/Dublin_Zoo_Intro.docx" } } ], @@ -61,7 +61,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Dublin_Zoo_Intro.docx", + "path": "Desktop/Dublin_Zoo_Intro.docx", "dest": "Dublin_Zoo_Intro.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/3ef2b351-8a84-4ff2-8724-d86eae9b842e.json b/evaluation_examples/examples/libreoffice_writer/3ef2b351-8a84-4ff2-8724-d86eae9b842e.json index 2533156..584671b 100644 --- a/evaluation_examples/examples/libreoffice_writer/3ef2b351-8a84-4ff2-8724-d86eae9b842e.json +++ b/evaluation_examples/examples/libreoffice_writer/3ef2b351-8a84-4ff2-8724-d86eae9b842e.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1P8QodvDF-3S50rx6UmW4M2D4Kr-p_Q-h&export=download&authuser=0&confirm=t&uuid=eea70a33-4c3f-4e90-885d-dd3df0d605bc&at=APZUnTX7ISvBhOICNrPLoqK0m3G-:1704971931660", - "path": "/home/user/Desktop/Constitution_Template_With_Guidelines.docx" + "path": "Desktop/Constitution_Template_With_Guidelines.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Constitution_Template_With_Guidelines.docx" + "path": "Desktop/Constitution_Template_With_Guidelines.docx" } } ], @@ -55,7 +55,7 @@ "func": "is_first_line_centered", "result": { "type": "vm_file", - "path": "/home/user/Desktop/Constitution_Template_With_Guidelines.docx", + "path": "Desktop/Constitution_Template_With_Guidelines.docx", "dest": "Constitution_Template_With_Guidelines.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/41c621f7-3544-49e1-af8d-dafd0f834f75.json b/evaluation_examples/examples/libreoffice_writer/41c621f7-3544-49e1-af8d-dafd0f834f75.json index fdf68c5..b59cd82 100644 --- a/evaluation_examples/examples/libreoffice_writer/41c621f7-3544-49e1-af8d-dafd0f834f75.json +++ b/evaluation_examples/examples/libreoffice_writer/41c621f7-3544-49e1-af8d-dafd0f834f75.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1WsEBs6RS-j6lvx_DFk5xTK-HdEkIDcPy&export=download&authuser=0&confirm=t&uuid=aa012ca0-f651-474f-bd84-6b86d5260817&at=APZUnTU3RImLCGSgOkUpUGKyYCrB:1706018377717", - "path": "/home/user/Desktop/How_to_read_a_scientific_article.docx" + "path": "Desktop/How_to_read_a_scientific_article.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/How_to_read_a_scientific_article.docx" + "path": "Desktop/How_to_read_a_scientific_article.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/How_to_read_a_scientific_article.docx", + "path": "Desktop/How_to_read_a_scientific_article.docx", "dest": "How_to_read_a_scientific_article.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/45d61a06-6545-4422-97b7-bc76cfa964c1.json b/evaluation_examples/examples/libreoffice_writer/45d61a06-6545-4422-97b7-bc76cfa964c1.json index 02b6699..376601b 100644 --- a/evaluation_examples/examples/libreoffice_writer/45d61a06-6545-4422-97b7-bc76cfa964c1.json +++ b/evaluation_examples/examples/libreoffice_writer/45d61a06-6545-4422-97b7-bc76cfa964c1.json @@ -10,7 +10,7 @@ "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": "/home/user/Desktop/NOVEL_Submission_Guidelines.docx" + "path": "Desktop/NOVEL_Submission_Guidelines.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/NOVEL_Submission_Guidelines.docx" + "path": "Desktop/NOVEL_Submission_Guidelines.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/NOVEL_Submission_Guidelines.docx", + "path": "Desktop/NOVEL_Submission_Guidelines.docx", "dest": "NOVEL_Submission_Guidelines.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/4bcb1253-a636-4df4-8cb0-a35c04dfef31.json b/evaluation_examples/examples/libreoffice_writer/4bcb1253-a636-4df4-8cb0-a35c04dfef31.json index ef34b79..1f31717 100644 --- a/evaluation_examples/examples/libreoffice_writer/4bcb1253-a636-4df4-8cb0-a35c04dfef31.json +++ b/evaluation_examples/examples/libreoffice_writer/4bcb1253-a636-4df4-8cb0-a35c04dfef31.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1cn3CaA_4ds1WY8SgBT3TvjRunxocCBiu&export=download&authuser=0&confirm=t&uuid=622f5ae1-6f21-4f31-8a3e-e4ead6ea6bc3&at=APZUnTVKOV40Ww5PovU7at2ELzb9:1704949558060", - "path": "/home/user/Desktop/View_Person_Organizational_Summary.docx" + "path": "Desktop/View_Person_Organizational_Summary.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/View_Person_Organizational_Summary.docx" + "path": "Desktop/View_Person_Organizational_Summary.docx" } } ], @@ -35,7 +35,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/View_Person_Organizational_Summary.pdf", + "path": "Desktop/View_Person_Organizational_Summary.pdf", "dest": "Constitution_Template_With_Guidelines.pdf" } } diff --git a/evaluation_examples/examples/libreoffice_writer/663876c7-3471-43db-ba51-f410b13d9d7d.json b/evaluation_examples/examples/libreoffice_writer/663876c7-3471-43db-ba51-f410b13d9d7d.json index dd882e9..3e58ae4 100644 --- a/evaluation_examples/examples/libreoffice_writer/663876c7-3471-43db-ba51-f410b13d9d7d.json +++ b/evaluation_examples/examples/libreoffice_writer/663876c7-3471-43db-ba51-f410b13d9d7d.json @@ -10,7 +10,7 @@ "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" + "path": "Desktop/Factoring_Perfect_Square_Trinomials.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Factoring_Perfect_Square_Trinomials.docx" + "path": "Desktop/Factoring_Perfect_Square_Trinomials.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Factoring_Perfect_Square_Trinomials.docx", + "path": "Desktop/Factoring_Perfect_Square_Trinomials.docx", "dest": "Factoring_Perfect_Square_Trinomials.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/66399b0d-8fda-4618-95c4-bfc6191617e9.json b/evaluation_examples/examples/libreoffice_writer/66399b0d-8fda-4618-95c4-bfc6191617e9.json index 2f4f996..ec78638 100644 --- a/evaluation_examples/examples/libreoffice_writer/66399b0d-8fda-4618-95c4-bfc6191617e9.json +++ b/evaluation_examples/examples/libreoffice_writer/66399b0d-8fda-4618-95c4-bfc6191617e9.json @@ -10,7 +10,7 @@ "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": "/home/user/Desktop/Table_Of_Work_Effort_Instructions.docx" + "path": "Desktop/Table_Of_Work_Effort_Instructions.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Table_Of_Work_Effort_Instructions.docx" + "path": "Desktop/Table_Of_Work_Effort_Instructions.docx" } }, { @@ -70,7 +70,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Table_Of_Work_Effort_Instructions.docx", + "path": "Desktop/Table_Of_Work_Effort_Instructions.docx", "dest": "Table_Of_Work_Effort_Instructions.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2.json b/evaluation_examples/examples/libreoffice_writer/6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2.json index 04a557f..d876b97 100644 --- a/evaluation_examples/examples/libreoffice_writer/6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2.json +++ b/evaluation_examples/examples/libreoffice_writer/6a33f9b9-0a56-4844-9c3f-96ec3ffb3ba2.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1_1uItoxJsp8PgBqaED0U3bOfKxIweNkJ&export=download&authuser=0&confirm=t&uuid=facec3ed-2fd6-49f7-aeda-95feaa38f45c&at=APZUnTU6B0xoLG-kI0V2WZ74oSI6:1706544439742", - "path": "/home/user/Desktop/sample-recruitment-phone-script.odt" + "path": "Desktop/sample-recruitment-phone-script.odt" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/sample-recruitment-phone-script.odt" + "path": "Desktop/sample-recruitment-phone-script.odt" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/sample-recruitment-phone-script.odt", + "path": "Desktop/sample-recruitment-phone-script.odt", "dest": "sample-recruitment-phone-script.odt" } } diff --git a/evaluation_examples/examples/libreoffice_writer/6ada715d-3aae-4a32-a6a7-429b2e43fb93.json b/evaluation_examples/examples/libreoffice_writer/6ada715d-3aae-4a32-a6a7-429b2e43fb93.json index f7a3b88..c9b8fc7 100644 --- a/evaluation_examples/examples/libreoffice_writer/6ada715d-3aae-4a32-a6a7-429b2e43fb93.json +++ b/evaluation_examples/examples/libreoffice_writer/6ada715d-3aae-4a32-a6a7-429b2e43fb93.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1ebLG0gmqYv41ek4UmKWhFsxBnoUSGjKp&export=download&authuser=0&confirm=t&uuid=8f7d7bee-1fe4-4c4c-8b69-8aaf47199c57&at=APZUnTVYUvYTopUXCVs69QWWwPbq:1704173993139", - "path": "/home/user/Desktop/Viewing_Your_Class_Schedule_and_Textbooks.docx" + "path": "Desktop/Viewing_Your_Class_Schedule_and_Textbooks.docx" } ] } @@ -21,7 +21,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1-wYHrgPMZl5Y9Losd4AGkMVHWNU7Uemg&export=download&authuser=0&confirm=t&uuid=3bc52ab7-1739-407d-9b14-36c9305c973e&at=APZUnTW95CwED3zm5KRREFmO2mc2:1704952228530", - "path": "/home/user/Desktop/1.png" + "path": "Desktop/1.png" } ] } @@ -29,7 +29,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Viewing_Your_Class_Schedule_and_Textbooks.docx" + "path": "Desktop/Viewing_Your_Class_Schedule_and_Textbooks.docx" } }, { @@ -68,7 +68,7 @@ "command": [ "python", "-c", - "import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5); " + "import pyautogui; import time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5); pyautogui.press('down'); time.sleep(0.5); pyautogui.press('enter');" ] } } @@ -76,7 +76,7 @@ "func": "compare_contains_image", "result": { "type": "vm_file", - "path": "/home/user/Desktop/Viewing_Your_Class_Schedule_and_Textbooks.docx", + "path": "Desktop/Viewing_Your_Class_Schedule_and_Textbooks.docx", "dest": "Viewing_Your_Class_Schedule_and_Textbooks.docx" }, "expected": { diff --git a/evaluation_examples/examples/libreoffice_writer/6f81754e-285d-4ce0-b59e-af7edb02d108.json b/evaluation_examples/examples/libreoffice_writer/6f81754e-285d-4ce0-b59e-af7edb02d108.json index 5747a62..6ef3420 100644 --- a/evaluation_examples/examples/libreoffice_writer/6f81754e-285d-4ce0-b59e-af7edb02d108.json +++ b/evaluation_examples/examples/libreoffice_writer/6f81754e-285d-4ce0-b59e-af7edb02d108.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.google.com/uc?id=1cK1AMt_qKVAPp6EndSFG8y8r7KOPsqC1&export=download", - "path": "/home/user/Desktop/HK_train_record.docx" + "path": "Desktop/HK_train_record.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/HK_train_record.docx" + "path": "Desktop/HK_train_record.docx" } } ], @@ -55,7 +55,7 @@ "func": "compare_docx_lines", "result": { "type": "vm_file", - "path": "/home/user/Desktop/HK_train_record.docx", + "path": "Desktop/HK_train_record.docx", "dest": "HK_train_record.docx" }, "expected": { diff --git a/evaluation_examples/examples/libreoffice_writer/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json b/evaluation_examples/examples/libreoffice_writer/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json index 803029a..e713889 100644 --- a/evaluation_examples/examples/libreoffice_writer/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json +++ b/evaluation_examples/examples/libreoffice_writer/72b810ef-4156-4d09-8f08-a0cf57e7cefe.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.google.com/uc?id=1Uqgr9Y_kjoMoDoUwt80hv1EtFaisyztU&export=download", - "path": "/home/user/Desktop/GEOG2169_Course_Outline_2022-23.docx" + "path": "Desktop/GEOG2169_Course_Outline_2022-23.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/GEOG2169_Course_Outline_2022-23.docx" + "path": "Desktop/GEOG2169_Course_Outline_2022-23.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/GEOG2169_Course_Outline_2022-23.docx", + "path": "Desktop/GEOG2169_Course_Outline_2022-23.docx", "dest": "GEOG2169_Course_Outline_2022-23.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/8472fece-c7dd-4241-8d65-9b3cd1a0b568.json b/evaluation_examples/examples/libreoffice_writer/8472fece-c7dd-4241-8d65-9b3cd1a0b568.json index c9f28ec..4c6a790 100644 --- a/evaluation_examples/examples/libreoffice_writer/8472fece-c7dd-4241-8d65-9b3cd1a0b568.json +++ b/evaluation_examples/examples/libreoffice_writer/8472fece-c7dd-4241-8d65-9b3cd1a0b568.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.google.com/uc?id=1QHk3fVFSlvYu2k013_7ahEkVQl_o1GTU&export=download", - "path": "/home/user/Desktop/Dolch_Sight_Words_Primer.docx" + "path": "Desktop/Dolch_Sight_Words_Primer.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Dolch_Sight_Words_Primer.docx" + "path": "Desktop/Dolch_Sight_Words_Primer.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Dolch_Sight_Words_Primer.docx", + "path": "Desktop/Dolch_Sight_Words_Primer.docx", "dest": "Dolch_Sight_Words_Primer.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/88fe4b2d-3040-4c70-9a70-546a47764b48.json b/evaluation_examples/examples/libreoffice_writer/88fe4b2d-3040-4c70-9a70-546a47764b48.json index 5d2a99a..0244901 100644 --- a/evaluation_examples/examples/libreoffice_writer/88fe4b2d-3040-4c70-9a70-546a47764b48.json +++ b/evaluation_examples/examples/libreoffice_writer/88fe4b2d-3040-4c70-9a70-546a47764b48.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1DV0M0eSOEM64Lc59TR-tsBgFqehSQbFf&export=download&authuser=0&confirm=t&uuid=b8ca221a-3e09-4765-9b6d-0f7c439e492a&at=APZUnTWYXixuTuAHaX9Iz-5g_xMx:1706012515458", - "path": "/home/user/Desktop/CCCH9003_Tutorial_guidelines.docx" + "path": "Desktop/CCCH9003_Tutorial_guidelines.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/CCCH9003_Tutorial_guidelines.docx" + "path": "Desktop/CCCH9003_Tutorial_guidelines.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/CCCH9003_Tutorial_guidelines.docx", + "path": "Desktop/CCCH9003_Tutorial_guidelines.docx", "dest": "CCCH9003_Tutorial_guidelines.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/936321ce-5236-426a-9a20-e0e3c5dc536f.json b/evaluation_examples/examples/libreoffice_writer/936321ce-5236-426a-9a20-e0e3c5dc536f.json index 13b5478..892054e 100644 --- a/evaluation_examples/examples/libreoffice_writer/936321ce-5236-426a-9a20-e0e3c5dc536f.json +++ b/evaluation_examples/examples/libreoffice_writer/936321ce-5236-426a-9a20-e0e3c5dc536f.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1WcHqnDy0OPFiaGtvPSvKXuaLc_rtGzYC&export=download&authuser=0&confirm=t&uuid=0c552800-5dfe-4a3f-a960-8d384481fa7f&at=APZUnTWYjmvuXkU-pb77dy7EgCeD:1704970003044", - "path": "/home/user/Desktop/Graphemes_Sound_Letter_Patterns.docx" + "path": "Desktop/Graphemes_Sound_Letter_Patterns.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Graphemes_Sound_Letter_Patterns.docx" + "path": "Desktop/Graphemes_Sound_Letter_Patterns.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Graphemes_Sound_Letter_Patterns.docx", + "path": "Desktop/Graphemes_Sound_Letter_Patterns.docx", "dest": "Graphemes_Sound_Letter_Patterns.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/adf5e2c3-64c7-4644-b7b6-d2f0167927e7.json b/evaluation_examples/examples/libreoffice_writer/adf5e2c3-64c7-4644-b7b6-d2f0167927e7.json index aa63449..b264f08 100644 --- a/evaluation_examples/examples/libreoffice_writer/adf5e2c3-64c7-4644-b7b6-d2f0167927e7.json +++ b/evaluation_examples/examples/libreoffice_writer/adf5e2c3-64c7-4644-b7b6-d2f0167927e7.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1ShGL4gWSV7nzamAb0V2KqjoCOhyodcKU&export=download&authuser=0&confirm=t&uuid=17f2a63f-df71-4ea7-85a0-4b364afa336c&at=APZUnTXij39N124BO91KxN6yFR7Y:1706357955122", - "path": "/home/user/Desktop/Essay_Writing_English_for_uni.docx" + "path": "Desktop/Essay_Writing_English_for_uni.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Essay_Writing_English_for_uni.docx" + "path": "Desktop/Essay_Writing_English_for_uni.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Essay_Writing_English_for_uni.docx", + "path": "Desktop/Essay_Writing_English_for_uni.docx", "dest": "Essay_Writing_English_for_uni.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/b21acd93-60fd-4127-8a43-2f5178f4a830.json b/evaluation_examples/examples/libreoffice_writer/b21acd93-60fd-4127-8a43-2f5178f4a830.json index 3b2e740..4a450e1 100644 --- a/evaluation_examples/examples/libreoffice_writer/b21acd93-60fd-4127-8a43-2f5178f4a830.json +++ b/evaluation_examples/examples/libreoffice_writer/b21acd93-60fd-4127-8a43-2f5178f4a830.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.google.com/uc?id=1akFeAURJiqnK9wGNlRgPoPuQ6vRmnUPe&export=download", - "path": "/home/user/Desktop/CCHU9045_Course_Outline_2019-20.docx" + "path": "Desktop/CCHU9045_Course_Outline_2019-20.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/CCHU9045_Course_Outline_2019-20.docx" + "path": "Desktop/CCHU9045_Course_Outline_2019-20.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/CCHU9045_Course_Outline_2019-20.docx", + "path": "Desktop/CCHU9045_Course_Outline_2019-20.docx", "dest": "CCHU9045_Course_Outline_2019-20.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/d53ff5ee-3b1a-431e-b2be-30ed2673079b.json b/evaluation_examples/examples/libreoffice_writer/d53ff5ee-3b1a-431e-b2be-30ed2673079b.json index c370257..7ebb6e1 100644 --- a/evaluation_examples/examples/libreoffice_writer/d53ff5ee-3b1a-431e-b2be-30ed2673079b.json +++ b/evaluation_examples/examples/libreoffice_writer/d53ff5ee-3b1a-431e-b2be-30ed2673079b.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.google.com/uc?id=1j6Gx6KCxA9Cp-TE1uZ5lKcTSKVRPW-CB&export=download", - "path": "/home/user/Desktop/presentation_instruction_2023_Feb.docx" + "path": "Desktop/presentation_instruction_2023_Feb.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/presentation_instruction_2023_Feb.docx" + "path": "Desktop/presentation_instruction_2023_Feb.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/presentation_instruction_2023_Feb.docx", + "path": "Desktop/presentation_instruction_2023_Feb.docx", "dest": "presentation_instruction_2023_Feb.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/e246f6d8-78d7-44ac-b668-fcf47946cb50.json b/evaluation_examples/examples/libreoffice_writer/e246f6d8-78d7-44ac-b668-fcf47946cb50.json index b5e150f..65ef7c2 100644 --- a/evaluation_examples/examples/libreoffice_writer/e246f6d8-78d7-44ac-b668-fcf47946cb50.json +++ b/evaluation_examples/examples/libreoffice_writer/e246f6d8-78d7-44ac-b668-fcf47946cb50.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.google.com/uc?id=1b8mPpEDlBrTLcOpf0ZcjdUV4vLAwxH1r&export=download", - "path": "/home/user/Desktop/Y22-2119-assign4.docx" + "path": "Desktop/Y22-2119-assign4.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Y22-2119-assign4.docx" + "path": "Desktop/Y22-2119-assign4.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Y22-2119-assign4.docx", + "path": "Desktop/Y22-2119-assign4.docx", "dest": "Y22-2119-assign4.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/e528b65e-1107-4b8c-8988-490e4fece599.json b/evaluation_examples/examples/libreoffice_writer/e528b65e-1107-4b8c-8988-490e4fece599.json index a224e68..302729d 100644 --- a/evaluation_examples/examples/libreoffice_writer/e528b65e-1107-4b8c-8988-490e4fece599.json +++ b/evaluation_examples/examples/libreoffice_writer/e528b65e-1107-4b8c-8988-490e4fece599.json @@ -1,7 +1,7 @@ { "id": "e528b65e-1107-4b8c-8988-490e4fece599", "snapshot": "libreoffice_writer", - "instruction": "Capitalize the first letter of all words.", + "instruction": "Please help me make the first letter of each word to uppercase.", "source": "https://www.youtube.com/watch?v=l25Evu4ohKg", "config": [ { @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=181hyG_NZUJaUp7kUdeFoUpNGpOcjzYFV&export=download&authuser=0&confirm=t&uuid=fdb8aee4-ea1f-43c1-bc66-9d44099512e1&at=APZUnTVUrypBeVnTfkJsriv7S2GO:1704969486759", - "path": "/home/user/Desktop/Geography_And_Magical_Realism.docx" + "path": "Desktop/Geography_And_Magical_Realism.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Geography_And_Magical_Realism.docx" + "path": "Desktop/Geography_And_Magical_Realism.docx" } } ], @@ -60,7 +60,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/Geography_And_Magical_Realism.docx", + "path": "Desktop/Geography_And_Magical_Realism.docx", "dest": "Geography_And_Magical_Realism.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/ecc2413d-8a48-416e-a3a2-d30106ca36cb.json b/evaluation_examples/examples/libreoffice_writer/ecc2413d-8a48-416e-a3a2-d30106ca36cb.json index 87128a2..cfbd58e 100644 --- a/evaluation_examples/examples/libreoffice_writer/ecc2413d-8a48-416e-a3a2-d30106ca36cb.json +++ b/evaluation_examples/examples/libreoffice_writer/ecc2413d-8a48-416e-a3a2-d30106ca36cb.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1sDufDSC4foI379-Jikya9WK7FBUSqgrt&export=download&authuser=0&confirm=t&uuid=0abd82d6-2b2c-49bc-af5e-49bfe1c99278&at=APZUnTURIqTNJcIHBcMP2BxEaGXr:1704174850900", - "path": "/home/user/Desktop/Sample_Statutory_Declaration.docx" + "path": "Desktop/Sample_Statutory_Declaration.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/Sample_Statutory_Declaration.docx" + "path": "Desktop/Sample_Statutory_Declaration.docx" } } ], @@ -55,7 +55,7 @@ "func": "contains_page_break", "result": { "type": "vm_file", - "path": "/home/user/Desktop/Sample_Statutory_Declaration.docx", + "path": "Desktop/Sample_Statutory_Declaration.docx", "dest": "Sample_Statutory_Declaration.docx" } } diff --git a/evaluation_examples/examples/libreoffice_writer/f178a4a9-d090-4b56-bc4c-4b72a61a035d.json b/evaluation_examples/examples/libreoffice_writer/f178a4a9-d090-4b56-bc4c-4b72a61a035d.json index d4a947f..315ea4d 100644 --- a/evaluation_examples/examples/libreoffice_writer/f178a4a9-d090-4b56-bc4c-4b72a61a035d.json +++ b/evaluation_examples/examples/libreoffice_writer/f178a4a9-d090-4b56-bc4c-4b72a61a035d.json @@ -10,7 +10,7 @@ "files": [ { "url": "https://drive.usercontent.google.com/download?id=1xREbNAu_2wLTs8EQT0NnHLpIkAVAfpyk&export=download&authuser=0&confirm=t&uuid=dd5cb525-ff4b-41a2-8123-d488f2f21fad&at=APZUnTXaYBqLT9fRtGYZHOedq-PG:1704977194647", - "path": "/home/user/Desktop/loa-one-time-submission-sealand.docx" + "path": "Desktop/loa-one-time-submission-sealand.docx" } ] } @@ -18,7 +18,7 @@ { "type": "open", "parameters": { - "path": "/home/user/Desktop/loa-one-time-submission-sealand.docx" + "path": "Desktop/loa-one-time-submission-sealand.docx" } } ], diff --git a/evaluation_examples/examples/vs_code/30167b0c-976b-491b-a9e5-7747607c6a3c.json b/evaluation_examples/examples/vs_code/30167b0c-976b-491b-a9e5-7747607c6a3c.json new file mode 100644 index 0000000..c685c05 --- /dev/null +++ b/evaluation_examples/examples/vs_code/30167b0c-976b-491b-a9e5-7747607c6a3c.json @@ -0,0 +1,62 @@ +{ + "id": "30167b0c-976b-491b-a9e5-7747607c6a3c", + "snapshot": "vscode", + "instruction": "Please help me find the file that contains \"import openai\" in the current VS Code project and open that file.", + "source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf", + "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://codeload.github.com/onlyphantom/llm-python/zip/refs/heads/main", + "path": "/home/user/Downloads/llm-python-main.zip" + } + ] + } + }, + { + "type": "execute", + "parameters": { + "command": [ + "/bin/bash", + "-c", + "cd /home/user/Downloads && unzip -q llm-python-main.zip" + ] + } + }, + { + "type": "launch", + "parameters": { + "command": [ + "code", + "/home/user/Downloads/llm-python-main/" + ] + } + }, + { + "type": "activate_window", + "parameters": { + "window_name": "Visual Studio Code" + } + } + ], + "trajectory": "trajectories/", + "related_apps": [ + "vscode" + ], + "evaluator": { + "func": "check_json_settings", + "expected": { + "type": "rule", + "rules": { + "expect": {} + } + }, + "result": { + "type": "vm_file", + "path": "/home/user/.config/Code/User/settings.json", + "dest": "settings.json" + } + } +} \ No newline at end of file diff --git a/evaluation_examples/examples/vs_code/5e2d93d8-8ad0-4435-b150-1692aacaa994.json b/evaluation_examples/examples/vs_code/5e2d93d8-8ad0-4435-b150-1692aacaa994.json index 2be4512..3554735 100644 --- a/evaluation_examples/examples/vs_code/5e2d93d8-8ad0-4435-b150-1692aacaa994.json +++ b/evaluation_examples/examples/vs_code/5e2d93d8-8ad0-4435-b150-1692aacaa994.json @@ -4,14 +4,6 @@ "instruction": "Please help me save current project as workspace \"project\" at \"/home/user/\".", "source": "https://www.youtube.com/watch?v=B-s71n0dHUk", "config": [ - { - "type": "launch", - "parameters": { - "command": [ - "code" - ] - } - }, { "type": "command", "parameters": { @@ -41,6 +33,15 @@ ] } }, + { + "type": "launch", + "parameters": { + "command": [ + "code", + "/home/user/project/" + ] + } + }, { "type": "activate_window", "parameters": { @@ -58,6 +59,7 @@ "type": "vm_command_line", "command": [ "ls", + "/home/user/project/", "|", "grep", "project.code-workspace" @@ -71,4 +73,4 @@ } } } -} +} \ No newline at end of file diff --git a/evaluation_examples/examples/vs_code/70745df8-f2f5-42bd-8074-fbc10334fcc5.json b/evaluation_examples/examples/vs_code/70745df8-f2f5-42bd-8074-fbc10334fcc5.json index 8526836..864a07c 100644 --- a/evaluation_examples/examples/vs_code/70745df8-f2f5-42bd-8074-fbc10334fcc5.json +++ b/evaluation_examples/examples/vs_code/70745df8-f2f5-42bd-8074-fbc10334fcc5.json @@ -4,11 +4,33 @@ "instruction": "Please help me open the autosave feature of VS Code and delay AutoSave operations for 500 milliseconds in the VS Code setting.", "source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf", "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://storage.googleapis.com/drive-bulk-export-anonymous/20240207T164539.876Z/4133399871716478688/90e8000b-16d6-481a-a8eb-de0f4613b6c2/1/c7b78392-6016-4d48-9c04-1110303c47c1?authuser", + "path": "/home/user/Downloads/HW-8-main-20240207T164539Z-001.zip" + } + ] + } + }, + { + "type": "execute", + "parameters": { + "command": [ + "/bin/bash", + "-c", + "cd /home/user/Downloads && unzip -q HW-8-main-20240207T164539Z-001.zip" + ] + } + }, { "type": "launch", "parameters": { "command": [ - "code" + "code", + "/home/user/Downloads/HW-8-main/" ] } }, @@ -40,4 +62,4 @@ "dest": "settings.json" } } -} +} \ No newline at end of file diff --git a/evaluation_examples/examples/vs_code/ae506c68-352c-4094-9caa-ee9d42052317.json b/evaluation_examples/examples/vs_code/ae506c68-352c-4094-9caa-ee9d42052317.json index 55394d9..9d0c13d 100644 --- a/evaluation_examples/examples/vs_code/ae506c68-352c-4094-9caa-ee9d42052317.json +++ b/evaluation_examples/examples/vs_code/ae506c68-352c-4094-9caa-ee9d42052317.json @@ -32,7 +32,7 @@ }, "result": { "type": "vm_file", - "path": "/home/user/Desktop/history.txt", + "path": "Desktop/history.txt", "dest": "history.txt" } } diff --git a/evaluation_examples/examples/vs_code/c6bf789c-ba3a-4209-971d-b63abf0ab733.json b/evaluation_examples/examples/vs_code/c6bf789c-ba3a-4209-971d-b63abf0ab733.json index d1163e8..af52359 100644 --- a/evaluation_examples/examples/vs_code/c6bf789c-ba3a-4209-971d-b63abf0ab733.json +++ b/evaluation_examples/examples/vs_code/c6bf789c-ba3a-4209-971d-b63abf0ab733.json @@ -4,11 +4,33 @@ "instruction": "Please help me modify VS Code setting to hide all \"__pycache__\" folders in the explorer view.", "source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf", "config": [ + { + "type": "download", + "parameters": { + "files": [ + { + "url": "https://storage.googleapis.com/drive-bulk-export-anonymous/20240207T140008.374Z/4133399871716478688/c9171ab5-0655-4c8e-aac8-e2cf6705e9f3/1/01132d9e-2db6-4984-a1ae-e1ff9150367b?authuser", + "path": "/home/user/Downloads/hw_python_oop-master.zip" + } + ] + } + }, + { + "type": "execute", + "parameters": { + "command": [ + "/bin/bash", + "-c", + "cd /home/user/Downloads && unzip -q hw_python_oop-master.zip" + ] + } + }, { "type": "launch", "parameters": { "command": [ - "code" + "code", + "/home/user/Downloads/hw_python_oop-master" ] } }, @@ -30,7 +52,7 @@ "rules": { "expect": { "files.exclude": { - "**/__pycache__": true + "**/__pycache__": true } } } @@ -41,4 +63,4 @@ "dest": "settings.json" } } -} +} \ No newline at end of file diff --git a/evaluation_examples/examples/vs_code/ec71221e-ac43-46f9-89b8-ee7d80f7e1c5.json b/evaluation_examples/examples/vs_code/ec71221e-ac43-46f9-89b8-ee7d80f7e1c5.json index 88aa820..11d1627 100644 --- a/evaluation_examples/examples/vs_code/ec71221e-ac43-46f9-89b8-ee7d80f7e1c5.json +++ b/evaluation_examples/examples/vs_code/ec71221e-ac43-46f9-89b8-ee7d80f7e1c5.json @@ -18,7 +18,10 @@ { "type": "launch", "parameters": { - "command": ["code", "/home/user/Desktop/test.py"] + "command": [ + "code", + "/home/user/Desktop/test.py" + ] } }, { @@ -33,6 +36,36 @@ "vscode" ], "evaluator": { + "postconfig": [ + { + "type": "activate_window", + "parameters": { + "window_name": "test.py - Visual Studio Code" + } + }, + { + "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_text_file", "expected": { "type": "cloud_file", @@ -45,4 +78,4 @@ "dest": "test.py" } } -} +} \ No newline at end of file