- 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.
112 lines
3.0 KiB
JSON
112 lines
3.0 KiB
JSON
{
|
|
"id": "0bf05a7d-b28b-44d2-955a-50b41e24012a",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "I would like to copy all the numbers in the 'Old ID' column to the 'New 7 Digit Id' column, and pad them with zeros in front, to fill them up to seven digits.",
|
|
"source": "https://www.youtube.com/shorts/FPAQaDTS8VY",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a/Customers_New_7digit_Id.xlsx",
|
|
"path": "/home/user/Customers_New_7digit_Id.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "/home/user/Customers_New_7digit_Id.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/0bf05a7d-b28b-44d2-955a-50b41e24012a",
|
|
"related_apps": [
|
|
"libreoffice calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Customers_New_7digit_Id.xlsx - LibreOffice Calc",
|
|
"strict": true
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; pyautogui.hotkey(\"ctrl\", \"s\");"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"libreoffice",
|
|
"--convert-to",
|
|
"csv:Text - txt - csv (StarCalc):44,34,UTF-8,,,,false,true,true,false,false,1",
|
|
"--outdir",
|
|
"/home/user",
|
|
"/home/user/Customers_New_7digit_Id.xlsx"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_table",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": [
|
|
"/home/user/Customers_New_7digit_Id.xlsx",
|
|
"/home/user/Customers_New_7digit_Id-Sheet1.csv"
|
|
],
|
|
"dest": [
|
|
"Customers_New_7digit_Id.xlsx",
|
|
"Customers_New_7digit_Id-Sheet1.csv"
|
|
],
|
|
"multi": true
|
|
},
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": [
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a/Customers_New_7digit_Id_gold.xlsx",
|
|
"https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_calc/0bf05a7d-b28b-44d2-955a-50b41e24012a/Customers_New_7digit_Id_gold.csv"
|
|
],
|
|
"dest": [
|
|
"Customers_New_7digit_Id_gold.xlsx",
|
|
"Customers_New_7digit_Id_gold-Sheet1.csv"
|
|
],
|
|
"multi": true
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_print",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"proxy": false,
|
|
"fixed_ip": false,
|
|
"possibility_of_env_change": "low"
|
|
} |