| { |
| "task_id": "allformat_step010", |
| "task_family": "allformat_nested_steps", |
| "step_count": 10, |
| "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; (6) set font name on formula paragraph 1 word 3 -> Arial; (7) set highlight color on body paragraph 15 word 11 -> green; (8) set table cell background on table 1 row 1 col 3 paragraph 1 word 1 -> FFF2CC; (9) set paragraph alignment on cover paragraph 7 word 1 -> center; (10) set font color on header section 3 default paragraph 1 word 3 -> 008000.", |
| "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; (6) set font name on formula paragraph 1 word 3 -> Arial; (7) set highlight color on body paragraph 15 word 11 -> green; (8) set table cell background on table 1 row 1 col 3 paragraph 1 word 1 -> FFF2CC; (9) set paragraph alignment on cover paragraph 7 word 1 -> center; (10) set font color on header section 3 default paragraph 1 word 3 -> 008000.", |
| "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 |
| }, |
| { |
| "op_id": 6, |
| "action": "set font name", |
| "target_query": { |
| "region": "formula", |
| "paragraph_index": 1, |
| "word_index": 3, |
| "text": "n" |
| }, |
| "expected_changes": { |
| "font_name": "Arial" |
| }, |
| "value": "Arial" |
| }, |
| { |
| "op_id": 7, |
| "action": "set highlight color", |
| "target_query": { |
| "region": "body", |
| "paragraph_index": 15, |
| "word_index": 11, |
| "text": "Operations" |
| }, |
| "expected_changes": { |
| "highlight_color": "green" |
| }, |
| "value": "green" |
| }, |
| { |
| "op_id": 8, |
| "action": "set table cell background", |
| "target_query": { |
| "region": "table", |
| "paragraph_index": 1, |
| "word_index": 1, |
| "text": "C", |
| "table_index": 1, |
| "row_index": 1, |
| "col_index": 3, |
| "cell_paragraph_index": 1 |
| }, |
| "expected_changes": { |
| "cell_background_hex": "FFF2CC" |
| }, |
| "value": "FFF2CC" |
| }, |
| { |
| "op_id": 9, |
| "action": "set paragraph alignment", |
| "target_query": { |
| "region": "cover", |
| "paragraph_index": 7, |
| "word_index": 1, |
| "text": "A" |
| }, |
| "expected_changes": { |
| "alignment": "center" |
| }, |
| "value": "center" |
| }, |
| { |
| "op_id": 10, |
| "action": "set font color", |
| "target_query": { |
| "region": "header", |
| "paragraph_index": 1, |
| "word_index": 3, |
| "text": "of", |
| "section_index": 3, |
| "hf_type": "default" |
| }, |
| "expected_changes": { |
| "font_color_hex": "008000" |
| }, |
| "value": "008000" |
| } |
| ], |
| "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" |
| } |
| } |