- Add `fixed_ip` field to all 369 JSON files in examples directory - Set to `true` for 8 files listed in google_chrome.json multi_apps - Set to `false` for remaining 361 files - Add `possibility_of_env_change` field to 363 JSON files missing this field - Set to "low" for newly added fields - Preserve existing values (4 medium, 2 high) for 6 files that already had this field This ensures consistent configuration schema across all evaluation examples while maintaining backward compatibility with existing settings.
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"id": "e2b5e914-ffe1-44d2-8e92-58f8c5d92bb2",
|
|
"snapshot": "vscode",
|
|
"instruction": "Please modify VS Code's settings to disable error reporting for Python missing imports.",
|
|
"source": "https://superuser.com/questions/1386061/how-to-suppress-some-python-errors-warnings-in-vs-code",
|
|
"config": [
|
|
{
|
|
"type": "command",
|
|
"parameters": {
|
|
"command": [
|
|
"code",
|
|
"--install-extension",
|
|
"ms-python.python"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"code"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Visual Studio Code"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"vscode"
|
|
],
|
|
"evaluator": {
|
|
"func": "check_json_settings",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expected": {
|
|
"python.analysis.diagnosticSeverityOverrides": {
|
|
"reportMissingImports": "none"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/.config/Code/User/settings.json",
|
|
"dest": "settings.json"
|
|
}
|
|
},
|
|
"proxy": false,
|
|
"fixed_ip": false,
|
|
"possibility_of_env_change": "low"
|
|
} |