mirrored 15 minutes ago
0
yuanmengqifeat: standardize configuration fields across all evaluation examples - 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. e433f35
{
  "id": "7f52cab9-535c-4835-ac8c-391ee64dc930",
  "snapshot": "chrome",
  "instruction": "Create a list of drip coffee makers that are on sale and within $25-60 and have a black finish.",
  "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://shopping.google.com/"
        ]
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Google Chrome"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "chrome"
  ],
  "evaluator": {
    "func": [
      "check_direct_json_object",
      "check_direct_json_object"
    ],
    "result": [
      {
        "type": "active_tab_url_parse",
        "goto_prefix": "https://www.",
        "parse_keys": [
          "q"
        ]
      },
      {
        "type": "active_tab_html_parse",
        "goto_prefix": "https://www.",
        "category": "class",
        "class_multiObject_search_exist": {
          "fT28tf": [
            "Black",
            "$25 - $60",
            "On sale",
            "is_other_exist"
          ]
        }
      }
    ],
    "expected": [
      {
        "type": "rule",
        "rules": {
          "expected": {
            "q": "drip coffee maker"
          },
          "expect_in_result": true
        }
      },
      {
        "type": "rule",
        "rules": {
          "expected": {
            "Black": true,
            "$25 - $60": true,
            "On sale": true,
            "is_other_exist": false
          }
        }
      }
    ]
  },
  "proxy": true,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}