cua_test / task_defs /task_allformat_step050.json
Ayiirep's picture
Upload task_defs/task_allformat_step050.json with huggingface_hub
a1aefba verified
{
"task_id": "allformat_step050",
"task_family": "allformat_nested_steps",
"step_count": 50,
"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; (11) set font size on table-of-contents paragraph 4 word 5 -> 16.0; (12) set font name on formula paragraph 1 word 9 -> Arial; (13) set underline on body paragraph 15 word 28 -> True; (14) set italic on table 1 row 2 col 4 paragraph 1 word 1 -> True; (15) set bold on cover paragraph 6 word 3 -> True; (16) set highlight color on header section 1 default paragraph 1 word 3 -> green; (17) set font color on table-of-contents paragraph 3 word 4 -> 0000FF; (18) set font size on formula paragraph 1 word 4 -> 10.0; (19) set paragraph alignment on body paragraph 15 word 1 -> center; (20) set table cell background on table 1 row 3 col 1 paragraph 1 word 1 -> FFF2CC; (21) set font name on cover paragraph 3 word 1 -> Times New Roman; (22) set italic on header section 1 default paragraph 1 word 4 -> True; (23) set bold on table-of-contents paragraph 5 word 1 -> True; (24) set underline on formula paragraph 1 word 5 -> True; (25) set highlight color on body paragraph 6 word 28 -> green; (26) set table cell background on table 1 row 3 col 5 paragraph 1 word 1 -> FFF2CC; (27) set paragraph alignment on cover paragraph 4 word 1 -> center; (28) set font color on table-of-contents paragraph 3 word 2 -> 0000FF; (29) set font size on header section 1 default paragraph 1 word 2 -> 10.0; (30) set underline on formula paragraph 1 word 11 -> True; (31) set font name on body paragraph 21 word 10 -> 微软雅黑; (32) set italic on table 1 row 2 col 3 paragraph 1 word 1 -> True; (33) set bold on cover paragraph 6 word 4 -> True; (34) set highlight color on header section 3 default paragraph 1 word 4 -> green; (35) set bold on table-of-contents paragraph 4 word 1 -> True; (36) set paragraph alignment on body paragraph 13 word 1 -> justify; (37) set table cell background on table 1 row 3 col 4 paragraph 1 word 1 -> D9E1F2; (38) set font name on cover paragraph 8 word 1 -> 微软雅黑; (39) set highlight color on table-of-contents paragraph 2 word 1 -> green; (40) set paragraph alignment on header section 3 default paragraph 1 word 1 -> justify; (41) set font color on body paragraph 21 word 31 -> FF0000; (42) set italic on table 1 row 3 col 3 paragraph 1 word 1 -> True; (43) set underline on cover paragraph 7 word 4 -> True; (44) set highlight color on table-of-contents paragraph 3 word 1 -> green; (45) set paragraph alignment on header section 1 default paragraph 1 word 1 -> right; (46) set font size on body paragraph 9 word 44 -> 10.0; (47) set table cell background on table 1 row 1 col 5 paragraph 1 word 1 -> FFF2CC; (48) set font name on cover paragraph 9 word 5 -> Arial; (49) set font color on body paragraph 15 word 16 -> 008000; (50) set italic on cover paragraph 6 word 1 -> 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; (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; (11) set font size on table-of-contents paragraph 4 word 5 -> 16.0; (12) set font name on formula paragraph 1 word 9 -> Arial; (13) set underline on body paragraph 15 word 28 -> True; (14) set italic on table 1 row 2 col 4 paragraph 1 word 1 -> True; (15) set bold on cover paragraph 6 word 3 -> True; (16) set highlight color on header section 1 default paragraph 1 word 3 -> green; (17) set font color on table-of-contents paragraph 3 word 4 -> 0000FF; (18) set font size on formula paragraph 1 word 4 -> 10.0; (19) set paragraph alignment on body paragraph 15 word 1 -> center; (20) set table cell background on table 1 row 3 col 1 paragraph 1 word 1 -> FFF2CC; (21) set font name on cover paragraph 3 word 1 -> Times New Roman; (22) set italic on header section 1 default paragraph 1 word 4 -> True; (23) set bold on table-of-contents paragraph 5 word 1 -> True; (24) set underline on formula paragraph 1 word 5 -> True; (25) set highlight color on body paragraph 6 word 28 -> green; (26) set table cell background on table 1 row 3 col 5 paragraph 1 word 1 -> FFF2CC; (27) set paragraph alignment on cover paragraph 4 word 1 -> center; (28) set font color on table-of-contents paragraph 3 word 2 -> 0000FF; (29) set font size on header section 1 default paragraph 1 word 2 -> 10.0; (30) set underline on formula paragraph 1 word 11 -> True; (31) set font name on body paragraph 21 word 10 -> 微软雅黑; (32) set italic on table 1 row 2 col 3 paragraph 1 word 1 -> True; (33) set bold on cover paragraph 6 word 4 -> True; (34) set highlight color on header section 3 default paragraph 1 word 4 -> green; (35) set bold on table-of-contents paragraph 4 word 1 -> True; (36) set paragraph alignment on body paragraph 13 word 1 -> justify; (37) set table cell background on table 1 row 3 col 4 paragraph 1 word 1 -> D9E1F2; (38) set font name on cover paragraph 8 word 1 -> 微软雅黑; (39) set highlight color on table-of-contents paragraph 2 word 1 -> green; (40) set paragraph alignment on header section 3 default paragraph 1 word 1 -> justify; (41) set font color on body paragraph 21 word 31 -> FF0000; (42) set italic on table 1 row 3 col 3 paragraph 1 word 1 -> True; (43) set underline on cover paragraph 7 word 4 -> True; (44) set highlight color on table-of-contents paragraph 3 word 1 -> green; (45) set paragraph alignment on header section 1 default paragraph 1 word 1 -> right; (46) set font size on body paragraph 9 word 44 -> 10.0; (47) set table cell background on table 1 row 1 col 5 paragraph 1 word 1 -> FFF2CC; (48) set font name on cover paragraph 9 word 5 -> Arial; (49) set font color on body paragraph 15 word 16 -> 008000; (50) set italic on cover paragraph 6 word 1 -> 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
},
{
"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"
},
{
"op_id": 11,
"action": "set font size",
"target_query": {
"region": "toc",
"paragraph_index": 4,
"word_index": 5,
"text": "5"
},
"expected_changes": {
"font_size_pt": 16.0
},
"value": 16.0
},
{
"op_id": 12,
"action": "set font name",
"target_query": {
"region": "formula",
"paragraph_index": 1,
"word_index": 9,
"text": "x"
},
"expected_changes": {
"font_name": "Arial"
},
"value": "Arial"
},
{
"op_id": 13,
"action": "set underline",
"target_query": {
"region": "body",
"paragraph_index": 15,
"word_index": 28,
"text": "the"
},
"expected_changes": {
"underline": true
},
"value": true
},
{
"op_id": 14,
"action": "set italic",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "gg",
"table_index": 1,
"row_index": 2,
"col_index": 4,
"cell_paragraph_index": 1
},
"expected_changes": {
"italic": true
},
"value": true
},
{
"op_id": 15,
"action": "set bold",
"target_query": {
"region": "cover",
"paragraph_index": 6,
"word_index": 3,
"text": "March"
},
"expected_changes": {
"bold": true
},
"value": true
},
{
"op_id": 16,
"action": "set highlight color",
"target_query": {
"region": "header",
"paragraph_index": 1,
"word_index": 3,
"text": "of",
"section_index": 1,
"hf_type": "default"
},
"expected_changes": {
"highlight_color": "green"
},
"value": "green"
},
{
"op_id": 17,
"action": "set font color",
"target_query": {
"region": "toc",
"paragraph_index": 3,
"word_index": 4,
"text": "Collaboration"
},
"expected_changes": {
"font_color_hex": "0000FF"
},
"value": "0000FF"
},
{
"op_id": 18,
"action": "set font size",
"target_query": {
"region": "formula",
"paragraph_index": 1,
"word_index": 4,
"text": "k"
},
"expected_changes": {
"font_size_pt": 10.0
},
"value": 10.0
},
{
"op_id": 19,
"action": "set paragraph alignment",
"target_query": {
"region": "body",
"paragraph_index": 15,
"word_index": 1,
"text": "In"
},
"expected_changes": {
"alignment": "center"
},
"value": "center"
},
{
"op_id": 20,
"action": "set table cell background",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "bb",
"table_index": 1,
"row_index": 3,
"col_index": 1,
"cell_paragraph_index": 1
},
"expected_changes": {
"cell_background_hex": "FFF2CC"
},
"value": "FFF2CC"
},
{
"op_id": 21,
"action": "set font name",
"target_query": {
"region": "cover",
"paragraph_index": 3,
"word_index": 1,
"text": "Major"
},
"expected_changes": {
"font_name": "Times New Roman"
},
"value": "Times New Roman"
},
{
"op_id": 22,
"action": "set italic",
"target_query": {
"region": "header",
"paragraph_index": 1,
"word_index": 4,
"text": "AI",
"section_index": 1,
"hf_type": "default"
},
"expected_changes": {
"italic": true
},
"value": true
},
{
"op_id": 23,
"action": "set bold",
"target_query": {
"region": "toc",
"paragraph_index": 5,
"word_index": 1,
"text": "Conclusion"
},
"expected_changes": {
"bold": true
},
"value": true
},
{
"op_id": 24,
"action": "set underline",
"target_query": {
"region": "formula",
"paragraph_index": 1,
"word_index": 5,
"text": "0"
},
"expected_changes": {
"underline": true
},
"value": true
},
{
"op_id": 25,
"action": "set highlight color",
"target_query": {
"region": "body",
"paragraph_index": 6,
"word_index": 28,
"text": "existing"
},
"expected_changes": {
"highlight_color": "green"
},
"value": "green"
},
{
"op_id": 26,
"action": "set table cell background",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "jj",
"table_index": 1,
"row_index": 3,
"col_index": 5,
"cell_paragraph_index": 1
},
"expected_changes": {
"cell_background_hex": "FFF2CC"
},
"value": "FFF2CC"
},
{
"op_id": 27,
"action": "set paragraph alignment",
"target_query": {
"region": "cover",
"paragraph_index": 4,
"word_index": 1,
"text": "Student"
},
"expected_changes": {
"alignment": "center"
},
"value": "center"
},
{
"op_id": 28,
"action": "set font color",
"target_query": {
"region": "toc",
"paragraph_index": 3,
"word_index": 2,
"text": "Architecture"
},
"expected_changes": {
"font_color_hex": "0000FF"
},
"value": "0000FF"
},
{
"op_id": 29,
"action": "set font size",
"target_query": {
"region": "header",
"paragraph_index": 1,
"word_index": 2,
"text": "report",
"section_index": 1,
"hf_type": "default"
},
"expected_changes": {
"font_size_pt": 10.0
},
"value": 10.0
},
{
"op_id": 30,
"action": "set underline",
"target_query": {
"region": "formula",
"paragraph_index": 1,
"word_index": 11,
"text": "a"
},
"expected_changes": {
"underline": true
},
"value": true
},
{
"op_id": 31,
"action": "set font name",
"target_query": {
"region": "body",
"paragraph_index": 21,
"word_index": 10,
"text": "interpret"
},
"expected_changes": {
"font_name": "微软雅黑"
},
"value": "微软雅黑"
},
{
"op_id": 32,
"action": "set italic",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "ee",
"table_index": 1,
"row_index": 2,
"col_index": 3,
"cell_paragraph_index": 1
},
"expected_changes": {
"italic": true
},
"value": true
},
{
"op_id": 33,
"action": "set bold",
"target_query": {
"region": "cover",
"paragraph_index": 6,
"word_index": 4,
"text": "11"
},
"expected_changes": {
"bold": true
},
"value": true
},
{
"op_id": 34,
"action": "set highlight color",
"target_query": {
"region": "header",
"paragraph_index": 1,
"word_index": 4,
"text": "AI",
"section_index": 3,
"hf_type": "default"
},
"expected_changes": {
"highlight_color": "green"
},
"value": "green"
},
{
"op_id": 35,
"action": "set bold",
"target_query": {
"region": "toc",
"paragraph_index": 4,
"word_index": 1,
"text": "Methodology"
},
"expected_changes": {
"bold": true
},
"value": true
},
{
"op_id": 36,
"action": "set paragraph alignment",
"target_query": {
"region": "body",
"paragraph_index": 13,
"word_index": 1,
"text": "Methodology"
},
"expected_changes": {
"alignment": "justify"
},
"value": "justify"
},
{
"op_id": 37,
"action": "set table cell background",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "hh",
"table_index": 1,
"row_index": 3,
"col_index": 4,
"cell_paragraph_index": 1
},
"expected_changes": {
"cell_background_hex": "D9E1F2"
},
"value": "D9E1F2"
},
{
"op_id": 38,
"action": "set font name",
"target_query": {
"region": "cover",
"paragraph_index": 8,
"word_index": 1,
"text": "A"
},
"expected_changes": {
"font_name": "微软雅黑"
},
"value": "微软雅黑"
},
{
"op_id": 39,
"action": "set highlight color",
"target_query": {
"region": "toc",
"paragraph_index": 2,
"word_index": 1,
"text": "Introduction"
},
"expected_changes": {
"highlight_color": "green"
},
"value": "green"
},
{
"op_id": 40,
"action": "set paragraph alignment",
"target_query": {
"region": "header",
"paragraph_index": 1,
"word_index": 1,
"text": "The",
"section_index": 3,
"hf_type": "default"
},
"expected_changes": {
"alignment": "justify"
},
"value": "justify"
},
{
"op_id": 41,
"action": "set font color",
"target_query": {
"region": "body",
"paragraph_index": 21,
"word_index": 31,
"text": "challenging"
},
"expected_changes": {
"font_color_hex": "FF0000"
},
"value": "FF0000"
},
{
"op_id": 42,
"action": "set italic",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "ff",
"table_index": 1,
"row_index": 3,
"col_index": 3,
"cell_paragraph_index": 1
},
"expected_changes": {
"italic": true
},
"value": true
},
{
"op_id": 43,
"action": "set underline",
"target_query": {
"region": "cover",
"paragraph_index": 7,
"word_index": 4,
"text": "for"
},
"expected_changes": {
"underline": true
},
"value": true
},
{
"op_id": 44,
"action": "set highlight color",
"target_query": {
"region": "toc",
"paragraph_index": 3,
"word_index": 1,
"text": "The"
},
"expected_changes": {
"highlight_color": "green"
},
"value": "green"
},
{
"op_id": 45,
"action": "set paragraph alignment",
"target_query": {
"region": "header",
"paragraph_index": 1,
"word_index": 1,
"text": "The",
"section_index": 1,
"hf_type": "default"
},
"expected_changes": {
"alignment": "right"
},
"value": "right"
},
{
"op_id": 46,
"action": "set font size",
"target_query": {
"region": "body",
"paragraph_index": 9,
"word_index": 44,
"text": "integrity"
},
"expected_changes": {
"font_size_pt": 10.0
},
"value": 10.0
},
{
"op_id": 47,
"action": "set table cell background",
"target_query": {
"region": "table",
"paragraph_index": 1,
"word_index": 1,
"text": "E",
"table_index": 1,
"row_index": 1,
"col_index": 5,
"cell_paragraph_index": 1
},
"expected_changes": {
"cell_background_hex": "FFF2CC"
},
"value": "FFF2CC"
},
{
"op_id": 48,
"action": "set font name",
"target_query": {
"region": "cover",
"paragraph_index": 9,
"word_index": 5,
"text": "Intuition"
},
"expected_changes": {
"font_name": "Arial"
},
"value": "Arial"
},
{
"op_id": 49,
"action": "set font color",
"target_query": {
"region": "body",
"paragraph_index": 15,
"word_index": 16,
"text": "mechanism"
},
"expected_changes": {
"font_color_hex": "008000"
},
"value": "008000"
},
{
"op_id": 50,
"action": "set italic",
"target_query": {
"region": "cover",
"paragraph_index": 6,
"word_index": 1,
"text": "Finished"
},
"expected_changes": {
"italic": 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"
}
}