Skip to content

Commit 84547f2

Browse files
committed
Clarify terms in messages and comments
1 parent 23d1833 commit 84547f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

delphi/tests/direct_pca_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"""
33
Direct test of PCA implementation with real data.
44
This script processes the real data files and runs the PCA implementation directly.
5+
By directly we mean: not through the Conversation class, but by calling the PCA fuinctions.
6+
To that effect, this test does duplicate the `load_votes()` logic from Conversation.
57
"""
68

79
import os
@@ -137,7 +139,9 @@ def test_pca_implementation(dataset_name: str) -> None:
137139
count = np.sum(labels == i)
138140
print(f"Cluster {i+1}: {count} participants")
139141

140-
print("PCA implementation is WORKING CORRECTLY with real data")
142+
# By "working correclty" we mean: the code runs without error.
143+
# However there is no check on the actual correctness of the PCA results here.
144+
print("PCA implementation RUNS WITHOUT RAISING ANY ERROR with real data")
141145

142146
except Exception as e:
143147
print(f"Error during PCA: {e}")

0 commit comments

Comments
 (0)