Files
sci-gui-agent-benchmark/evaluation_examples/examples/vs_code/70745df8-f2f5-42bd-8074-fbc10334fcc5.json
2024-03-20 20:17:18 +08:00

66 lines
2.1 KiB
JSON

{
"id": "70745df8-f2f5-42bd-8074-fbc10334fcc5",
"snapshot": "vscode",
"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://drive-data-export.usercontent.google.com/download/aht97d3cgh8crp6c8nof1vt3tipaiqt5/cnup6b6flpoegsolrangjudv2r8eu535/1710936000000/82b28ffd-6625-4027-86f1-f04cc95198a6/108888117743638485671/ADt3v-Po3UMopGHyM5lsm1tV432fKFWzgTlameSobbZNOXnKb8UebE9byN9l2XJCE87VxHTOC3JDZE6Jbh8L45AENAuh2X9VlZjQlThlBU4VWWNxAH8HaRvA0C0A05_LtgKl5qu0PVms54D3Vx2c-RE-wS0_6O3UWNiFQUbNCD07yjic8wqWw8ny817is4-JKflFoyUHkjU7go0NvAChbo_al1djyrZYsb1N594lNMGK5C7NDrUpYr4rZxx4nKCJHblPA_MNqbMSrftEA1JgoFqjesxeA1tXclICqzxLwsFtZrDKdP0ilPIyE66d5g0IN6CT2vb74Dnp?j=82b28ffd-6625-4027-86f1-f04cc95198a6&user=6816948370&i=0&authuser=0",
"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",
"/home/user/Downloads/HW-8-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": {
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 500
}
}
},
"result": {
"type": "vm_file",
"path": "/home/user/.config/Code/User/settings.json",
"dest": "settings.json"
}
}
}