| { | |
| "task_id": "allformat_step005", | |
| "task_family": "allformat_nested_steps", | |
| "step_count": 5, | |
| "instruction": "Apply the following atomic edits in order: (1) set font color on body paragraph 21 word 22 -> 008000; (2) set font size on cover paragraph 4 word 3 -> 10.0; (3) set bold on table 1 row 3 col 2 paragraph 1 word 1 -> True; (4) set italic on header section 3 default paragraph 1 word 2 -> True; (5) set underline on table-of-contents paragraph 5 word 2 -> True.", | |
| "task_instruction": "Apply the following atomic edits in order: (1) set font color on body paragraph 21 word 22 -> 008000; (2) set font size on cover paragraph 4 word 3 -> 10.0; (3) set bold on table 1 row 3 col 2 paragraph 1 word 1 -> True; (4) set italic on header section 3 default paragraph 1 word 2 -> True; (5) set underline on table-of-contents paragraph 5 word 2 -> True.", | |
| "docx_path": "/export/home/yuyang/code_project/input/all_format.docx", | |
| "initial_json": "/export/home/yuyang/code_project/input/all_format.metadata.json", | |
| "pool_path": "/export/home/yuyang/code_project/tasks/allformat_atomic_pool_100.json", | |
| "atomic_ops": [ | |
| { | |
| "op_id": 1, | |
| "action": "set font color", | |
| "target_query": { | |
| "region": "body", | |
| "paragraph_index": 21, | |
| "word_index": 22, | |
| "text": "intent" | |
| }, | |
| "expected_changes": { | |
| "font_color_hex": "008000" | |
| }, | |
| "value": "008000" | |
| }, | |
| { | |
| "op_id": 2, | |
| "action": "set font size", | |
| "target_query": { | |
| "region": "cover", | |
| "paragraph_index": 4, | |
| "word_index": 3, | |
| "text": "Wu" | |
| }, | |
| "expected_changes": { | |
| "font_size_pt": 10.0 | |
| }, | |
| "value": 10.0 | |
| }, | |
| { | |
| "op_id": 3, | |
| "action": "set bold", | |
| "target_query": { | |
| "region": "table", | |
| "paragraph_index": 1, | |
| "word_index": 1, | |
| "text": "dd", | |
| "table_index": 1, | |
| "row_index": 3, | |
| "col_index": 2, | |
| "cell_paragraph_index": 1 | |
| }, | |
| "expected_changes": { | |
| "bold": true | |
| }, | |
| "value": true | |
| }, | |
| { | |
| "op_id": 4, | |
| "action": "set italic", | |
| "target_query": { | |
| "region": "header", | |
| "paragraph_index": 1, | |
| "word_index": 2, | |
| "text": "report", | |
| "section_index": 3, | |
| "hf_type": "default" | |
| }, | |
| "expected_changes": { | |
| "italic": true | |
| }, | |
| "value": true | |
| }, | |
| { | |
| "op_id": 5, | |
| "action": "set underline", | |
| "target_query": { | |
| "region": "toc", | |
| "paragraph_index": 5, | |
| "word_index": 2, | |
| "text": "6" | |
| }, | |
| "expected_changes": { | |
| "underline": true | |
| }, | |
| "value": true | |
| } | |
| ], | |
| "evaluation": { | |
| "mode": "all_ops_must_pass", | |
| "success_threshold": 1.0 | |
| }, | |
| "target_query": { | |
| "region": "body", | |
| "paragraph_index": 21, | |
| "word_index": 22, | |
| "text": "intent" | |
| }, | |
| "expected_changes": { | |
| "font_color_hex": "008000" | |
| } | |
| } |