You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor test setup with temporary directories - #95
Introduce temporary directories for test artifacts and streamline the end-to-end test setup. This change enhances test isolation and reduces clutter in the main directory.
Summary by CodeRabbit
Tests
Updated end-to-end test setup to use shared temporary folders for generated data and model artifacts.
Improved file-path handling for saved and loaded training state files.
Simplified test code by moving data-generation helpers into reusable fixtures.
Marked one end-to-end test as slow and documented how to exclude slow tests during test runs.
@cpaniaguam this test-tempdir refactor has conflicted with main since July. Rebase if it is still wanted, otherwise close; the test layout has moved on since. @digicosmos86 is requested as reviewer.
@copilot resolve the merge conflicts in this pull request
Merged main, resolved the pyproject.toml marker conflict while retaining both markers, and addressed the workflow-permissions alert. Merge commit: 6ee01fc; permissions fix: dc4c3e8.
Pass parameterized network type to prevent OPN mislabeling
tests/test_end_to_end_jax.py:150
The OPN case is still deliberately mapped to cpn, so this end-to-end test writes and reloads an OPN model under the wrong network identity. ModelTrainerJaxMLP.train_and_evaluate supports network_type specifically because logits cannot distinguish CPN from OPN, and tests/test_run_identity.py:311-322 documents that the fallback is the legacy mislabeling. Pass the parameterized type to the trainer and use it in the expected state filename.
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
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.
Introduce temporary directories for test artifacts and streamline the end-to-end test setup. This change enhances test isolation and reduces clutter in the main directory.
Summary by CodeRabbit