diff --git "a/task/editing/bug_fixion/easy_svg_errors_dataset.json" "b/task/editing/bug_fixion/easy_svg_errors_dataset.json" new file mode 100644--- /dev/null +++ "b/task/editing/bug_fixion/easy_svg_errors_dataset.json" @@ -0,0 +1,7260 @@ +[ + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_212_线性图标2_31518_icon_12.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_212_线性图标2_31518_icon_12.png", + "bug_svg": "svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\" width=\"200\" height=200\">path d=\"M926.2 258.1l0.2-0.2-162-190.3H170.7c-41.1 0-74.6 33.5-74.6 74.6v744.3c0 41.1 33.5 74.6 74.6 74.6H852c41.1 0 74.6-33.5 74.6-74.6V258.1h-0.4z m-83.7 0h-66.1c-5.8 0-10.5-4.7-10.6-10.5l-0.6-80.4 77.3 90.9z m20.1 628.4c0 5.8-4.7 10.6-10.6 10.6H170.7c-5.8 0-10.6-4.7-10.6-10.6V142.2c0-5.8 4.7-10.6 10.6-10.6h530.1l0.9 116.5c0.3 40.8 33.8 74 74.6 74h86.2v564.4z\" fill=#9F9F9F\" />path d=M289.1 319.1h126.5c17.7 0 32-14.3 32-32s-14.3-32-32-32H289.1c-17.7 0-32 14.3-32 32s14.3 32 32 32zM736.8 448.6H289.1c-17.7 0-32 14.3-32 32s14.3 32 32 32h447.7c17.7 0 32-14.3 32-32s-14.3-32-32-32zM736.8 640.6H289.1c-17.7 0-32 14.3-32 32s14.3 32 32 32h447.7c17.7 0 32-14.3 32-32s-14.3-32-32-32z\" fill=#9F9F9F\" /", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 480, + "context": "\"#9F9F9F\" />", + "error_instance": 3, + "attribute": "fill", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了fill属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 787, + "context": "32z\" fill=#9F9F9F\" />", + "error_instance": 4, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 0, + "context": "path d=\"M926.2", + "error_instance": 6, + "attribute": "height", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了height属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 790, + "context": "fill=#9F9F9F\" /", + "error_instance": 7, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 469, + "context": "z\" fill=\"#9F9F9F\" />path d=M", + "error_instance": 9, + "attribute": "fill", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了fill属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_27_033-线面常用_47315_icon_7.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_27_033-线面常用_47315_icon_7.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_76_双色线性图标_38808_icon_10.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_76_双色线性图标_38808_icon_10.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 509, + "context": "22-32.170667-90.112z\" fill=\"#000000\" /><", + "error_instance": 1, + "attribute": "d", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 769, + "context": "9z\" fill=\"#FF7000\" />", + "error_instance": 2, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 38, + "context": "/www.w3.org/2000/svg\" viewBox=\"0 0 1038 ", + "error_instance": 3, + "attribute": "xmlns", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了xmlns属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 750, + "context": "81.582222h82.488889z\" fill=\"#FF7000\" /", + "error_instance": 7, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了开始标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 754, + "context": "222h82.488889z fill=\"#FF7000\" //svg>", + "error_instance": 8, + "attribute": "fill", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了fill属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_42_练习_44440_icon_2.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_42_练习_44440_icon_2.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 88, + "context": "h=\"200\" height=\"200\">", + "error_instance": 6, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了开始标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 81, + "context": "\" width=\"200 height=\"200\"path d=\"M913.6 ", + "error_instance": 7, + "attribute": "width", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了width属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 92, + "context": "0 height=200\"path d=\"M913.6 272.58l-0.36", + "error_instance": 8, + "attribute": "d", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 404, + "context": ".2z\" fill=#4F95FC\" />", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 767, + "context": "3z\" fill=\"#474747\" />/svg>", + "error_instance": 10, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_8_NutUI-icon_50281_icon_42.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_8_NutUI-icon_50281_icon_42.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#000000", + "error_value": "0x000000", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第1个path元素的fill属性值从'#000000'修改为'0x000000'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_264_基础图标_26666_icon_139.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_264_基础图标_26666_icon_139.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M623.5 256.878c104.106 0 188.5 84.394 188.5 188.5 ...", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 899, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 899 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M623.5 256.878c104.106 0 188.5 84.394 188.5 188.5 ...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 876, + "original_value": "93.261", + "modified_value": "9.33e+01", + "modification_details": "将位置 876 的数字 '93.261' 改为科学计数法 '9.33e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M623.5 256.878c104.106 0 188.5 84.394 188.5 188.5 ...", + "error_type": "scientific_notation", + "error_instance": 3, + "modification": "数字格式修改为科学计数法", + "position": 844, + "original_value": "272.864", + "modified_value": "2.73e+02", + "modification_details": "将位置 844 的数字 '272.864' 改为科学计数法 '2.73e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M623.5 256.878c104.106 0 188.5 84.394 188.5 188.5 ...", + "error_type": "extra_comma", + "error_instance": 4, + "modification": "添加多余逗号", + "position": 821, + "command_context": "原始: 'c0-129.408 86.26-238' -> 修改后: 'c0-129.408, 86.26-238'", + "modification_details": "在位置 821 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M623.5 256.878c104.106 0 188.5 84.394 188.5 188.5 ...", + "error_type": "extra_comma", + "error_instance": 5, + "modification": "添加多余逗号", + "position": 791, + "command_context": "原始: '.222 34-34 34s-34-15' -> 修改后: '.222 34-34, 34s-34-15'", + "modification_details": "在位置 791 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M623.5 256.878c104.106 0 188.5 84.394 188.5 188.5 ...", + "error_type": "extra_comma", + "error_instance": 6, + "modification": "添加多余逗号", + "position": 351, + "command_context": "原始: '26-248.271 213.121-2' -> 修改后: '26-248.271, 213.121-2'", + "modification_details": "在位置 351 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_301_创意简洁图标_12866_icon_17.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_301_创意简洁图标_12866_icon_17.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 2, + "attribute": "fill", + "original_value": "#2A2A2A", + "error_value": "2A2A2A", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第3个path元素的fill属性值从'#2A2A2A'修改为'2A2A2A'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#A5E8D0", + "error_value": "A5E8D0", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第1个path元素的fill属性值从'#A5E8D0'修改为'A5E8D0'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#2A2A2A", + "error_value": "2A2A2A", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第2个path元素的fill属性值从'#2A2A2A'修改为'2A2A2A'", + "severity": "medium", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_397_多色施工类icon_6158_icon_21.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_397_多色施工类icon_6158_icon_21.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 8, + "total_paths": 11, + "original_path_data": "M447 636.8c7.7 0 14-6.2 14-13.9v-59l25.5 21.4c5.2 ...", + "error_type": "extra_comma", + "error_instance": 1, + "modification": "添加多余逗号", + "position": 112, + "command_context": "原始: '3.9s14-6.2 14-13.9v-' -> 修改后: '3.9s14-6.2, 14-13.9v-'", + "modification_details": "在位置 112 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 4, + "total_paths": 11, + "original_path_data": "M339.7 91.4h-95.2v39h30.8c7.7 0 14 6.2 14 13.9s-6....", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 94, + "original_value": "14", + "modified_value": "1.40e+01", + "modification_details": "将位置 94 的数字 '14' 改为科学计数法 '1.40e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 11, + "original_path_data": "M511.5 375.2H367.7V91.4h49.5c7.7 0 14-6.2 14-13.9s...", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 90, + "command_context": "原始: '-14 6.2-14 13.9v378.' -> 修改后: '-14 6.2-14, 13.9v378.'", + "modification_details": "在位置 90 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 6, + "total_paths": 11, + "original_path_data": "M676.3 875.3c-47.2 36.4-105.8 56.4-164.9 56.4h-28....", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 40, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 40 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 7, + "total_paths": 11, + "original_path_data": "M503 481c98.7 0 179.8 76.2 187 172.5H316c7.1-96.3 ...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 30, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 30 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/服务logo_46449_icon_16.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/服务logo_46449_icon_16.png", + "bug_svg": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 74, + "context": "024 1024\" width=\"200\" height=\"200\">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 762, + "context": "ll=\"#AE1822\" />", + "error_instance": 3, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 87, + "context": "th=\"200 height=\"200\">path d=\"M759.296 15", + "error_instance": 4, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 94, + "context": " height=\"200\"path d=\"M759.296 153.9072c9", + "error_instance": 5, + "attribute": "d", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_152_ic_常用_基础._014_37530_icon_88.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_152_ic_常用_基础._014_37530_icon_88.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 1, + "original_command": "v", + "invalid_command": "w", + "command_position": 118, + "command_context": "27.56v218.3", + "severity": "high", + "total_paths": 2, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "M", + "invalid_command": "D", + "command_position": 0, + "command_context": "M509.8", + "severity": "critical", + "total_paths": 2, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "L", + "invalid_command": "E", + "command_position": 248, + "command_context": "465.9L510.9", + "severity": "high", + "total_paths": 2, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "H", + "invalid_command": "k", + "command_position": 235, + "command_context": "55.13H846.3", + "severity": "high", + "total_paths": 2, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "d", + "command_position": 219, + "command_context": "46.73z m-67", + "severity": "high", + "total_paths": 2, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "x", + "command_position": 150, + "command_context": "13.26a46.85", + "severity": "high", + "total_paths": 2, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "L", + "invalid_command": "f", + "command_position": 89, + "command_context": "34.52L479.3", + "severity": "high", + "total_paths": 2, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "v", + "invalid_command": "X", + "command_position": 54, + "command_context": "46.74v-478c", + "severity": "high", + "total_paths": 2, + "error_instance": 8, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_7_bold icon_50342_icon_574.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_7_bold icon_50342_icon_574.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "$", + "insertion_position": "标签名称后", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "$", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_328_饰品icon_10850_icon_14.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_328_饰品icon_10850_icon_14.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 2, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 2, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 1, + "has_closing_tag": false, + "error_instance": 3, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_124_rcd_40692_icon_74.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_124_rcd_40692_icon_74.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "l", + "invalid_command": "Y", + "command_position": 700, + "command_context": "92571l6.144", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "p", + "command_position": 608, + "command_context": "2857zM384 3", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "r", + "command_position": 607, + "command_context": "02857zM384 ", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "j", + "command_position": 402, + "command_context": "95428a38.61", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "s", + "invalid_command": "B", + "command_position": 358, + "command_context": "81714s-174.", + "severity": "high", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "B", + "command_position": 97, + "command_context": "17714z m0 1", + "severity": "high", + "total_paths": 1, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_118_千络文旅小程序_41954_icon_68.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_118_千络文旅小程序_41954_icon_68.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#222222", + "error_value": "0x222222", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第2个path元素的fill属性值从'#222222'修改为'0x222222'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#222222", + "error_value": "222222", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第1个path元素的fill属性值从'#222222'修改为'222222'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_93_基础线性萌萌图标--第三弹_44100_icon_2.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_93_基础线性萌萌图标--第三弹_44100_icon_2.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 367, + "original_value": "81.92", + "modified_value": "8.19e+01", + "modification_details": "将位置 367 的数字 '81.92' 改为科学计数法 '8.19e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "extra_comma", + "error_instance": 2, + "modification": "添加多余逗号", + "position": 332, + "command_context": "原始: '92.8c78.08 0 142.08-' -> 修改后: '92.8c78.08, 0 142.08-'", + "modification_details": "在位置 332 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "scientific_notation", + "error_instance": 3, + "modification": "数字格式修改为科学计数法", + "position": 268, + "original_value": "78.08", + "modified_value": "7.81e+01", + "modification_details": "将位置 268 的数字 '78.08' 改为科学计数法 '7.81e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 234, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 234 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "extra_comma", + "error_instance": 5, + "modification": "添加多余逗号", + "position": 193, + "command_context": "原始: '1.2-206.08 211.2H252' -> 修改后: '1.2-206.08, 211.2H252'", + "modification_details": "在位置 193 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "wrong_separator", + "error_instance": 6, + "modification": "分隔符错误", + "position": 152, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 152 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "scientific_notation", + "error_instance": 7, + "modification": "数字格式修改为科学计数法", + "position": 146, + "original_value": "206.08", + "modified_value": "2.06e+02", + "modification_details": "将位置 146 的数字 '206.08' 改为科学计数法 '2.06e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "wrong_separator", + "error_instance": 8, + "modification": "分隔符错误", + "position": 145, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 145 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "scientific_notation", + "error_instance": 9, + "modification": "数字格式修改为科学计数法", + "position": 85, + "original_value": "116.48", + "modified_value": "1.16e+02", + "modification_details": "将位置 85 的数字 '116.48' 改为科学计数法 '1.16e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M135.68 916.48c-5.12 0-11.52-1.28-16.64-3.84-14.08...", + "error_type": "scientific_notation", + "error_instance": 10, + "modification": "数字格式修改为科学计数法", + "position": 73, + "original_value": "35.84", + "modified_value": "3.58e+01", + "modification_details": "将位置 73 的数字 '35.84' 改为科学计数法 '3.58e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_48_程序场景图标_43353_icon_68.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_48_程序场景图标_43353_icon_68.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "path", + "element_index": 2, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#D0E2FA", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hieght", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hieght", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M892.43 660.85c-5.74 0-11.53-1.79-16.48-5.5l-130.3...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 3, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#3376E5", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#3376E5", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 3, + "original_attribute": "d", + "wrong_attribute": "t", + "attribute_value": "M686.37 759.39c-6.33 0-12.7-2.18-17.88-6.62L419.12...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为t", + "error_instance": 6, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmnls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmnls", + "error_instance": 7, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 2, + "original_attribute": "d", + "wrong_attribute": "t", + "attribute_value": "M892.43 660.85c-5.74 0-11.53-1.79-16.48-5.5l-130.3...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为t", + "error_instance": 8, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_685_闲鱼拍卖图标库_1434_icon_7.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_685_闲鱼拍卖图标库_1434_icon_7.png", + "bug_svg": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 1332, + "context": "ll=\"#000000\" />", + "error_instance": 1, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 11, + "context": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "#", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "!", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "!", + "insertion_position": "标签结束前", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 2, + "added_chars": "@", + "insertion_position": "标签结束前", + "error_instance": 4, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_246_System Icon_27849_icon_445.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_246_System Icon_27849_icon_445.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#F8F8FF", + "error_value": "0xF8F8FF", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第1个path元素的fill属性值从'#F8F8FF'修改为'0xF8F8FF'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 2, + "attribute": "fill", + "original_value": "#F8F8FF", + "error_value": "color:F8F8FF", + "error_type": "color", + "error_detail": "使用了CSS颜色语法", + "modification_description": "将第3个path元素的fill属性值从'#F8F8FF'修改为'color:F8F8FF'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#F8F8FF", + "error_value": "F8F8FF", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第2个path元素的fill属性值从'#F8F8FF'修改为'F8F8FF'", + "severity": "medium", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_67_交通工具_40671_icon_19.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_67_交通工具_40671_icon_19.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_36_008-美食_45398_icon_18.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_36_008-美食_45398_icon_18.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 3, + "added_chars": "@", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "$", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "^", + "insertion_position": "标签结束前", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "~", + "insertion_position": "标签名称后", + "error_instance": 4, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 4, + "added_chars": "^", + "insertion_position": "标签名称后", + "error_instance": 5, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 2, + "added_chars": "!", + "insertion_position": "标签名称后", + "error_instance": 6, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_247_阿里云UI图标库 Supplemental Icons_27723_icon_199.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_247_阿里云UI图标库 Supplemental Icons_27723_icon_199.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 1, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 2, + "has_closing_tag": false, + "error_instance": 2, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 4, + "has_closing_tag": false, + "error_instance": 3, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 3, + "has_closing_tag": false, + "error_instance": 4, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_393_core design_19608_icon_204.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_393_core design_19608_icon_204.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "~", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "!", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_405_hairpiece模板_18871_icon_18.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_405_hairpiece模板_18871_icon_18.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "c", + "invalid_command": "i", + "command_position": 822, + "command_context": "41.73c12.83", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "l", + "invalid_command": "G", + "command_position": 808, + "command_context": " 0.75l184.0", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "h", + "invalid_command": "b", + "command_position": 539, + "command_context": "-0.87h0.04c", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "G", + "command_position": 270, + "command_context": "41.73c0.22-", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "l", + "invalid_command": "w", + "command_position": 256, + "command_context": "53.75l184.0", + "severity": "high", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_315_workUI_23422_icon_55.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_315_workUI_23422_icon_55.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M761.6 105.6H28.8v156.8c0 38.4 16 73.6 41.6 96v560...", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 757, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 757 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M761.6 105.6H28.8v156.8c0 38.4 16 73.6 41.6 96v560...", + "error_type": "wrong_separator", + "error_instance": 2, + "modification": "分隔符错误", + "position": 669, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 669 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M761.6 105.6H28.8v156.8c0 38.4 16 73.6 41.6 96v560...", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 598, + "command_context": "原始: ' 67.2 70.4 115.2 70.' -> 修改后: ' 67.2 70.4, 115.2 70.'", + "modification_details": "在位置 598 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M761.6 105.6H28.8v156.8c0 38.4 16 73.6 41.6 96v560...", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 524, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 524 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M761.6 105.6H28.8v156.8c0 38.4 16 73.6 41.6 96v560...", + "error_type": "extra_comma", + "error_instance": 5, + "modification": "添加多余逗号", + "position": 425, + "command_context": "原始: '384c16 6.4 32 9.6 48' -> 修改后: '384c16 6.4, 32 9.6 48'", + "modification_details": "在位置 425 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M761.6 105.6H28.8v156.8c0 38.4 16 73.6 41.6 96v560...", + "error_type": "scientific_notation", + "error_instance": 6, + "modification": "数字格式修改为科学计数法", + "position": 291, + "original_value": "89.6", + "modified_value": "8.96e+01", + "modification_details": "将位置 291 的数字 '89.6' 改为科学计数法 '8.96e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_304_闪电在线_12527_icon_10.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_304_闪电在线_12527_icon_10.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hight", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hight", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#FFFFFF", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmls", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "wi", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为wi", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 2, + "original_attribute": "d", + "wrong_attribute": "id", + "attribute_value": "M0 0h1024v1024H0z", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为id", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 2, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#01987D", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 6, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M477.867 836.269V614.4H187.734V187.737H563.2V409.6...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 7, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_303_用户_23993_icon_83.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_303_用户_23993_icon_83.png", + "bug_svg": "/svg>", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 48, + "context": "g/2000/svg\" viewBox=\"0 0 1024 1024\" widt", + "error_instance": 1, + "attribute": "viewBox", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 86, + "context": "th=\"200\" height=\"200\">", + "error_instance": 3, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了开始标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 82, + "context": " width=\"200\" height=\"200>", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 84, + "context": "idth=200\" height=200>", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_381_交通线图标_20160_icon_82.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_381_交通线图标_20160_icon_82.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_227_BI-OS 图表类型_18309_icon_40.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_227_BI-OS 图表类型_18309_icon_40.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 1, + "original_command": "z", + "invalid_command": "N", + "command_position": 250, + "command_context": "4 224z", + "severity": "high", + "total_paths": 2, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "M", + "invalid_command": "b", + "command_position": 177, + "command_context": "2 32zM160 8", + "severity": "high", + "total_paths": 2, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "R", + "command_position": 158, + "command_context": "6v640a32 32", + "severity": "high", + "total_paths": 2, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "A", + "invalid_command": "y", + "command_position": 134, + "command_context": "-6.72A32 32", + "severity": "high", + "total_paths": 2, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "x", + "command_position": 111, + "command_context": "233.6a32 32", + "severity": "high", + "total_paths": 2, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "l", + "invalid_command": "j", + "command_position": 85, + "command_context": ".44 0l233.2", + "severity": "high", + "total_paths": 2, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "l", + "invalid_command": "f", + "command_position": 57, + "command_context": "22.72l256-2", + "severity": "high", + "total_paths": 2, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "f", + "command_position": 34, + "command_context": "2V512a32 32", + "severity": "high", + "total_paths": 2, + "error_instance": 8, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "Y", + "command_position": 12, + "command_context": "8H128a32 32", + "severity": "high", + "total_paths": 2, + "error_instance": 9, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "M", + "invalid_command": "G", + "command_position": 0, + "command_context": "M896 9", + "severity": "critical", + "total_paths": 2, + "error_instance": 10, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_63_多色面性图标_41900_icon_4.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_63_多色面性图标_41900_icon_4.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#F95A42", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmnls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmnls", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "p", + "attribute_value": "M842.752 148.616533c37.205333 0 67.345067 30.17386...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为p", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "wi", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为wi", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 2, + "original_attribute": "d", + "wrong_attribute": "id", + "attribute_value": "M0 0h1024v1024H0z", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为id", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 2, + "original_attribute": "fill", + "wrong_attribute": "fll", + "attribute_value": "#FFFFFF", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fll", + "error_instance": 6, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_120_明德-免疫线图标库_41623_icon_43.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_120_明德-免疫线图标库_41623_icon_43.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "v", + "invalid_command": "e", + "command_position": 656, + "command_context": "33333v-85.3", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "h", + "invalid_command": "I", + "command_position": 295, + "command_context": "33333h85.33", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "E", + "command_position": 249, + "command_context": "0 256a21.33", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "h", + "invalid_command": "O", + "command_position": 173, + "command_context": "33333h-85.3", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "F", + "command_position": 0, + "command_context": "M448 2", + "severity": "critical", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_721_rexhangIconfont_328_icon_578.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_721_rexhangIconfont_328_icon_578.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "~", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "$", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_92_infiray_35332_icon_1.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_92_infiray_35332_icon_1.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "^", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "*", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 2, + "added_chars": "$", + "insertion_position": "标签名称后", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "~", + "insertion_position": "标签结束前", + "error_instance": 4, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_285_REMIX ICON V2.5(最新版)_25353_icon_2020.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_285_REMIX ICON V2.5(最新版)_25353_icon_2020.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_698_ico_998_icon_7.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_698_ico_998_icon_7.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_61_小假哥_医疗_icon015_42142_icon_28.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_61_小假哥_医疗_icon015_42142_icon_28.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 448, + "original_value": "32.20992", + "modified_value": "3.22e+01", + "modification_details": "将位置 448 的数字 '32.20992' 改为科学计数法 '3.22e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "wrong_separator", + "error_instance": 2, + "modification": "分隔符错误", + "position": 384, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 384 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "wrong_separator", + "error_instance": 3, + "modification": "分隔符错误", + "position": 382, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 382 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 270, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 270 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "scientific_notation", + "error_instance": 5, + "modification": "数字格式修改为科学计数法", + "position": 243, + "original_value": "177.8688", + "modified_value": "1.78e+02", + "modification_details": "将位置 243 的数字 '177.8688' 改为科学计数法 '1.78e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "wrong_separator", + "error_instance": 6, + "modification": "分隔符错误", + "position": 173, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 173 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "extra_comma", + "error_instance": 7, + "modification": "添加多余逗号", + "position": 107, + "command_context": "原始: '1 177.8688 143.36H42' -> 修改后: '1 177.8688, 143.36H42'", + "modification_details": "在位置 107 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "scientific_notation", + "error_instance": 8, + "modification": "数字格式修改为科学计数法", + "position": 57, + "original_value": "779.9808", + "modified_value": "7.80e+02", + "modification_details": "将位置 57 的数字 '779.9808' 改为科学计数法 '7.80e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M846.12608 875.52H177.8688A95.85152 95.85152 0 0 1...", + "error_type": "wrong_separator", + "error_instance": 9, + "modification": "分隔符错误", + "position": 35, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 35 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_172_card for keylol - forum_22692_icon_15.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_172_card for keylol - forum_22692_icon_15.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "%", + "insertion_position": "标签名称后", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "*", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "*", + "insertion_position": "标签名称后", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 3, + "added_chars": "!", + "insertion_position": "标签结束前", + "error_instance": 4, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 2, + "added_chars": "$", + "insertion_position": "标签名称后", + "error_instance": 5, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_68_旅行商务_40550_icon_39.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_68_旅行商务_40550_icon_39.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M512 192a128 128 0 1 1-128 128 128 128 0 0 1 128-1...", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 38, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 38 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 3, + "original_path_data": "M768 844.586667a23.786667 23.786667 0 0 1-5.973333...", + "error_type": "wrong_separator", + "error_instance": 2, + "modification": "分隔符错误", + "position": 294, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 294 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 3, + "original_path_data": "M768 844.586667a23.786667 23.786667 0 0 1-5.973333...", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 179, + "command_context": "原始: '8.426667 0 0 0 9.6 6' -> 修改后: '8.426667 0, 0 0 9.6 6'", + "modification_details": "在位置 179 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 3, + "original_path_data": "M768 844.586667a23.786667 23.786667 0 0 1-5.973333...", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 116, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 116 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M512 810.666667a21.333333 21.333333 0 0 1-21.33333...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 89, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 89 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_42_面性双色图标_44434_icon_14.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_42_面性双色图标_44434_icon_14.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#F3E4DB", + "error_value": "F3E4DB", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第1个path元素的fill属性值从'#F3E4DB'修改为'F3E4DB'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 2, + "attribute": "fill", + "original_value": "#EBCB4B", + "error_value": "color:EBCB4B", + "error_type": "color", + "error_detail": "使用了CSS颜色语法", + "modification_description": "将第3个path元素的fill属性值从'#EBCB4B'修改为'color:EBCB4B'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#EB883A", + "error_value": "0xEB883A", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第2个path元素的fill属性值从'#EB883A'修改为'0xEB883A'", + "severity": "medium", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_692_渣渣_1147_icon_27.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_692_渣渣_1147_icon_27.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M472.064 751.552 72.832 352.32c-22.08-22.08-22.08-...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "heigth", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为heigth", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "wdith", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为wdith", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmls", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#272636", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_133_常用基础icon图标_39748_icon_104.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_133_常用基础icon图标_39748_icon_104.png", + "bug_svg": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 11, + "context": "path ", + "error_instance": 3, + "attribute": "width", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了width属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 86, + "context": "th=\"200 height=\"200\">path d=\"M506.06 485", + "error_instance": 4, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 61, + "context": "ewBox=\"0 0 1024 1024\" width=\"200 height=", + "error_instance": 5, + "attribute": "viewBox", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 92, + "context": " height=\"200\"path d=\"M506.06 485.16c-30.", + "error_instance": 6, + "attribute": "d", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 84, + "context": "dth=\"200 height=\"200\"path d=M506.06 485.", + "error_instance": 7, + "attribute": "height", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了height属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 716, + "context": "1z\" fill=\"#000000\" />", + "error_instance": 8, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 721, + "context": "ill=\"#000000\" /", + "error_instance": 9, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_332_Framework7_22653_icon_640.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_332_Framework7_22653_icon_640.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_132_商务 符号 标签_39829_icon_40.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_132_商务 符号 标签_39829_icon_40.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "%", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "#", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "^", + "insertion_position": "标签结束前", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_679_一组常见线性ICON_1599_icon_78.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_679_一组常见线性ICON_1599_icon_78.png", + "bug_svg": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 87, + "context": "th=\"200\" height=\"200\">", + "error_instance": 3, + "attribute": "fill", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了fill属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 62, + "context": "ewBox=\"0 0 1026 1024\" width=\"200\" height", + "error_instance": 4, + "attribute": "viewBox", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 1432, + "context": "ill=\"#000000 />", + "error_instance": 5, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 1409, + "context": "27.68 970.24 378.88z\" fill=\"#000000 />", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 2, + "original_command": "L", + "invalid_command": "r", + "command_position": 51, + "command_context": "-31.2L285.9", + "severity": "high", + "total_paths": 3, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 2, + "original_command": "s", + "invalid_command": "U", + "command_position": 10, + "command_context": "9 480s2.7 4", + "severity": "high", + "total_paths": 3, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "d", + "command_position": 296, + "command_context": "-48.5z", + "severity": "high", + "total_paths": 3, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "z", + "invalid_command": "n", + "command_position": 201, + "command_context": "9 480z", + "severity": "high", + "total_paths": 3, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "l", + "invalid_command": "w", + "command_position": 182, + "command_context": "-73.9l-55-7", + "severity": "high", + "total_paths": 3, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_276_通用_25746_icon_171.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_276_通用_25746_icon_171.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_143_Awesome-solid_38545_icon_949.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_143_Awesome-solid_38545_icon_949.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "wi", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为wi", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M1267.6 916.2L724.6 496.6C824.2 461.4 896 367.6 89...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmls", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#000000", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hieght", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hieght", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_36_多色icon-线性_45427_icon_0.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_36_多色icon-线性_45427_icon_0.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "h", + "invalid_command": "E", + "command_position": 220, + "command_context": ".36 0h558.0", + "severity": "high", + "total_paths": 2, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "A", + "invalid_command": "K", + "command_position": 196, + "command_context": "V51.2A51.2 ", + "severity": "high", + "total_paths": 2, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "V", + "invalid_command": "o", + "command_position": 191, + "command_context": "47.36V51.2A", + "severity": "high", + "total_paths": 2, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "h", + "invalid_command": "b", + "command_position": 55, + "command_context": "819.2h819.2", + "severity": "high", + "total_paths": 2, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "v", + "invalid_command": "O", + "command_position": 12, + "command_context": " 25.6v51.2a", + "severity": "high", + "total_paths": 2, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "z", + "invalid_command": "w", + "command_position": 173, + "command_context": "7.136z", + "severity": "high", + "total_paths": 2, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "i", + "command_position": 146, + "command_context": "5.312a16.96", + "severity": "high", + "total_paths": 2, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_5_ATEL-操作列表图标_49886_icon_12.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_5_ATEL-操作列表图标_49886_icon_12.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "path", + "element_index": 2, + "original_attribute": "d", + "wrong_attribute": "id", + "attribute_value": "M972.8 0v1024H51.2V0h921.6z m-102.4 102.4H153.6v81...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为id", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#1890FF", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hieght", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hieght", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmnls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmnls", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "id", + "attribute_value": "M771.1744 258.56v102.4h-512v-102.4zM771.1744 668.1...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为id", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "witdh", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为witdh", + "error_instance": 6, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 2, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#32394A", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 7, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_64_明德-线性双色图标_41643_icon_159.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_64_明德-线性双色图标_41643_icon_159.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 387, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 387 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 377, + "original_value": "170.666667", + "modified_value": "1.71e+02", + "modification_details": "将位置 377 的数字 '170.666667' 改为科学计数法 '1.71e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 365, + "command_context": "原始: '170.666667 615.18933' -> 修改后: '170.666667, 615.18933'", + "modification_details": "在位置 365 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "extra_comma", + "error_instance": 4, + "modification": "添加多余逗号", + "position": 198, + "command_context": "原始: '170.666667 426.66666' -> 修改后: '170.666667, 426.66666'", + "modification_details": "在位置 198 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "extra_comma", + "error_instance": 5, + "modification": "添加多余逗号", + "position": 144, + "command_context": "原始: '56-114.624 256-256S6' -> 修改后: '56-114.624, 256-256S6'", + "modification_details": "在位置 144 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "scientific_notation", + "error_instance": 6, + "modification": "数字格式修改为科学计数法", + "position": 129, + "original_value": "256", + "modified_value": "2.56e+02", + "modification_details": "将位置 129 的数字 '256' 改为科学计数法 '2.56e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M277.333333 853.333333h469.333334v85.333334H277.33...", + "error_type": "scientific_notation", + "error_instance": 7, + "modification": "数字格式修改为科学计数法", + "position": 105, + "original_value": "256", + "modified_value": "2.56e+02", + "modification_details": "将位置 105 的数字 '256' 改为科学计数法 '2.56e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M512 362.666667a64 64 0 1 0 0 128 64 64 0 0 0 0-12...", + "error_type": "scientific_notation", + "error_instance": 8, + "modification": "数字格式修改为科学计数法", + "position": 34, + "original_value": "64", + "modified_value": "6.40e+01", + "modification_details": "将位置 34 的数字 '64' 改为科学计数法 '6.40e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_153_大美_37475_icon_25.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_153_大美_37475_icon_25.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "p", + "attribute_value": "M985.365397 636.861204c12.797273 4.848198 21.26316...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为p", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#12193E", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "with", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为with", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmls", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hight", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hight", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_39_双色面性图标_44878_icon_15.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_39_双色面性图标_44878_icon_15.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "m", + "invalid_command": "P", + "command_position": 97, + "command_context": "2 0z m0 665", + "severity": "high", + "total_paths": 2, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "O", + "command_position": 95, + "command_context": "512 0z m0 6", + "severity": "high", + "total_paths": 2, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "S", + "invalid_command": "w", + "command_position": 38, + "command_context": "2 512S794.7", + "severity": "high", + "total_paths": 2, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "j", + "command_position": 0, + "command_context": "M512 0", + "severity": "critical", + "total_paths": 2, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "r", + "command_position": 105, + "command_context": "294.4a38.4 ", + "severity": "high", + "total_paths": 2, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "L", + "invalid_command": "x", + "command_position": 87, + "command_context": ".2528L473.6", + "severity": "high", + "total_paths": 2, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 1, + "original_command": "a", + "invalid_command": "U", + "command_position": 8, + "command_context": "2 256a38.4 ", + "severity": "high", + "total_paths": 2, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_219_remixicon_2.4.1_30328_icon_569.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_219_remixicon_2.4.1_30328_icon_569.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#000000", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "witdh", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素��width属性名错误拼写为witdh", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hight", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hight", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmns", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmns", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M384 170.666667V128a42.666667 42.666667 0 0 1 42.6...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_391_CB_19664_icon_406.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_391_CB_19664_icon_406.png", + "bug_svg": "svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024 width=200\" height=200path d=M672 544c0-59.6-32.6-111.4-80.8-139l146.2-248.2C671.2 118.2 594.2 96 512 96c-82.4 0-159.8 22.4-226.2 61.2l143.2 250C382.8 435.2 352 486 352 544H64c0 166.6 93.8 306.8 228.8 384l140.2-244.8c23.4 13.2 50.2 20.8 79 20.8 28.6 0 55.4-7.6 78.6-20.6L731.2 928C866.2 850.8 960 710.6 960 544H672z fill=\"#000000\" />", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 97, + "context": "eight=\"200\">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 405, + "context": "ll=\"#000000\" />", + "error_instance": 4, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 87, + "context": "h=\"200\" height=\"200\">path d=M672 544c0-5", + "error_instance": 5, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 86, + "context": "th=\"200\" height=\"200\"path d=M672 544c0-5", + "error_instance": 6, + "attribute": "height", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了height属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 0, + "context": "<", + "error_instance": 9, + "attribute": "height", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了height属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 80, + "context": "4 width=200\" height=\"200path d=M672 544c", + "error_instance": 10, + "attribute": "height", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了height属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_634_返利app通用图标库_4100_icon_1.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_634_返利app通用图标库_4100_icon_1.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "^", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "$", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_93_美妆_35254_icon_0.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_93_美妆_35254_icon_0.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#F3D7D6", + "error_value": "F3D7D6", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第1个path元素的fill属性值从'#F3D7D6'修改为'F3D7D6'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#575759", + "error_value": "color:575759", + "error_type": "color", + "error_detail": "使用了CSS颜色语法", + "modification_description": "将第2个path元素的fill属性值从'#575759'修改为'color:575759'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 2, + "attribute": "fill", + "original_value": "#F3D7D6", + "error_value": "F3D7D6", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第3个path元素的fill属性值从'#F3D7D6'修改为'F3D7D6'", + "severity": "medium", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_103_华为云服务图标_43259_icon_264.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_103_华为云服务图标_43259_icon_264.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M870.4 791.272727c20.945455-27.927273 32.581818-60...", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 2106, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 2106 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M870.4 791.272727c20.945455-27.927273 32.581818-60...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 1861, + "original_value": "111.709091", + "modified_value": "1.12e+02", + "modification_details": "将位置 1861 的数字 '111.709091' 改为科学计数法 '1.12e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M870.4 791.272727c20.945455-27.927273 32.581818-60...", + "error_type": "wrong_separator", + "error_instance": 3, + "modification": "分隔符错误", + "position": 1743, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 1743 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M870.4 791.272727c20.945455-27.927273 32.581818-60...", + "error_type": "scientific_notation", + "error_instance": 4, + "modification": "数字格式修改为科学计数法", + "position": 1619, + "original_value": "954.181818", + "modified_value": "9.54e+02", + "modification_details": "将位置 1619 的数字 '954.181818' 改为科学计数法 '9.54e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M870.4 791.272727c20.945455-27.927273 32.581818-60...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 474, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 474 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_52_小假哥_扁平_icon102_42798_icon_63.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_52_小假哥_扁平_icon102_42798_icon_63.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_204_全棉时代_20750_icon_6.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_204_全棉时代_20750_icon_6.png", + "bug_svg": "/svg>", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 286, + "context": "0.465h99.973z\" fill=\"#6DFFC0\" />", + "error_instance": 4, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了开始标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 1442, + "context": "8z\" fill=\"#4B4668\" />", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 87, + "context": "th=\"200 height=\"200\">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 818, + "context": "8z\" fill=\"#4B4668\" />", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M759.14 198.61V64l178.78 178.78-178.78 178.78V286....", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 246, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 246 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M759.14 198.61V64l178.78 178.78-178.78 178.78V286....", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 195, + "original_value": "960", + "modified_value": "9.60e+02", + "modification_details": "将位置 195 的数字 '960' 改为科学计数法 '9.60e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M759.14 198.61V64l178.78 178.78-178.78 178.78V286....", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 169, + "command_context": "原始: '.87L836.96 960 702.3' -> 修改后: '.87L836.96, 960 702.3'", + "modification_details": "在位置 169 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M759.14 198.61V64l178.78 178.78-178.78 178.78V286....", + "error_type": "scientific_notation", + "error_instance": 4, + "modification": "数字格式修改为科学计数法", + "position": 91, + "original_value": "88.34", + "modified_value": "8.83e+01", + "modification_details": "将位置 91 的数字 '88.34' 改为科学计数法 '8.83e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M759.14 198.61V64l178.78 178.78-178.78 178.78V286....", + "error_type": "scientific_notation", + "error_instance": 5, + "modification": "数字格式修改为科学计数法", + "position": 61, + "original_value": "90.44", + "modified_value": "9.04e+01", + "modification_details": "将位置 61 的数字 '90.44' 改为科学计数法 '9.04e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_42_一张图标签_44528_icon_46.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_42_一张图标签_44528_icon_46.png", + "bug_svg": "path d=\"M512 430.08m-419.84 0a419.84 419.84 0 1 0 839.68 0 419.84 419.84 0 1 0-839.68 0Z fill=\"#A6AD58\" opacity=\".9\" /path d=M332.288 156.0576h355.3792v368.1792H332.288zM687.6672 540.5696v88.9856H332.288v-88.9856zM218.112 300.2368h88.9856v368.1792H218.112zM712.8576 300.2368h88.9856v368.1792h-88.9856z\" fill=#FFFFFF\" />/svg>", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 218, + "context": "z\" fill=\"#FFFFFF\" />", + "error_instance": 2, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了开始标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 338, + "context": "D58\" opacity=\".9\" />/svg>", + "error_instance": 4, + "attribute": "fill", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了fill属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 306, + "context": "9.84 0 1 0-839.68 0Z\" fill=\"#A6AD58\" opa", + "error_instance": 5, + "attribute": "d", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 62, + "context": "ewBox=\"0 0 1024 1024\" width=\"200\" height", + "error_instance": 6, + "attribute": "viewBox", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 82, + "context": " width=\"200\" height=\"200\">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 334, + "context": "AD58\" opacity=\".9\" />path d=\"M332.288 15", + "error_instance": 8, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 341, + "context": "pacity=\".9\" /path d=\"M332.288 156.0576h3", + "error_instance": 9, + "attribute": "d", + "quote_position": "opening", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的开始引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_314_智能服务与营销云_23491_icon_14.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_314_智能服务与营销云_23491_icon_14.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "a", + "invalid_command": "i", + "command_position": 440, + "command_context": "4.693a70.08", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "P", + "command_position": 299, + "command_context": "2.213a70.08", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "n", + "command_position": 283, + "command_context": "16 0zM443.3", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "u", + "command_position": 282, + "command_context": ".16 0zM443.", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "e", + "command_position": 228, + "command_context": "4.693a70.08", + "severity": "high", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "i", + "command_position": 157, + "command_context": "19.84a70.08", + "severity": "high", + "total_paths": 1, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "a", + "invalid_command": "K", + "command_position": 16, + "command_context": "4.693a70.08", + "severity": "high", + "total_paths": 1, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "J", + "command_position": 0, + "command_context": "M120.4", + "severity": "critical", + "total_paths": 1, + "error_instance": 8, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_38_元颗粒6.12 图标上传_45218_icon_30.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_38_元颗粒6.12 图标上传_45218_icon_30.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "h", + "invalid_command": "W", + "command_position": 296, + "command_context": ".3504h256V7", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "k", + "command_position": 269, + "command_context": ".2992z m512", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "v", + "invalid_command": "P", + "command_position": 251, + "command_context": ".3504v-85.3", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "v", + "invalid_command": "e", + "command_position": 198, + "command_context": "0H896v85.35", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "H", + "invalid_command": "W", + "command_position": 194, + "command_context": "992 0H896v8", + "severity": "high", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "V", + "invalid_command": "D", + "command_position": 84, + "command_context": ".4016V256h8", + "severity": "high", + "total_paths": 1, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "z", + "invalid_command": "j", + "command_position": 65, + "command_context": ".6496zM213.", + "severity": "high", + "total_paths": 1, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "H", + "invalid_command": "e", + "command_position": 39, + "command_context": "512 0H469.2", + "severity": "high", + "total_paths": 1, + "error_instance": 8, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "v", + "invalid_command": "d", + "command_position": 26, + "command_context": "6h256v-256z", + "severity": "high", + "total_paths": 1, + "error_instance": 9, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_398_轻松行多色图标_5475_icon_35.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_398_轻松行多色图标_5475_icon_35.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 2, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 2, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_307_双色线性ICON_12087_icon_4.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_307_双色线性ICON_12087_icon_4.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 11, + "context": "<", + "error_instance": 2, + "attribute": "d", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 359, + "context": "l40.96 40.96z\" fill=\"#437DFF\" />", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 369, + "context": "96z\" fill=#437DFF\" />", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 0, + "context": "", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 241, + "context": "7z\" fill=\"#00BCD4\" />", + "error_instance": 2, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 61, + "context": "ewBox=\"0 0 1024 1024\" width=\"200\" height", + "error_instance": 3, + "attribute": "viewBox", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 95, + "context": "eight=\"200\">", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "V", + "invalid_command": "U", + "command_position": 277, + "command_context": "88832V398.2", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "v", + "invalid_command": "B", + "command_position": 256, + "command_context": "65984v-56.8", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "h", + "invalid_command": "d", + "command_position": 245, + "command_context": "2V768h170.6", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "h", + "invalid_command": "w", + "command_position": 231, + "command_context": "4v256h-56.8", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "m", + "invalid_command": "y", + "command_position": 176, + "command_context": "344z m28.44", + "severity": "high", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "S", + "invalid_command": "U", + "command_position": 70, + "command_context": "10656S763.3", + "severity": "high", + "total_paths": 1, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "e", + "command_position": 14, + "command_context": "89344c251.3", + "severity": "high", + "total_paths": 1, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "D", + "command_position": 0, + "command_context": "M512 5", + "severity": "critical", + "total_paths": 1, + "error_instance": 8, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_667_Essential Set_1913_icon_237.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_667_Essential Set_1913_icon_237.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 507, + "original_value": "225.627119", + "modified_value": "2.26e+02", + "modification_details": "将位置 507 的数�� '225.627119' 改为科学计数法 '2.26e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "extra_comma", + "error_instance": 2, + "modification": "添加多余逗号", + "position": 407, + "command_context": "原始: '225.627119 225.62711' -> 修改后: '225.627119, 225.62711'", + "modification_details": "在位置 407 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "scientific_notation", + "error_instance": 3, + "modification": "数字格式修改为科学计数法", + "position": 259, + "original_value": "242.983051", + "modified_value": "2.43e+02", + "modification_details": "将位置 259 的数字 '242.983051' 改为科学计数法 '2.43e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "extra_comma", + "error_instance": 4, + "modification": "添加多余逗号", + "position": 211, + "command_context": "原始: '7.355932 0 1 0 34.71' -> 修改后: '7.355932 0, 1 0 34.71'", + "modification_details": "在位置 211 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 137, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 137 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "scientific_notation", + "error_instance": 6, + "modification": "数字格式修改为科学计数法", + "position": 81, + "original_value": "260.338983", + "modified_value": "2.60e+02", + "modification_details": "将位置 81 的数字 '260.338983' 改为科学计数法 '2.60e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M772.338983 260.338983c0-143.550915-116.788068-260...", + "error_type": "scientific_notation", + "error_instance": 7, + "modification": "数字格式修改为科学计数法", + "position": 36, + "original_value": "116.788068", + "modified_value": "1.17e+02", + "modification_details": "将位置 36 的数字 '116.788068' 改为科学计数法 '1.17e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M425.220339 121.491525c-38.287186 0-69.423729 31.1...", + "error_type": "wrong_separator", + "error_instance": 8, + "modification": "分隔符错误", + "position": 373, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 373 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M425.220339 121.491525c-38.287186 0-69.423729 31.1...", + "error_type": "extra_comma", + "error_instance": 9, + "modification": "添加多余逗号", + "position": 313, + "command_context": "原始: ' 34.711864 15.568271' -> 修改后: ' 34.711864, 15.568271'", + "modification_details": "在位置 313 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_43_zpy_icon_excel工作站_44295_icon_10.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_43_zpy_icon_excel工作站_44295_icon_10.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 5, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 1, + "has_closing_tag": false, + "error_instance": 2, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pathh", + "tag_index": 3, + "has_closing_tag": false, + "error_instance": 3, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 4, + "has_closing_tag": false, + "error_instance": 4, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_72_通用圆滚滚彩色图标_39764_icon_8.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_72_通用圆滚滚彩色图标_39764_icon_8.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M102.4 102.4m307.2 0l204.8 0q307.2 0 307.2 307.2l0...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 117, + "original_value": "307.2", + "modified_value": "3.07e+02", + "modification_details": "将位置 117 的数字 '307.2' 改为科学计数法 '3.07e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M102.4 102.4m307.2 0l204.8 0q307.2 0 307.2 307.2l0...", + "error_type": "extra_comma", + "error_instance": 2, + "modification": "添加多余逗号", + "position": 83, + "command_context": "原始: '7.2l-204.8 0q-307.2 ' -> 修改后: '7.2l-204.8, 0q-307.2 '", + "modification_details": "在位置 83 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M102.4 102.4m307.2 0l204.8 0q307.2 0 307.2 307.2l0...", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 58, + "command_context": "原始: 'l0 204.8q0 307.2-307' -> 修改后: 'l0 204.8q0, 307.2-307'", + "modification_details": "在位置 58 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M102.4 102.4m307.2 0l204.8 0q307.2 0 307.2 307.2l0...", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 18, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 18 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M102.4 102.4m307.2 0l204.8 0q307.2 0 307.2 307.2l0...", + "error_type": "scientific_notation", + "error_instance": 5, + "modification": "数字格式修改为科学计数法", + "position": 1, + "original_value": "102.4", + "modified_value": "1.02e+02", + "modification_details": "将位置 1 的数字 '102.4' 改为科学计数法 '1.02e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M621.6704 276.48c77.14816 42.12224 129.4848 123.99...", + "error_type": "extra_comma", + "error_instance": 6, + "modification": "添加多余逗号", + "position": 74, + "command_context": "原始: '18.09152 0 137.14432' -> 修改后: '18.09152 0, 137.14432'", + "modification_details": "在位置 74 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M621.6704 276.48c77.14816 42.12224 129.4848 123.99...", + "error_type": "wrong_separator", + "error_instance": 7, + "modification": "分隔符错误", + "position": 72, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 72 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M621.6704 276.48c77.14816 42.12224 129.4848 123.99...", + "error_type": "extra_comma", + "error_instance": 8, + "modification": "添加多余逗号", + "position": 25, + "command_context": "原始: '8c77.14816 42.12224 ' -> 修改后: '8c77.14816, 42.12224 '", + "modification_details": "在位置 25 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_55_小假哥_常用_icon057_42653_icon_30.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_55_小假哥_常用_icon057_42653_icon_30.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "!", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "~", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "%", + "insertion_position": "标签结束前", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 2, + "added_chars": "%", + "insertion_position": "标签结束前", + "error_instance": 4, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_43_全球旅游图标icon_44394_icon_11.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_43_全球旅游图标icon_44394_icon_11.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M477.6 502c8.9 0 19.4 6.3 19.4 23.9 0 80.1 65.2 14...", + "error_type": "wrong_separator", + "error_instance": 1, + "modification": "分隔符错误", + "position": 220, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 220 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M477.6 502c8.9 0 19.4 6.3 19.4 23.9 0 80.1 65.2 14...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 60, + "original_value": "145.2", + "modified_value": "1.45e+02", + "modification_details": "将位置 60 的数字 '145.2' 改为科学计数法 '1.45e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M477.6 502c8.9 0 19.4 6.3 19.4 23.9 0 80.1 65.2 14...", + "error_type": "wrong_separator", + "error_instance": 3, + "modification": "分隔符错误", + "position": 30, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 30 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M477.6 502c8.9 0 19.4 6.3 19.4 23.9 0 80.1 65.2 14...", + "error_type": "scientific_notation", + "error_instance": 4, + "modification": "数字格式修改为科学计数法", + "position": 26, + "original_value": "19.4", + "modified_value": "1.94e+01", + "modification_details": "将位置 26 的数字 '19.4' 改为科学计数法 '1.94e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M477.6 502c8.9 0 19.4 6.3 19.4 23.9 0 80.1 65.2 14...", + "error_type": "extra_comma", + "error_instance": 5, + "modification": "添加多余逗号", + "position": 14, + "command_context": "原始: '.6 502c8.9 0 19.4 6.' -> 修改后: '.6 502c8.9, 0 19.4 6.'", + "modification_details": "在位置 14 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M477.6 502c8.9 0 19.4 6.3 19.4 23.9 0 80.1 65.2 14...", + "error_type": "wrong_separator", + "error_instance": 6, + "modification": "分隔符错误", + "position": 14, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 14 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_175_美妆图标_35309_icon_14.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_175_美妆图标_35309_icon_14.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_291_商业和在��图标_24724_icon_218.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_291_商业和在线图标_24724_icon_218.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "invalid_path_command", + "error_details": [ + { + "path_index": 0, + "original_command": "z", + "invalid_command": "O", + "command_position": 646, + "command_context": "66667z", + "severity": "high", + "total_paths": 1, + "error_instance": 1, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "s", + "invalid_command": "B", + "command_position": 507, + "command_context": "66667s17.06", + "severity": "high", + "total_paths": 1, + "error_instance": 2, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "b", + "command_position": 459, + "command_context": "66667c-25.6", + "severity": "high", + "total_paths": 1, + "error_instance": 3, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "E", + "command_position": 426, + "command_context": "6666zM853.3", + "severity": "high", + "total_paths": 1, + "error_instance": 4, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "j", + "command_position": 373, + "command_context": "66667c0 166", + "severity": "high", + "total_paths": 1, + "error_instance": 5, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "b", + "command_position": 274, + "command_context": "3V128c0-25.", + "severity": "high", + "total_paths": 1, + "error_instance": 6, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "s", + "invalid_command": "J", + "command_position": 226, + "command_context": "33333s-213.", + "severity": "high", + "total_paths": 1, + "error_instance": 7, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "P", + "command_position": 170, + "command_context": "66667c0 119", + "severity": "high", + "total_paths": 1, + "error_instance": 8, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "c", + "invalid_command": "f", + "command_position": 15, + "command_context": "33333c166.4", + "severity": "high", + "total_paths": 1, + "error_instance": 9, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + }, + { + "path_index": 0, + "original_command": "M", + "invalid_command": "X", + "command_position": 0, + "command_context": "M512 7", + "severity": "critical", + "total_paths": 1, + "error_instance": 10, + "error_category": "path_command_error", + "error_function": "invalid_path_command" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_228_Mobile Apps-Flat Multicolor_18191_icon_10.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_228_Mobile Apps-Flat Multicolor_18191_icon_10.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M127.921872 298.345473V727.11292h768.156256V296.88...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 105, + "original_value": ".791862", + "modified_value": "7.92e-01", + "modification_details": "将位置 105 的数字 '.791862' 改为科学计数法 '7.92e-01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M127.921872 298.345473V727.11292h768.156256V296.88...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 87, + "original_value": ".791862", + "modified_value": "7.92e-01", + "modification_details": "将位置 87 的数字 '.791862' 改为科学计数法 '7.92e-01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M127.921872 298.345473V727.11292h768.156256V296.88...", + "error_type": "wrong_separator", + "error_instance": 3, + "modification": "分隔符错误", + "position": 85, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 85 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M127.921872 298.345473V727.11292h768.156256V296.88...", + "error_type": "scientific_notation", + "error_instance": 4, + "modification": "数字格式修改为科学计数法", + "position": 33, + "original_value": "768.156256", + "modified_value": "7.68e+02", + "modification_details": "将位置 33 的数字 '768.156256' 改为科学计数法 '7.68e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M897.328179 296.262055l-769.406307 2.083418 381.05...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 54, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 54 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M897.328179 296.262055l-769.406307 2.083418 381.05...", + "error_type": "extra_comma", + "error_instance": 6, + "modification": "添加多余逗号", + "position": 54, + "command_context": "原始: '381.057172 234.38453' -> 修改后: '381.057172, 234.38453'", + "modification_details": "在位�� 54 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M897.328179 296.262055l-769.406307 2.083418 381.05...", + "error_type": "wrong_separator", + "error_instance": 7, + "modification": "分隔符错误", + "position": 34, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 34 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_237_zhiutech icon_16318_icon_14.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_237_zhiutech icon_16318_icon_14.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_82_social-logo_37550_icon_15.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_82_social-logo_37550_icon_15.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#007BB5", + "error_value": "color:007BB5", + "error_type": "color", + "error_detail": "使用了CSS颜色语法", + "modification_description": "将第1个path元素的fill属性值从'#007BB5'修改为'color:007BB5'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#FFFFFF", + "error_value": "0xFFFFFF", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第2个path元素的fill属性值从'#FFFFFF'修改为'0xFFFFFF'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_99_双色圆角图标_34224_icon_72.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_99_双色圆角图标_34224_icon_72.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "%", + "insertion_position": "标签名称后", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "*", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "#", + "insertion_position": "标签结束前", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_79_易魔方常用面性图标库_38236_icon_40.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_79_易魔方常用面性图标库_38236_icon_40.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M750 147.14h-10.59v30a78.18 78.18 0 0 1-78.11 78.1...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 197, + "original_value": "50.62", + "modified_value": "5.06e+01", + "modification_details": "将位置 197 的数字 '50.62' 改为科学计数法 '5.06e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M750 147.14h-10.59v30a78.18 78.18 0 0 1-78.11 78.1...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 169, + "original_value": "89", + "modified_value": "8.90e+01", + "modification_details": "将位置 169 的数字 '89' 改为科学计数法 '8.90e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 3, + "original_path_data": "M750 147.14h-10.59v30a78.18 78.18 0 0 1-78.11 78.1...", + "error_type": "extra_comma", + "error_instance": 3, + "modification": "添加多余逗号", + "position": 147, + "command_context": "原始: '39.9 91.89 89 91.89h' -> 修改后: '39.9 91.89, 89 91.89h'", + "modification_details": "在位置 147 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 3, + "original_path_data": "M683.84 601.19H327.09a27 27 0 1 1 0-54.05h356.75a2...", + "error_type": "scientific_notation", + "error_instance": 4, + "modification": "数字格式修改为科学计数法", + "position": 132, + "original_value": "54.05", + "modified_value": "5.40e+01", + "modification_details": "将位置 132 的数字 '54.05' 改为科学计数法 '5.40e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 3, + "original_path_data": "M683.84 601.19H327.09a27 27 0 1 1 0-54.05h356.75a2...", + "error_type": "extra_comma", + "error_instance": 5, + "modification": "添加多余逗号", + "position": 60, + "command_context": "原始: '7 27 0 1 1 0 54.05zM' -> 修改后: '7 27 0 1 1, 0 54.05zM'", + "modification_details": "在位置 60 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 3, + "original_path_data": "M683.84 601.19H327.09a27 27 0 1 1 0-54.05h356.75a2...", + "error_type": "wrong_separator", + "error_instance": 6, + "modification": "分隔符错误", + "position": 54, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 54 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M308.17 76.87m54.97 0l284.65 0q54.97 0 54.97 54.97...", + "error_type": "extra_comma", + "error_instance": 7, + "modification": "添加多余逗号", + "position": 86, + "command_context": "原始: '97l-284.65 0q-54.97 ' -> 修改后: '97l-284.65, 0q-54.97 '", + "modification_details": "在位置 86 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 2, + "total_paths": 3, + "original_path_data": "M308.17 76.87m54.97 0l284.65 0q54.97 0 54.97 54.97...", + "error_type": "scientific_notation", + "error_instance": 8, + "modification": "数字格式修改为科学计数法", + "position": 8, + "original_value": "76.87", + "modified_value": "7.69e+01", + "modification_details": "将位置 8 的数字 '76.87' 改为科学计数法 '7.69e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_259_CATL ICON_27028_icon_20.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_259_CATL ICON_27028_icon_20.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_72_工作台_39755_icon_36.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_72_工作台_39755_icon_36.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "patth", + "tag_index": 1, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 2, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_13_天气-面性_48688_icon_26.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_13_天气-面性_48688_icon_26.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 437, + "original_value": ".117333", + "modified_value": "1.17e-01", + "modification_details": "将位置 437 的数字 '.117333' 改为科学计数法 '1.17e-01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "wrong_separator", + "error_instance": 2, + "modification": "分隔符错误", + "position": 368, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 368 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 3, + "modification": "数字格式修改为科学计数法", + "position": 329, + "original_value": "215.381334", + "modified_value": "2.15e+02", + "modification_details": "将位置 329 的数字 '215.381334' 改为科学计数法 '2.15e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 4, + "modification": "数字格式修改为科学计数法", + "position": 318, + "original_value": "154.794666", + "modified_value": "1.55e+02", + "modification_details": "将位置 318 的数字 '154.794666' 改为科学计数法 '1.55e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 278, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 278 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 6, + "modification": "数字格式修改为科学计数法", + "position": 216, + "original_value": "36.970666", + "modified_value": "3.70e+01", + "modification_details": "将位置 216 的数字 '36.970666' 改为科学计数法 '3.70e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 7, + "modification": "数字格式修改为科学计数法", + "position": 148, + "original_value": "241.024", + "modified_value": "2.41e+02", + "modification_details": "将位置 148 的数字 '241.024' 改为科学计数法 '2.41e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 8, + "modification": "数字格式修改为科学计数法", + "position": 135, + "original_value": "36.970667", + "modified_value": "3.70e+01", + "modification_details": "将位置 135 的数字 '36.970667' 改为科学计数法 '3.70e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 1, + "original_path_data": "M548.949333 106.666667c-16.426667-28.458667-57.493...", + "error_type": "scientific_notation", + "error_instance": 9, + "modification": "数字格式修改为科学计数法", + "position": 83, + "original_value": "154.773333", + "modified_value": "1.55e+02", + "modification_details": "将位置 83 的数字 '154.773333' 改为科学计数法 '1.55e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_109_小假哥_填充_icon080_42758_icon_7.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_109_小假哥_填充_icon080_42758_icon_7.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 1, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + }, + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 2, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_39_76_44867_icon_62.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_39_76_44867_icon_62.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M736 608a192 192 0 1 1 0 384 192 192 0 0 1 0-384z ...", + "error_type": "extra_comma", + "error_instance": 1, + "modification": "添加多余逗号", + "position": 221, + "command_context": "原始: 'a6.4 6.4 0 0 0-3.328' -> 修改后: 'a6.4 6.4 0, 0 0-3.328'", + "modification_details": "在位置 221 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M736 608a192 192 0 1 1 0 384 192 192 0 0 1 0-384z ...", + "error_type": "extra_comma", + "error_instance": 2, + "modification": "添加多余逗号", + "position": 171, + "command_context": "原始: 'a6.4 6.4 0 0 0 1.92-' -> 修改后: 'a6.4 6.4 0, 0 0 1.92-'", + "modification_details": "在位置 171 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M736 608a192 192 0 1 1 0 384 192 192 0 0 1 0-384z ...", + "error_type": "scientific_notation", + "error_instance": 3, + "modification": "数字格式修改为科学计数法", + "position": 144, + "original_value": ".832", + "modified_value": "8.32e-01", + "modification_details": "将位置 144 的数字 '.832' 改为科学计数法 '8.32e-01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M736 608a192 192 0 1 1 0 384 192 192 0 0 1 0-384z ...", + "error_type": "extra_comma", + "error_instance": 4, + "modification": "添加多余逗号", + "position": 40, + "command_context": "原始: '92 192 0 0 1 0-384z ' -> 修改后: '92 192 0 0, 1 0-384z '", + "modification_details": "在位置 40 添加了逗号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M736 608a192 192 0 1 1 0 384 192 192 0 0 1 0-384z ...", + "error_type": "wrong_separator", + "error_instance": 5, + "modification": "分隔符错误", + "position": 36, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 36 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M736 608a192 192 0 1 1 0 384 192 192 0 0 1 0-384z ...", + "error_type": "wrong_separator", + "error_instance": 6, + "modification": "分隔符错误", + "position": 20, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 20 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M689.536 96v176.192H864v329.152h64V247.552L732.928...", + "error_type": "scientific_notation", + "error_instance": 7, + "modification": "数字格式修改为科学计数法", + "position": 202, + "original_value": ".064", + "modified_value": "6.40e-02", + "modification_details": "将位置 202 的数字 '.064' 改为科学计数法 '6.40e-02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M689.536 96v176.192H864v329.152h64V247.552L732.928...", + "error_type": "scientific_notation", + "error_instance": 8, + "modification": "数字格式修改为科学计数法", + "position": 35, + "original_value": "247.552", + "modified_value": "2.48e+02", + "modification_details": "将位置 35 的数字 '247.552' 改为科学计数法 '2.48e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_359_test_21258_icon_173.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_359_test_21258_icon_173.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_25_单色圆角面性_49216_icon_2392.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_25_单色圆角面性_49216_icon_2392.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "misspell_tag_name", + "error_details": [ + { + "original_tag": "path", + "misspelled_tag": "pth", + "tag_index": 0, + "has_closing_tag": false, + "error_instance": 1, + "error_category": "tag_error", + "error_function": "misspell_tag_name" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_83_fontawsome6.4_44746_icon_351.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_83_fontawsome6.4_44746_icon_351.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "$", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "%", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_386_填充图标_19922_icon_16.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_386_填充图标_19922_icon_16.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "heigth", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为heigth", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M774.6 137H212V212h37.6v675h525V212H812V137h-37.4z...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "wi", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为wi", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#000000", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmnls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmnls", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_314_Remix_Icon_v2.5.0_23534_icon_1976.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_314_Remix_Icon_v2.5.0_23534_icon_1976.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "#", + "insertion_position": "标签名称后", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "~", + "insertion_position": "标签结束前", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_685_闲鱼拍卖图标库_1434_icon_88.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_685_闲鱼拍卖图标库_1434_icon_88.png", + "bug_svg": "svg xmlns=\"http://www.w3.org/2000/svg viewBox=\"0 0 1024 1024 width=\"200 height=\"200\">path d=\"M752.64 549.376 237.056 549.376c-15.872 0-28.672-12.8-28.672-28.672L208.384 123.392c0-15.872 12.8-28.672 28.672-28.672L752.64 94.72c15.872 0 28.672 12.8 28.672 28.672l0 397.312C781.824 536.064 768.512 549.376 752.64 549.376zM265.728 491.52l458.24 0L723.968 152.064 265.728 152.064 265.728 491.52zM595.456 313.344 394.24 313.344c-15.872 0-28.672-12.8-28.672-28.672 0-15.872 12.8-28.672 28.672-28.672l201.728 0c15.872 0 28.672 12.8 28.672 28.672C624.64 300.544 611.328 313.344 595.456 313.344zM595.456 394.24 394.24 394.24c-15.872 0-28.672-12.8-28.672-28.672s12.8-28.672 28.672-28.672l201.728 0c15.872 0 28.672 12.8 28.672 28.672S611.328 394.24 595.456 394.24zM495.104 485.376c-15.872 0-28.672-12.8-28.672-28.672L466.432 288.768c0-15.872 12.8-28.672 28.672-28.672s28.672 12.8 28.672 28.672l0 167.936C523.776 472.576 510.976 485.376 495.104 485.376zM482.304 311.296c-9.728 0-19.456-5.12-24.576-13.824l-39.936-66.56c-8.192-13.824-3.584-31.232 9.728-39.424 13.824-8.192 31.232-3.584 39.424 9.728l39.936 66.56c8.192 13.824 3.584 31.232-9.728 39.424C492.544 310.272 487.424 311.296 482.304 311.296zM503.808 311.296c-5.12 0-10.24-1.536-14.848-4.096-13.824-8.192-17.92-25.6-9.728-39.424l39.936-66.56c8.192-13.824 26.112-17.92 39.424-9.728 13.824 8.192 17.92 25.6 9.728 39.424l-39.936 66.56C523.264 306.688 513.536 311.296 503.808 311.296zM655.36 758.784c-15.872 0-28.672-12.8-28.672-28.672 0-15.872 12.8-28.672 28.672-28.672 13.824 0 25.088-11.264 25.088-25.088s-11.264-25.088-25.088-25.088c-15.872 0-28.672-12.8-28.672-28.672s12.8-28.672 28.672-28.672c45.568 0 82.944 37.376 82.944 82.944S701.44 758.784 655.36 758.784zM655.36 758.784 453.632 758.784c-15.872 0-28.672-12.8-28.672-28.672 0-15.872 12.8-28.672 28.672-28.672L655.36 701.44c15.872 0 28.672 12.8 28.672 28.672C684.544 745.984 671.744 758.784 655.36 758.784zM130.56 820.224c-15.872 0-28.672-12.8-28.672-28.672l0-169.472c0-15.872 12.8-28.672 28.672-28.672L655.36 593.408c15.872 0 28.672 12.8 28.672 28.672s-12.8 28.672-28.672 28.672L159.744 650.752l0 140.8C159.744 807.424 146.432 820.224 130.56 820.224zM892.416 739.84c-7.168 0-14.848-2.56-20.48-8.192-11.264-11.264-11.264-29.696 0-40.96 4.608-4.608 7.68-11.264 7.68-17.92 0-12.8-9.728-23.552-22.016-25.088l-117.76 32.768c-15.36 4.096-31.232-4.608-35.328-19.968-4.096-15.36 4.608-31.232 19.968-35.328l122.368-33.792c2.56-0.512 5.12-1.024 7.68-1.024 45.568 0 82.944 37.376 82.944 82.944 0 22.016-8.704 43.008-24.064 58.368C906.752 737.28 899.584 739.84 892.416 739.84zM471.04 933.888c-128.512 0-250.88-40.96-353.28-118.272-12.8-9.728-15.36-27.648-5.632-40.448 9.728-12.8 27.648-15.36 40.448-5.632 92.16 69.632 202.752 106.496 318.464 106.496 150.528 0 294.912-64.512 395.264-177.152 10.752-11.776 28.672-12.8 40.448-2.56 11.776 10.752 12.8 28.672 2.56 40.448C798.208 862.208 638.464 933.888 471.04 933.888z fill=#000000\" //svg>", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 2905, + "context": ".888 471.04 933.888z\" fill=\"#000000\" /><", + "error_instance": 1, + "attribute": "d", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 2923, + "context": "8z fill=\"#000000\" />", + "error_instance": 2, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了开始标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 2911, + "context": "71.04 933.888z fill=\"#000000\" />/svg>", + "error_instance": 3, + "attribute": "d", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 89, + "context": "=\"200\" height=\"200\">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 2919, + "context": "888z fill=#000000\" />/svg>", + "error_instance": 6, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 73, + "context": "024 1024\" width=\"200\" height=\"200\">path ", + "error_instance": 7, + "attribute": "width", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了width属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 61, + "context": "ewBox=\"0 0 1024 1024\" width=\"200 height=", + "error_instance": 8, + "attribute": "viewBox", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 37, + "context": "/www.w3.org/2000/svg\" viewBox=\"0 0 1024 ", + "error_instance": 9, + "attribute": "xmlns", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了xmlns属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_75_彩色半透明_平面_002_38979_icon_11.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_75_彩色半透明_平面_002_38979_icon_11.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "opacity", + "original_value": ".6", + "error_value": ".6px", + "error_type": "numeric", + "error_detail": "向数值添加了'px'单位", + "modification_description": "将第1个path元素的opacity属性值从'.6'修改为'.6px'", + "severity": "low", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#06CC76", + "error_value": "06CC76", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第1个path元素的fill属性值从'#06CC76'修改为'06CC76'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "opacity", + "original_value": ".6", + "error_value": ".6px", + "error_type": "numeric", + "error_detail": "向数值添加了'px'单位", + "modification_description": "将第2个path元素的opacity属性值从'.6'修改为'.6px'", + "severity": "low", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#06CC76", + "error_value": "0x06CC76", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第2个path元素的fill属性值从'#06CC76'修改为'0x06CC76'", + "severity": "medium", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_394_售电云应用图标_6733_icon_19.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_394_售电云应用图标_6733_icon_19.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "^", + "insertion_position": "标签结束前", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "!", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "$", + "insertion_position": "标签名称后", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_700_法律_902_icon_30.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_700_法律_902_icon_30.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_name_error", + "error_details": [ + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "xmlns", + "wrong_attribute": "xmls", + "attribute_value": "http://www.w3.org/2000/svg", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将svg元素的xmlns属性名错误拼写为xmls", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "fill", + "wrong_attribute": "fil", + "attribute_value": "#272636", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将path元素的fill属性名错误拼写为fil", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "width", + "wrong_attribute": "wdith", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的width属性名错误拼写为wdith", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "svg", + "element_index": 0, + "original_attribute": "height", + "wrong_attribute": "hight", + "attribute_value": "200", + "error_type": "attribute_name_misspelling", + "severity": "medium", + "description": "将svg元素的height属性名错误拼写为hight", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + }, + { + "element_type": "path", + "element_index": 1, + "original_attribute": "d", + "wrong_attribute": "dd", + "attribute_value": "M601.384261 533.255093l205.951629 0c11.389398 0 20...", + "error_type": "attribute_name_misspelling", + "severity": "high", + "description": "将path元素的d属性名错误拼写为dd", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_name_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_25_单色圆角面性_49216_icon_754.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_25_单色圆角面性_49216_icon_754.png", + "bug_svg": "path d=\"M717.312 590.882133l-277.845333-277.845333c45.294933-49.834667 40.5504-123.972267-4.096-168.618667a122.5728 122.5728 0 0 0-172.714667 0 122.197333 122.197333 0 0 0-35.498667 89.429334c-31.061333-1.365333-64.853333 11.264-89.088 35.157333a122.9824 122.9824 0 0 0 0 173.056c44.714667 44.714667 121.856 46.421333 168.277334 4.437333l277.504 277.504a123.050667 123.050667 0 0 0 4.437333 168.277334c47.547733 47.581867 126.2592 47.104 172.714667 0 23.210667-22.869333 35.84-53.589333 36.181333-86.016v-2.730667c32.426667-0.341333 64.853333-12.288 88.746667-35.84a122.5728 122.5728 0 0 0 0-172.714667 122.4704 122.4704 0 0 0-168.618667-4.096zM906.24 260.642133h-2.730667c-17.885867 0-33.792-11.195733-39.765333-28.023466a127.965867 127.965867 0 0 0-5.051733-12.1856 42.120533 42.120533 0 0 1 8.260266-47.9232l2.048-2.048c5.973333-5.973333 5.973333-15.7696 0-21.742934s-15.7696-5.973333-21.7088 0l-2.048 2.048c-12.629333 12.629333-31.812267 15.940267-47.957333 8.260267a126.395733 126.395733 0 0 0-12.151467-5.051733 42.120533 42.120533 0 0 1-28.0576-39.7312v-2.730667c0-8.430933-6.8608-15.291733-15.291733-15.291733s-15.325867 6.8608-15.325867 15.291733v2.730667c0 18.363733-12.117333 33.962667-29.354666 40.311466a124.8256 124.8256 0 0 0-9.454934 3.8912c-16.6912 7.714133-36.2496 5.256533-49.2544-7.748266l-1.9456-1.979734a15.428267 15.428267 0 0 0-21.742933 0 15.428267 15.428267 0 0 0 0 21.742934l1.9456 1.979733c12.936533 12.970667 15.394133 32.494933 7.714133 49.152a128.9216 128.9216 0 0 0-4.096 9.728c-6.280533 17.237333-21.9136 29.354667-40.277333 29.354667h-2.6624a15.36 15.36 0 0 0-15.291733 15.291733 15.36 15.36 0 0 0 15.291733 15.291733h2.730667c17.885867 0 33.792 11.229867 39.765333 28.0576 1.467733 4.096 3.140267 8.192 5.0176 12.151467a42.120533 42.120533 0 0 1-8.260267 47.9232l-1.877333 1.911467a15.428267 15.428267 0 0 0 0 21.742933c6.144 5.802667 15.394133 6.007467 21.742933 0l2.048-2.048c12.629333-12.629333 31.812267-15.940267 47.957334-8.260267 3.8912 1.877333 7.918933 3.549867 12.014933 4.983467 16.7936 6.007467 27.989333 21.879467 27.989333 39.7312v2.935467a15.36 15.36 0 0 0 30.6176 0v-2.901334c0-17.851733 11.229867-33.757867 28.0576-39.7312 4.130133-1.467733 8.192-3.140267 12.151467-5.0176a42.120533 42.120533 0 0 1 47.9232 8.260267l2.048 2.048a15.530667 15.530667 0 0 0 21.742933 0 15.428267 15.428267 0 0 0 0-21.742933l-1.911466-1.9456c-13.0048-12.970667-15.4624-32.597333-7.748267-49.288534a124.928 124.928 0 0 0 3.959467-9.489066c6.314667-17.237333 21.9136-29.320533 40.277333-29.320534h2.628267a15.36 15.36 0 0 0 15.325866-15.291733 15.36 15.36 0 0 0-15.325866-15.325867z fill=\"#000000\" />", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 89, + "context": "=\"200\" height=\"200\"><", + "error_instance": 2, + "attribute": "d", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了d属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": ">", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 2723, + "context": "ll=\"#000000\" />", + "error_instance": 3, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 74, + "context": "024 1024\" width=\"200\" height=\"200\">path ", + "error_instance": 4, + "attribute": "width", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了width属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 82, + "context": "\" width=\"200 height=\"200\">path d=\"M717.3", + "error_instance": 5, + "attribute": "width", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了width属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "closing_quote", + "symbol_category": "quote", + "position": 62, + "context": "ewBox=\"0 0 1024 1024\" width=\"200 height=", + "error_instance": 6, + "attribute": "viewBox", + "quote_position": "closing", + "error_type": "missing_attribute_quote", + "severity": "high", + "description": "移除了viewBox属性的结束引号,这会导致XML解析错误", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_78_互联网常用_38294_icon_5.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_78_互联网常用_38294_icon_5.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "path_data_format_error", + "error_details": [ + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M616.26 798.69H397.54l-26-26v-53.1A132.38 132.38 0...", + "error_type": "scientific_notation", + "error_instance": 1, + "modification": "数字格式修改为科学计数法", + "position": 448, + "original_value": "406.94", + "modified_value": "4.07e+02", + "modification_details": "将位置 448 的数字 '406.94' 改为科学计数法 '4.07e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M616.26 798.69H397.54l-26-26v-53.1A132.38 132.38 0...", + "error_type": "scientific_notation", + "error_instance": 2, + "modification": "数字格式修改为科学计数法", + "position": 282, + "original_value": "17.43", + "modified_value": "1.74e+01", + "modification_details": "将位置 282 的数字 '17.43' 改为科学计数法 '1.74e+01'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 1, + "total_paths": 2, + "original_path_data": "M616.26 798.69H397.54l-26-26v-53.1A132.38 132.38 0...", + "error_type": "scientific_notation", + "error_instance": 3, + "modification": "数字格式修改为科学计数法", + "position": 171, + "original_value": "738.87", + "modified_value": "7.39e+02", + "modification_details": "将位置 171 的数字 '738.87' 改为科学计数法 '7.39e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M534.45 651.4m-252.29 0a252.29 252.29 0 1 0 504.58...", + "error_type": "wrong_separator", + "error_instance": 4, + "modification": "分隔符错误", + "position": 66, + "original_separator": "' '", + "modified_separator": ";", + "modification_details": "将位置 66 的空格分隔符替换为分号", + "severity": "medium", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + }, + { + "path_index": 0, + "total_paths": 2, + "original_path_data": "M534.45 651.4m-252.29 0a252.29 252.29 0 1 0 504.58...", + "error_type": "scientific_notation", + "error_instance": 5, + "modification": "数字格式修改为科学计数法", + "position": 31, + "original_value": "252.29", + "modified_value": "2.52e+02", + "modification_details": "将位置 31 的数字 '252.29' 改为科学计数法 '2.52e+02'", + "severity": "high", + "error_category": "path_command_error", + "error_function": "path_data_format_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_90_smart home_35874_icon_3.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_90_smart home_35874_icon_3.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "add_strange_chars", + "error_details": [ + { + "target_tag": "svg", + "tag_index": 0, + "added_chars": "!", + "insertion_position": "标签名称后", + "error_instance": 1, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 2, + "added_chars": "@", + "insertion_position": "标签名称后", + "error_instance": 2, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 1, + "added_chars": "~", + "insertion_position": "标签结束前", + "error_instance": 3, + "error_category": "tag_error", + "error_function": "add_strange_chars" + }, + { + "target_tag": "path", + "tag_index": 0, + "added_chars": "~", + "insertion_position": "标签名称后", + "error_instance": 4, + "error_category": "tag_error", + "error_function": "add_strange_chars" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_32_酷趣创易_电商_icon031_46250_icon_2.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_32_酷趣创易_电商_icon031_46250_icon_2.png", + "bug_svg": "svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 1024\" width=\"200\" height=\"200\">path d=\"M144.1792 574.4128s88.1664 23.04 161.3824-21.7088c36.608 20.48 106.24 50.176 200.2432 0 62.8224 33.8944 134.7072 36.608 199.68 0 51.5072 29.1328 92.16 35.84 161.3824 19.0976v263.9872a92.5696 92.5696 0 0 1-92.5696 92.5184h-537.6a92.5184 92.5184 0 0 1-92.5696-92.5184z\" fill=\"#CCDAFF\" />/svg", + "ground_truth": "", + "error_type": "remove_closing_tag", + "error_details": [ + { + "removed_symbol": "<", + "symbol_type": "<", + "symbol_category": "bracket", + "position": 0, + "context": "", + "symbol_type": ">", + "symbol_category": "bracket", + "position": 853, + "context": "ll=\"#CCDAFF\" />", + "error_instance": 3, + "error_type": "missing_tag_bracket", + "severity": "critical", + "description": "移除了结束标签括号,这会破坏XML结构", + "error_category": "tag_error", + "error_function": "remove_closing_tag" + }, + { + "removed_symbol": "\"", + "symbol_type": "opening_quote", + "symbol_category": "quote", + "position": 96, + "context": "eight=\"200\">", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#2E3133", + "error_value": "2E3133", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第1个path元素的fill属性值从'#2E3133'修改为'2E3133'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + }, + { + "svg_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_50_035-常用线面_47484_icon_25.svg", + "png_path": "/home/chensq/svg/svg_benchmark/data/Constructv2/all_datav2/easy_icons/process/page_50_035-常用线面_47484_icon_25.png", + "bug_svg": "", + "ground_truth": "", + "error_type": "attribute_value_error", + "error_details": [ + { + "element_type": "path", + "element_index": 1, + "attribute": "fill", + "original_value": "#1A5F8E", + "error_value": "1A5F8E", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第2个path元素的fill属性值从'#1A5F8E'修改为'1A5F8E'", + "severity": "medium", + "error_instance": 1, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 0, + "attribute": "fill", + "original_value": "#CAE0FF", + "error_value": "0xCAE0FF", + "error_type": "color", + "error_detail": "使用了0x前缀", + "modification_description": "将第1个path元素的fill属性值从'#CAE0FF'修改为'0xCAE0FF'", + "severity": "medium", + "error_instance": 2, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 2, + "attribute": "fill", + "original_value": "#1A5F8E", + "error_value": "color:1A5F8E", + "error_type": "color", + "error_detail": "使用了CSS颜色语法", + "modification_description": "将第3个path元素的fill属性值从'#1A5F8E'修改为'color:1A5F8E'", + "severity": "medium", + "error_instance": 3, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 3, + "attribute": "fill", + "original_value": "#1A5F8E", + "error_value": "1A5F8E", + "error_type": "color", + "error_detail": "移除了#前缀", + "modification_description": "将第4个path元素的fill属性值从'#1A5F8E'修改为'1A5F8E'", + "severity": "medium", + "error_instance": 4, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + }, + { + "element_type": "path", + "element_index": 4, + "attribute": "fill", + "original_value": "#1A5F8E", + "error_value": "color:1A5F8E", + "error_type": "color", + "error_detail": "使用了CSS颜色语法", + "modification_description": "将第5个path元素的fill属性值从'#1A5F8E'修改为'color:1A5F8E'", + "severity": "medium", + "error_instance": 5, + "error_category": "attribute_error", + "error_function": "attribute_value_error" + } + ] + } +] \ No newline at end of file