Files
sci-gui-agent-benchmark/evaluation_examples/examples/vs_code/30167b0c-976b-491b-a9e5-7747607c6a3c.json
2024-02-23 15:09:15 +08:00

62 lines
1.5 KiB
JSON

{
"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": {
"expected": {}
}
},
"result": {
"type": "vm_file",
"path": "/home/user/.config/Code/User/settings.json",
"dest": "settings.json"
}
}
}