| { | |
| "id": "f3a91c12-72b4-4f7e-b7d6-9b239ec8e5a1", | |
| "snapshot": "libreoffice_writer", | |
| "instruction": "At the very beginning of the document, insert a table with 3 rows and 3 columns.", | |
| "source": "https://help.libreoffice.org/latest/en-US/text/swriter/guide/table_insert.html", | |
| "trajectory": "trajectories/libreoffice_writer_table_task/", | |
| "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" | |
| } | |
| } | |
| ], | |
| "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, time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5)" | |
| ] | |
| } | |
| } | |
| ], | |
| "func": "check_table", | |
| "result": { | |
| "type": "python", | |
| "command": "from docx import Document; doc = Document('/home/user/Desktop/sample_doc.docx'); tables = doc.tables; print('HAS_3x3_TABLE' if any(len(t.rows)==3 and len(t.columns)==3 for t in tables) else 'NO_TABLE')" | |
| }, | |
| "expected": { | |
| "type": "rule", | |
| "rules": { | |
| "include": ["HAS_3x3_TABLE"], | |
| "exclude": ["NO_TABLE"] | |
| } | |
| } | |
| }, | |
| "proxy": false, | |
| "tag": "document-formatting", | |
| "model_pass_rate": { | |
| "claude-4-sonnet-20250514": 0.2 | |
| }, | |
| "annotator_hints": [ | |
| "Step 1: Place the cursor at the very beginning of the document.", | |
| "Step 2: Go to Insert → Table.", | |
| "Step 3: Set rows to 3 and columns to 3.", | |
| "Step 4: Save the file." | |
| ], | |
| "knowledge_points": [ | |
| "Inserting tables in LibreOffice Writer", | |
| "Basic document editing", | |
| "File saving" | |
| ], | |
| "coverage": "Table insertion in Writer" | |
| } | |