- 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.
72 lines
1.5 KiB
JSON
72 lines
1.5 KiB
JSON
{
|
|
"id": "82279c77-8fc6-46f6-9622-3ba96f61b477",
|
|
"snapshot": "chrome",
|
|
"instruction": "Find electric cars with a maximum price of $50,000 within 50 miles of 10001.",
|
|
"source": "test_task_1",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"google-chrome",
|
|
"--remote-debugging-port=1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"socat",
|
|
"tcp-listen:9222,fork",
|
|
"tcp:localhost:1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome_open_tabs",
|
|
"parameters": {
|
|
"urls_to_open": [
|
|
"https://www.cars.com/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Google Chrome"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"chrome"
|
|
],
|
|
"evaluator": {
|
|
"func": "check_direct_json_object",
|
|
"result": {
|
|
"type": "active_tab_url_parse",
|
|
"goto_prefix": "https://www.",
|
|
"parse_keys": [
|
|
"list_price_max",
|
|
"maximum_distance",
|
|
"zip",
|
|
"fuel_slugs[]"
|
|
]
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expected": {
|
|
"list_price_max": "50000",
|
|
"maximum_distance": "50",
|
|
"zip": "10001",
|
|
"fuel_slugs[]": "electric"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"proxy": true,
|
|
"fixed_ip": false,
|
|
"possibility_of_env_change": "low"
|
|
} |