Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -64,4 +64,4 @@
|
|||||||
"dest": "Novels_Intro_Packet.docx"
|
"dest": "Novels_Intro_Packet.docx"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"command": [
|
"command": [
|
||||||
"python",
|
"python",
|
||||||
"-c",
|
"-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');"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "e528b65e-1107-4b8c-8988-490e4fece599",
|
"id": "e528b65e-1107-4b8c-8988-490e4fece599",
|
||||||
"snapshot": "libreoffice_writer",
|
"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",
|
"source": "https://www.youtube.com/watch?v=l25Evu4ohKg",
|
||||||
"config": [
|
"config": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -4,14 +4,6 @@
|
|||||||
"instruction": "Please help me save current project as workspace \"project\" at \"/home/user/\".",
|
"instruction": "Please help me save current project as workspace \"project\" at \"/home/user/\".",
|
||||||
"source": "https://www.youtube.com/watch?v=B-s71n0dHUk",
|
"source": "https://www.youtube.com/watch?v=B-s71n0dHUk",
|
||||||
"config": [
|
"config": [
|
||||||
{
|
|
||||||
"type": "launch",
|
|
||||||
"parameters": {
|
|
||||||
"command": [
|
|
||||||
"code"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "command",
|
"type": "command",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -41,6 +33,15 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "launch",
|
||||||
|
"parameters": {
|
||||||
|
"command": [
|
||||||
|
"code",
|
||||||
|
"/home/user/project/"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "activate_window",
|
"type": "activate_window",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
@@ -58,6 +59,7 @@
|
|||||||
"type": "vm_command_line",
|
"type": "vm_command_line",
|
||||||
"command": [
|
"command": [
|
||||||
"ls",
|
"ls",
|
||||||
|
"/home/user/project/",
|
||||||
"|",
|
"|",
|
||||||
"grep",
|
"grep",
|
||||||
"project.code-workspace"
|
"project.code-workspace"
|
||||||
@@ -71,4 +73,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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.",
|
"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",
|
"source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf",
|
||||||
"config": [
|
"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",
|
"type": "launch",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"code"
|
"code",
|
||||||
|
"/home/user/Downloads/HW-8-main/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -40,4 +62,4 @@
|
|||||||
"dest": "settings.json"
|
"dest": "settings.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -36,4 +36,4 @@
|
|||||||
"dest": "history.txt"
|
"dest": "history.txt"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,11 +4,33 @@
|
|||||||
"instruction": "Please help me modify VS Code setting to hide all \"__pycache__\" folders in the explorer view.",
|
"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",
|
"source": "https://download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf",
|
||||||
"config": [
|
"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",
|
"type": "launch",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"command": [
|
"command": [
|
||||||
"code"
|
"code",
|
||||||
|
"/home/user/Downloads/hw_python_oop-master"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -30,7 +52,7 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"expect": {
|
"expect": {
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
"**/__pycache__": true
|
"**/__pycache__": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -41,4 +63,4 @@
|
|||||||
"dest": "settings.json"
|
"dest": "settings.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,10 @@
|
|||||||
{
|
{
|
||||||
"type": "launch",
|
"type": "launch",
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"command": ["code", "/home/user/Desktop/test.py"]
|
"command": [
|
||||||
|
"code",
|
||||||
|
"/home/user/Desktop/test.py"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -33,6 +36,36 @@
|
|||||||
"vscode"
|
"vscode"
|
||||||
],
|
],
|
||||||
"evaluator": {
|
"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",
|
"func": "compare_text_file",
|
||||||
"expected": {
|
"expected": {
|
||||||
"type": "cloud_file",
|
"type": "cloud_file",
|
||||||
@@ -45,4 +78,4 @@
|
|||||||
"dest": "test.py"
|
"dest": "test.py"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user