| { | |
| "id": "6ed0a554-cbee-4b44-84ea-fd6c042f4fe1", | |
| "snapshot": "vscode", | |
| "instruction": "Please help me add folder \"/home/user/data1\" and folder \"/home/user/data2\" to the current workspace.", | |
| "source": "https://www.youtube.com/watch?v=B-s71n0dHUk", | |
| "config": [ | |
| { | |
| "type": "command", | |
| "parameters": { | |
| "command": [ | |
| "mkdir", | |
| "-p", | |
| "/home/user/project" | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "command", | |
| "parameters": { | |
| "command": [ | |
| "mkdir", | |
| "-p", | |
| "/home/user/data1" | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "command", | |
| "parameters": { | |
| "command": [ | |
| "mkdir", | |
| "-p", | |
| "/home/user/data2" | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "download", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/vs_code/6ed0a554-cbee-4b44-84ea-fd6c042f4fe1/project.code-workspace", | |
| "path": "/home/user/project.code-workspace" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "launch", | |
| "parameters": { | |
| "command": [ | |
| "code", | |
| "/home/user/project.code-workspace" | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "activate_window", | |
| "parameters": { | |
| "window_name": "Visual Studio Code" | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "vscode" | |
| ], | |
| "evaluator": { | |
| "func": "check_json_settings", | |
| "expected": { | |
| "type": "rule", | |
| "rules": { | |
| "expected": { | |
| "folders": [ | |
| { | |
| "path": "project" | |
| }, | |
| { | |
| "path": "data1" | |
| }, | |
| { | |
| "path": "data2" | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "result": { | |
| "type": "vm_file", | |
| "path": "/home/user/project.code-workspace", | |
| "dest": "project.code-workspace" | |
| } | |
| }, | |
| "proxy": false, | |
| "fixed_ip": false, | |
| "possibility_of_env_change": "low" | |
| } |