Files
sci-gui-agent-benchmark/evaluation_examples/examples/libreoffice_writer/0e47de2a-32e0-456c-a366-8c607ef7a9d2.json

63 lines
1.7 KiB
JSON

{
"id": "0e47de2a-32e0-456c-a366-8c607ef7a9d2",
"snapshot": "libreoffice_writer",
"instruction": "Add page number for every page at the bottom left",
"source": "https://ask.libreoffice.org/t/how-to-start-page-numbering-on-a-certain-page/39931/4",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/libreoffice_writer/0e47de2a-32e0-456c-a366-8c607ef7a9d2/LibreOffice_Open_Source_Word_Processing.docx",
"path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "LibreOffice_Open_Source_Word_Processing.docx - LibreOffice Writer",
"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": "has_page_numbers_in_footers",
"result": {
"type": "vm_file",
"path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx",
"dest": "LibreOffice_Open_Source_Word_Processing.docx"
}
},
"proxy": false
}