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
cc03d5ed
authored
2024-11-11 14:55:15 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/CHINARPA-5118' into feature/uat-tmp
2 parents
f252d050
bf130f81
Show 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 @
cc03d5e
...
...
@@ -3456,6 +3456,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
:
...
...
@@ -3465,7 +3467,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