Upload osw.manual_task.1757248783.ipynb
Browse files- osw.manual_task.1757248783.ipynb +122 -0
osw.manual_task.1757248783.ipynb
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"metadata": {},
|
| 6 |
+
"source": [
|
| 7 |
+
"**[metadata]**\n\n```json\n{\n \"id\": \"libreoffice-europe-countries-task-1\",\n \"snapshot\": \"libreoffice_writer\",\n \"instruction\": \"The LibreOffice Writer document contains a list of 5 European countries. Select the country names, convert them into an ordered (numbered) list, then save the file keeping the same filename.\",\n \"source\": \"https://docs.google.com/document/d/1SSESH8YhflcGD_lQb0ctNjjINzpO1rPMhv92IPh9NpI/edit?usp=sharing\",\n \"config\": [\n {\n \"type\": \"download\",\n \"parameters\": {\n \"files\": [\n {\n \"url\": \"https://docs.google.com/document/d/1g-EPgoCzpdCORGGRKVTUsocqi1SRhW8Il3QmRZueyno/export?format=docx\",\n \"path\": \"/home/user/Desktop/list-countries.docx\"\n }\n ]\n }\n },\n {\n \"type\": \"open\",\n \"parameters\": {\n \"path\": \"/home/user/Desktop/list-countries.docx\"\n }\n }\n ],\n \"related_apps\": [\n \"libreoffice_writer\"\n ],\n \"evaluator\": {\n \"func\": \"compare_numbered_lists\",\n \"result\": {\n \"type\": \"vm_file\",\n \"path\": \"/home/user/Desktop/list-countries.docx\",\n \"dest\": \"list-countries.docx\"\n },\n \"expected\": {\n \"type\": \"cloud_file\",\n \"path\": \"https://docs.google.com/document/d/1SSESH8YhflcGD_lQb0ctNjjINzpO1rPMhv92IPh9NpI/export?format=docx\",\n \"dest\": \"list-countries_golden.docx\"\n }\n }\n}\n```"
|
| 8 |
+
]
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"cell_type": "markdown",
|
| 12 |
+
"metadata": {},
|
| 13 |
+
"source": [
|
| 14 |
+
"**[user]**\n\nThe LibreOffice Writer document contains a list of 5 European countries. Select the country names, convert them into an ordered (numbered) list, then save the file keeping the same filename."
|
| 15 |
+
]
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"cell_type": "markdown",
|
| 19 |
+
"metadata": {},
|
| 20 |
+
"source": [
|
| 21 |
+
"**[assistant]**\n\nExecuting step 1: pg.hotkey(\"ctrl\", \"a\"). This action will be performed on the VM to complete part of the task."
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"cell_type": "markdown",
|
| 26 |
+
"metadata": {},
|
| 27 |
+
"source": [
|
| 28 |
+
"**[tool_call]**\n\n```json\n{\n \"tool_name\": \"pyautogui\",\n \"arguments\": \"import pyautogui, time\\npyautogui.hotkey(\\\"ctrl\\\", \\\"a\\\")\"\n}\n```"
|
| 29 |
+
]
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"cell_type": "markdown",
|
| 33 |
+
"metadata": {},
|
| 34 |
+
"source": [
|
| 35 |
+
"**[tool_output]**\n\n**Attachments:**\n\n```json\n[\n {\n \"type\": \"screenshot\",\n \"src\": \"vm://screen/0001.png\"\n },\n {\n \"type\": \"a11y_tree\", \n \"src\": \"vm://a11y/0001.xml\"\n }\n]\n```"
|
| 36 |
+
]
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"cell_type": "markdown",
|
| 40 |
+
"metadata": {},
|
| 41 |
+
"source": [
|
| 42 |
+
"**[assistant]**\n\nExecuting step 2: pg.moveTo(1250, 150, duration=4). This action will be performed on the VM to complete part of the task."
|
| 43 |
+
]
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"cell_type": "markdown",
|
| 47 |
+
"metadata": {},
|
| 48 |
+
"source": [
|
| 49 |
+
"**[tool_call]**\n\n```json\n{\n \"tool_name\": \"pyautogui\",\n \"arguments\": \"import pyautogui, time\\npyautogui.moveTo(1250, 150, duration=4)\"\n}\n```"
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"cell_type": "markdown",
|
| 54 |
+
"metadata": {},
|
| 55 |
+
"source": [
|
| 56 |
+
"**[tool_output]**\n\n**Attachments:**\n\n```json\n[\n {\n \"type\": \"screenshot\",\n \"src\": \"vm://screen/0002.png\"\n },\n {\n \"type\": \"a11y_tree\", \n \"src\": \"vm://a11y/0002.xml\"\n }\n]\n```"
|
| 57 |
+
]
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"cell_type": "markdown",
|
| 61 |
+
"metadata": {},
|
| 62 |
+
"source": [
|
| 63 |
+
"**[assistant]**\n\nExecuting step 3: pg.click(1250,150). This action will be performed on the VM to complete part of the task."
|
| 64 |
+
]
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"cell_type": "markdown",
|
| 68 |
+
"metadata": {},
|
| 69 |
+
"source": [
|
| 70 |
+
"**[tool_call]**\n\n```json\n{\n \"tool_name\": \"pyautogui\",\n \"arguments\": \"import pyautogui, time\\npyautogui.click(1250,150)\"\n}\n```"
|
| 71 |
+
]
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"cell_type": "markdown",
|
| 75 |
+
"metadata": {},
|
| 76 |
+
"source": [
|
| 77 |
+
"**[tool_output]**\n\n**Attachments:**\n\n```json\n[\n {\n \"type\": \"screenshot\",\n \"src\": \"vm://screen/0003.png\"\n },\n {\n \"type\": \"a11y_tree\", \n \"src\": \"vm://a11y/0003.xml\"\n }\n]\n```"
|
| 78 |
+
]
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"cell_type": "markdown",
|
| 82 |
+
"metadata": {},
|
| 83 |
+
"source": [
|
| 84 |
+
"**[assistant]**\n\nExecuting step 4: pg.hotkey(\"ctrl\", \"s\"). This action will be performed on the VM to complete part of the task."
|
| 85 |
+
]
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"cell_type": "markdown",
|
| 89 |
+
"metadata": {},
|
| 90 |
+
"source": [
|
| 91 |
+
"**[tool_call]**\n\n```json\n{\n \"tool_name\": \"pyautogui\",\n \"arguments\": \"import pyautogui, time\\npyautogui.hotkey(\\\"ctrl\\\", \\\"s\\\")\"\n}\n```"
|
| 92 |
+
]
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"cell_type": "markdown",
|
| 96 |
+
"metadata": {},
|
| 97 |
+
"source": [
|
| 98 |
+
"**[tool_output]**\n\n**Attachments:**\n\n```json\n[\n {\n \"type\": \"screenshot\",\n \"src\": \"vm://screen/0004.png\"\n },\n {\n \"type\": \"a11y_tree\", \n \"src\": \"vm://a11y/0004.xml\"\n }\n]\n```"
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"cell_type": "markdown",
|
| 103 |
+
"metadata": {},
|
| 104 |
+
"source": [
|
| 105 |
+
"**[assistant]**\n\nDONE"
|
| 106 |
+
]
|
| 107 |
+
}
|
| 108 |
+
],
|
| 109 |
+
"metadata": {
|
| 110 |
+
"kernelspec": {
|
| 111 |
+
"display_name": "Python 3",
|
| 112 |
+
"language": "python",
|
| 113 |
+
"name": "python3"
|
| 114 |
+
},
|
| 115 |
+
"language_info": {
|
| 116 |
+
"name": "python",
|
| 117 |
+
"version": "3.8.0"
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
"nbformat": 4,
|
| 121 |
+
"nbformat_minor": 4
|
| 122 |
+
}
|