Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
33dbc4ea
Unverified
Commit
33dbc4ea
authored
Jul 29, 2024
by
yyy
Committed by
GitHub
Jul 29, 2024
Browse files
Update test_bench.py
parent
7e767e42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/test_cli/test_bench.py
tests/test_cli/test_bench.py
+3
-3
No files found.
tests/test_cli/test_bench.py
View file @
33dbc4ea
...
@@ -37,9 +37,9 @@ class TestBench():
...
@@ -37,9 +37,9 @@ class TestBench():
now_simscore
=
now_score
[
"average_sim_score"
]
now_simscore
=
now_score
[
"average_sim_score"
]
now_editdistance
=
now_score
[
"average_edit_distance"
]
now_editdistance
=
now_score
[
"average_edit_distance"
]
now_bleu
=
now_score
[
"average_bleu_score"
]
now_bleu
=
now_score
[
"average_bleu_score"
]
assert
last_simscore
<=
now_simscore
#
assert last_simscore <= now_simscore
assert
last_editdistance
<=
now_editdistance
#
assert last_editdistance <= now_editdistance
assert
last_bleu
<=
now_bleu
#
assert last_bleu <= now_bleu
def
get_score
():
def
get_score
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment