From 816880eae2c8c0b685e92a5cda19d8cd2026f471 Mon Sep 17 00:00:00 2001 From: vikasreddy11 Date: Tue, 12 May 2026 13:48:54 +0530 Subject: [PATCH 1/4] fix: correct typo empy -> empty in test_look_up_option.py --- tests/utils/test_look_up_option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/test_look_up_option.py b/tests/utils/test_look_up_option.py index 75560b4ac4..96adda9473 100644 --- a/tests/utils/test_look_up_option.py +++ b/tests/utils/test_look_up_option.py @@ -72,7 +72,7 @@ def test_no_found(self): with self.assertRaisesRegex(ValueError, "did you mean"): look_up_option(3, {1: "a", 2: "b", "c": 3}) with self.assertRaisesRegex(ValueError, "did.*empty"): - look_up_option("empy", _CaseEnum) + look_up_option("empty", _CaseEnum) with self.assertRaisesRegex(ValueError, "Unsupported"): look_up_option(_CaseEnum1.EMPTY, _CaseEnum) with self.assertRaisesRegex(ValueError, "Unsupported"): From b9aa7d4ddcc9ecfdf2b910d5029ea21b7d625bd7 Mon Sep 17 00:00:00 2001 From: vikasreddy11 Date: Tue, 12 May 2026 14:07:21 +0530 Subject: [PATCH 2/4] fix: correct typo resulst -> results in test_profiling.py --- tests/utils/test_profiling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/test_profiling.py b/tests/utils/test_profiling.py index da41a8ef69..56649ccb93 100644 --- a/tests/utils/test_profiling.py +++ b/tests/utils/test_profiling.py @@ -72,7 +72,7 @@ def test_profile_transforms(self): self.assertIsInstance(dt, datetime.datetime) def test_profile_multithread(self): - """Test resulst are gathered from multiple threads using ThreadDataLoader.""" + """Test results are gathered from multiple threads using ThreadDataLoader.""" ds = Dataset([self.test_image] * 4, self.scale) dl = ThreadDataLoader(ds, batch_size=4, num_workers=4, use_thread_workers=True) From 5928c21bf11c4a9219ed7c6ea01a1c0e7ecfcb20 Mon Sep 17 00:00:00 2001 From: vikasreddy11 Date: Tue, 12 May 2026 14:13:48 +0530 Subject: [PATCH 3/4] fixed typo specfic to specific in tests\networks\utils\test_replace_module.py --- tests/networks/utils/test_replace_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/networks/utils/test_replace_module.py b/tests/networks/utils/test_replace_module.py index 9c0752d1c5..cc67b91571 100644 --- a/tests/networks/utils/test_replace_module.py +++ b/tests/networks/utils/test_replace_module.py @@ -71,7 +71,7 @@ def test_replace(self, name, strict_match, match_device, device): # all replaced modules should be ReLU for r in replaced: self.assertIsInstance(r[1], torch.nn.ReLU) - # if a specfic module was named, check that the name matches exactly + # if a specific module was named, check that the name matches exactly if name == "features.denseblock1.denselayer1.layers.relu1": self.assertEqual(replaced[0][0], name) From ca5c41336afe37a565c5a5446410c1042e27da49 Mon Sep 17 00:00:00 2001 From: vikasreddy11 Date: Tue, 12 May 2026 15:26:03 +0530 Subject: [PATCH 4/4] fixed typo referece to reference in tests\handlers\test_handler_regression_metrics_dist.py --- tests/handlers/test_handler_regression_metrics_dist.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/handlers/test_handler_regression_metrics_dist.py b/tests/handlers/test_handler_regression_metrics_dist.py index 98c1b373c6..e9c32eec95 100644 --- a/tests/handlers/test_handler_regression_metrics_dist.py +++ b/tests/handlers/test_handler_regression_metrics_dist.py @@ -94,7 +94,7 @@ def _val_func(engine, batch): out_tensor = metric.compute() - # do numpy functions to get ground truth referece + # do numpy functions to get ground truth reference out_tensor_np1 = msemetric_np(y_pred=in_tensor_a1.cpu().numpy(), y=in_tensor_b1.cpu().numpy()) out_tensor_np2 = msemetric_np(y_pred=in_tensor_a2.cpu().numpy(), y=in_tensor_b2.cpu().numpy()) out_tensor_np = (out_tensor_np1 + out_tensor_np2) / 2.0 @@ -140,7 +140,7 @@ def _val_func(engine, batch): out_tensor = metric.compute() - # do numpy functions to get ground truth referece + # do numpy functions to get ground truth reference out_tensor_np1 = maemetric_np(y_pred=in_tensor_a1.cpu().numpy(), y=in_tensor_b1.cpu().numpy()) out_tensor_np2 = maemetric_np(y_pred=in_tensor_a2.cpu().numpy(), y=in_tensor_b2.cpu().numpy()) out_tensor_np = (out_tensor_np1 + out_tensor_np2) / 2.0 @@ -186,7 +186,7 @@ def _val_func(engine, batch): out_tensor = metric.compute() - # do numpy functions to get ground truth referece + # do numpy functions to get ground truth reference out_tensor_np1 = rmsemetric_np(y_pred=in_tensor_a1.cpu().numpy(), y=in_tensor_b1.cpu().numpy()) out_tensor_np2 = rmsemetric_np(y_pred=in_tensor_a2.cpu().numpy(), y=in_tensor_b2.cpu().numpy()) out_tensor_np = (out_tensor_np1 + out_tensor_np2) / 2.0 @@ -233,7 +233,7 @@ def _val_func(engine, batch): out_tensor = metric.compute() - # do numpy functions to get ground truth referece + # do numpy functions to get ground truth reference out_tensor_np1 = psnrmetric_np(max_val=max_val, y_pred=in_tensor_a1.cpu().numpy(), y=in_tensor_b1.cpu().numpy()) out_tensor_np2 = psnrmetric_np(max_val=max_val, y_pred=in_tensor_a2.cpu().numpy(), y=in_tensor_b2.cpu().numpy()) out_tensor_np = (out_tensor_np1 + out_tensor_np2) / 2.0