Conversation
…solated - tests/utils/test_utils.py: 24 tests for utility functions - tests/ml/models/test_losses.py: 11 tests for loss functions (2 skipped - DAMLoss bug) - tests/ml/models/test_torch_models.py: 11 tests for LogisticRegressor and MLP - tests/ml/training/test_federated.py: 7 tests for federated training - tests/ml/training/test_isolated.py: 8 tests for isolated training Total: 61 new tests (59 passing, 2 skipped)
- Subtract margin only from target class logit (not all logits) - Pass integer targets to cross_entropy (not float) - Enable previously skipped tests
… hyperparameter tuning - tests/ml/models/test_gnn_models.py: 18 tests for GCN, GAT, GraphSAGE - tests/ml/models/test_base.py: 17 tests for TorchBaseModel, SklearnBaseModel - tests/ml/training/test_hyperparameter_tuning.py: 14 tests for HyperparamTuner - tests/ml/training/test_centralized.py: 8 tests for centralized training - tests/ml/clients/test_sklearn_client.py: 12 tests for SklearnClient Total: 69 new tests (all passing)
Phase 3 (Torch clients & server): - tests/ml/clients/test_torch_client.py: 11 tests for TorchClient - tests/ml/clients/test_torch_geometric_client.py: 10 tests for TorchGeometricClient - tests/ml/servers/test_torch_server.py: 18 tests for TorchServer Phase 4 (Data creation & config): - tests/data_creation/unit/test_generator.py: 19 tests for DataGenerator - tests/utils/test_config.py: 12 additional tests for config loaders Total: 70 new tests, bringing unit test count to 494.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve coverage