Skip to content

Commit

Permalink
CU-8694gzbn3: Remove explicit debug output from k-fold test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-r committed May 14, 2024
1 parent 12c519a commit 9b02925
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/stats/test_kfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def wrapper(*args, **kwargs):
# TODO: REMOVE ABOVE


@debug_print_test_names
class MCTExportTests(unittest.TestCase):
EXPORT_PATH = os.path.join(os.path.dirname(__file__), "..",
"resources", "medcat_trainer_export.json")
Expand Down Expand Up @@ -146,7 +145,6 @@ class KFoldCreatorNewExportAnnsTests(KFoldCreatorNewExportTests):
USE_ANNOTATIONS = True


@debug_print_test_names
class KFoldCATTests(MCTExportTests):
_names = ['fps', 'fns', 'tps', 'prec', 'rec', 'f1', 'counts', 'examples']
EXPORT_PATH = NEW_EXPORT_PATH
Expand Down Expand Up @@ -174,7 +172,6 @@ def assertDictsAlmostEqual(self, d1: Dict[str, Union[int, float]], d2: Dict[str,
self.assertAlmostEqual(v1, v2, places=tol)


@debug_print_test_names
class KFoldStatsConsistencyTests(KFoldCATTests):

def test_mct_export_valid(self):
Expand All @@ -189,7 +186,6 @@ def test_stats_consistent(self):
self.assertEqual(stats1, stats2)


@debug_print_test_names
class KFoldMetricsTests(KFoldCATTests):
USE_ANNOTATIONS = False

Expand All @@ -209,7 +205,6 @@ class KFoldPerAnnsMetricsTests(KFoldMetricsTests):
USE_ANNOTATIONS = True


@debug_print_test_names
class KFoldDuplicatedTests(KFoldCATTests):
COPIES = 3

Expand Down

0 comments on commit 9b02925

Please sign in to comment.