Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bf130f81
authored
2024-11-11 11:02:43 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init 5118
1 parent
75d18a3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
bf130f8
...
...
@@ -3409,6 +3409,8 @@ def se_compare_process(compare_info, ocr_res_dict, is_gsyh, is_auto, id_res_list
tmp_set
=
set
()
last_cn_reason_list
=
[]
last_cn_reason_list_attention
=
[]
last_cn_reason_list_not_attention
=
[]
bs_cn_reason_list
=
[]
for
i
in
cn_reason_list
:
if
i
in
tmp_set
:
...
...
@@ -3418,7 +3420,12 @@ def se_compare_process(compare_info, ocr_res_dict, is_gsyh, is_auto, id_res_list
# bs_cn_reason_list.append(i)
else
:
tmp_set
.
add
(
i
)
last_cn_reason_list
.
append
(
i
)
if
'关注'
in
i
:
last_cn_reason_list_attention
.
append
(
i
)
else
:
last_cn_reason_list_not_attention
.
append
(
i
)
last_cn_reason_list
.
append
(
last_cn_reason_list_attention
)
last_cn_reason_list
.
append
(
last_cn_reason_list_not_attention
)
cn_failure_reason_str
=
'
\n
'
.
join
(
last_cn_reason_list
)
bs_failure_reason_str
=
'
\n
'
.
join
(
bs_cn_reason_list
)
return
compare_result
,
total_fields
,
failed_count
,
successful_at_this_level
,
failure_reason_str
,
\
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment