File size: 2,567 Bytes
b154930
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
  "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"
}