- Add detailed README for file cache repository - Implement migration script with retry logic and browser simulation - Support automatic file type detection and deduplication - Ensure reliable hosting for OSWorld evaluation files
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"id": "0b17a146-2934-46c7-8727-73ff6b6483e8",
|
|
"snapshot": "word",
|
|
"instruction": "Help me change the 2 in \"H2O\" to a subscript.",
|
|
"source": "https://askubuntu.com/questions/245695/how-do-you-insert-subscripts-and-superscripts-into-ordinary-non-formula-text-i",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/word/0b17a146-2934-46c7-8727-73ff6b6483e8/H2O_Factsheet_WA.docx",
|
|
"path": "C:\\Users\\User\\H2O_Factsheet_WA.docx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\User\\H2O_Factsheet_WA.docx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"word"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "H2O_Factsheet_WA - Word",
|
|
"strict": true
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"python",
|
|
"-c",
|
|
"import pyautogui; import time; pyautogui.hotkey(\"ctrl\", \"s\"); time.sleep(0.5);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_docx_files",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\User\\H2O_Factsheet_WA.docx",
|
|
"dest": "H2O_Factsheet_WA.docx"
|
|
},
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/word/0b17a146-2934-46c7-8727-73ff6b6483e8/H2O_Factsheet_WA_Gold.docx",
|
|
"dest": "H2O_Factsheet_WA_Gold.docx"
|
|
}
|
|
}
|
|
} |