- 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
62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"id": "3ef2b351-8a84-4ff2-8724-d86eae9b842e",
|
|
"snapshot": "word",
|
|
"instruction": "Help me center align the heading in LibreOffice.",
|
|
"source": "https://askubuntu.com/questions/1066351/how-do-you-center-align-in-libreoffice#:~:text=Ctrl%20%2B%20e%20will%20Center%20align%20the%20cursor%20for%20you.",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/windows_osworld_file_cache/resolve/main/word/3ef2b351-8a84-4ff2-8724-d86eae9b842e/Constitution_Template_With_Guidelines.docx",
|
|
"path": "C:\\Users\\User\\Constitution_Template_With_Guidelines.docx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\User\\Constitution_Template_With_Guidelines.docx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"word"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Constitution_Template_With_Guidelines - 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(5);"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"func": "is_first_line_centered",
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\User\\Constitution_Template_With_Guidelines.docx",
|
|
"dest": "Constitution_Template_With_Guidelines.docx"
|
|
}
|
|
}
|
|
} |