mirrored 6 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": "5203d847-2572-4150-912a-03f062254390",
  "snapshot": "thunderbird",
  "instruction": "Create a local folder called \"Promotions\" and create a filter to auto move the inbox emails whose subject contains “discount” to the new folder",
  "source": "https://support.mozilla.org/en-US/kb/organize-your-messages-using-filters",
  "config": [
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/thunderbird/dd84e895-72fd-4023-a336-97689ded257c/thunderbird-profile.tar.gz",
            "path": "/home/user/thunderbird-profile.tar.gz"
          }
        ]
      }
    },
    {
      "type": "execute",
      "parameters": {
        "command": [
          "tar",
          "-xzv",
          "--recursive-unlink",
          "-f",
          "/home/user/thunderbird-profile.tar.gz",
          "-C",
          "/home/user/"
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "/usr/bin/thunderbird"
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "thunderbird"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "close_window",
        "parameters": {
          "window_name": "Message Filters",
          "strict": true
        }
      },
      {
        "type": "sleep",
        "parameters": {
          "seconds": 0.5
        }
      }
    ],
    "func": "check_thunderbird_filter",
    "result": {
      "type": "vm_file",
      "path": "/home/user/.thunderbird/t5q2a5hp.default-release/ImapMail/outlook.office365.com/msgFilterRules.dat",
      "dest": "msgFilterRules.dat"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "expect": [
          {
            "enabled": "yes",
            "action": "Move to folder",
            "actionValue": "mailbox://nobody@Local%20Folders/Promotions",
            "condition": [
              "AND (subject,contains,discount)"
            ]
          }
        ]
      }
    }
  },
  "proxy": false,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}