- 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.
109 lines
3.3 KiB
JSON
109 lines
3.3 KiB
JSON
{
|
|
"id": "d38192b0-17dc-4e1d-99c3-786d0117de77",
|
|
"snapshot": "thunderbird",
|
|
"instruction": "Attach the my AWS bill to the email. The bill is stored at ~/aws-bill.pdf. Don't close it or send it. I haven't finish all the contents.",
|
|
"source": "https://support.mozilla.org/en-US/kb/how-use-attachments",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/thunderbird/d38192b0-17dc-4e1d-99c3-786d0117de77/invoice0123456789.pdf",
|
|
"path": "/home/user/aws-bill.pdf"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/thunderbird/d38192b0-17dc-4e1d-99c3-786d0117de77/New-month%20AWS%20Bill.html",
|
|
"path": "/home/user/.aws-bill-mail-body.html"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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 -compose \"from='Anonym Tester <anonym-x2024@outlook.com>',to=assistant@outlook.com,subject='New-month AWS Bill',body='$(cat /home/user/.aws-bill-mail-body.html)'\"",
|
|
"shell": true
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/d088f539-cab4-4f9a-ac92-9999fc3a656e",
|
|
"related_apps": [
|
|
"thunderbird"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/thunderbird/d38192b0-17dc-4e1d-99c3-786d0117de77/show-thunderbird-attachments.py",
|
|
"path": "/home/user/show-thunderbird-attachments.py"
|
|
},
|
|
{
|
|
"url": "https://files.pythonhosted.org/packages/ee/58/257350f7db99b4ae12b614a36256d9cc870d71d9e451e79c2dc3b23d7c3c/cssselect-1.3.0-py3-none-any.whl",
|
|
"path": "/home/user/cssselect-1.3.0-py3-none-any.whl"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"pip",
|
|
"install",
|
|
"/home/user/cssselect-1.3.0-py3-none-any.whl"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"/home/user/show-thunderbird-attachments.py",
|
|
"New-month AWS Bill",
|
|
"aws-bill.pdf"
|
|
],
|
|
"stdout": "check-attachments.output"
|
|
}
|
|
}
|
|
],
|
|
"func": "check_list",
|
|
"result": {
|
|
"type": "cache_file",
|
|
"path": "check-attachments.output"
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expect": [
|
|
"Attachment added!"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"proxy": false,
|
|
"fixed_ip": false,
|
|
"possibility_of_env_change": "low"
|
|
} |