From ca2fd8ef7c00677714916a19e83d715823d97278 Mon Sep 17 00:00:00 2001 From: quyuan Date: Sat, 13 Jul 2024 18:01:29 +0800 Subject: [PATCH] add ci --- tests/test_cli/test_bench.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_cli/test_bench.py b/tests/test_cli/test_bench.py index 1053911f..bfe93559 100644 --- a/tests/test_cli/test_bench.py +++ b/tests/test_cli/test_bench.py @@ -46,9 +46,8 @@ def get_score(): """ get score """ - data_path = os.path.join(pdf_dev_path, "ci") - score = calculate_score.Scoring(os.path.join(data_path, "result.json")) - score.calculate_similarity_total("mineru", data_path) + score = calculate_score.Scoring(os.path.join(pdf_dev_path, "result.json")) + score.calculate_similarity_total("mineru", pdf_dev_path) res = score.summary_scores() return res