File size: 2,981 Bytes
786f70f | 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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | {
"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"
}
} |