quyuan 1 년 전
부모
커밋
ca2fd8ef7c
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      tests/test_cli/test_bench.py

+ 2 - 3
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