Upload task3,json.txt
Browse files- task3,json.txt +83 -0
task3,json.txt
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "f3a91c12-72b4-4f7e-b7d6-9b239ec8e5a1",
|
| 3 |
+
"snapshot": "libreoffice_writer",
|
| 4 |
+
"instruction": "At the very beginning of the document, insert a table with 3 rows and 3 columns.",
|
| 5 |
+
"source": "https://help.libreoffice.org/latest/en-US/text/swriter/guide/table_insert.html",
|
| 6 |
+
"trajectory": "trajectories/libreoffice_writer_table_task/",
|
| 7 |
+
"config": [
|
| 8 |
+
{
|
| 9 |
+
"type": "download",
|
| 10 |
+
"parameters": {
|
| 11 |
+
"files": [
|
| 12 |
+
{
|
| 13 |
+
"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",
|
| 14 |
+
"path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx"
|
| 15 |
+
}
|
| 16 |
+
]
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"type": "open",
|
| 21 |
+
"parameters": {
|
| 22 |
+
"path": "/home/user/Desktop/LibreOffice_Open_Source_Word_Processing.docx"
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"related_apps": ["libreoffice_writer"],
|
| 27 |
+
"evaluator": {
|
| 28 |
+
"postconfig": [
|
| 29 |
+
{
|
| 30 |
+
"type": "activate_window",
|
| 31 |
+
"parameters": {
|
| 32 |
+
"window_name": "LibreOffice_Open_Source_Word_Processing.docx - LibreOffice Writer",
|
| 33 |
+
"strict": true
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "sleep",
|
| 38 |
+
"parameters": {
|
| 39 |
+
"seconds": 0.5
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"type": "execute",
|
| 44 |
+
"parameters": {
|
| 45 |
+
"command": [
|
| 46 |
+
"python",
|
| 47 |
+
"-c",
|
| 48 |
+
"import pyautogui, time; pyautogui.hotkey('ctrl', 's'); time.sleep(0.5)"
|
| 49 |
+
]
|
| 50 |
+
}
|
| 51 |
+
}
|
| 52 |
+
],
|
| 53 |
+
"func": "check_table",
|
| 54 |
+
"result": {
|
| 55 |
+
"type": "python",
|
| 56 |
+
"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')"
|
| 57 |
+
},
|
| 58 |
+
"expected": {
|
| 59 |
+
"type": "rule",
|
| 60 |
+
"rules": {
|
| 61 |
+
"include": ["HAS_3x3_TABLE"],
|
| 62 |
+
"exclude": ["NO_TABLE"]
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
},
|
| 66 |
+
"proxy": false,
|
| 67 |
+
"tag": "document-formatting",
|
| 68 |
+
"model_pass_rate": {
|
| 69 |
+
"claude-4-sonnet-20250514": 0.2
|
| 70 |
+
},
|
| 71 |
+
"annotator_hints": [
|
| 72 |
+
"Step 1: Place the cursor at the very beginning of the document.",
|
| 73 |
+
"Step 2: Go to Insert → Table.",
|
| 74 |
+
"Step 3: Set rows to 3 and columns to 3.",
|
| 75 |
+
"Step 4: Save the file."
|
| 76 |
+
],
|
| 77 |
+
"knowledge_points": [
|
| 78 |
+
"Inserting tables in LibreOffice Writer",
|
| 79 |
+
"Basic document editing",
|
| 80 |
+
"File saving"
|
| 81 |
+
],
|
| 82 |
+
"coverage": "Table insertion in Writer"
|
| 83 |
+
}
|