Skip to content

Fix Python PCA test harness interface#217

Merged
SauersML merged 1 commit intomainfrom
codex/fix-failing-tests-in-pca_tests
Sep 24, 2025
Merged

Fix Python PCA test harness interface#217
SauersML merged 1 commit intomainfrom
codex/fix-failing-tests-in-pca_tests

Conversation

@SauersML
Copy link
Owner

Summary

  • teach the Python reference script to accept both --n-components and --n_components
  • replicate the crate's centering and sample-standard-deviation scaling inside the Python helper
  • reuse the shared preprocessing in both the manual and library PCA code paths used by the tests

Testing

  • cargo test pca_tests::test_pca_2x2 --test pca_tests

https://chatgpt.com/codex/tasks/task_e_68d362ccd098832e9df3e619b7f067db

@SauersML SauersML merged commit 9af882d into main Sep 24, 2025
0 of 5 checks passed
@SauersML SauersML deleted the codex/fix-failing-tests-in-pca_tests branch September 24, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant