feat(KMR): add end-to-end integration tests for models#2
Merged
piotrlaczkowski merged 9 commits intomainfrom Oct 30, 2025
Merged
Conversation
…d Terminator models - Introduced comprehensive integration tests for Autoencoder, SFNEBlock, and TerminatorModel, covering workflows with and without KDP preprocessing. - Each test validates model training, prediction accuracy, and serialization. - Implemented error handling tests for invalid input data and performance tests with larger datasets. - Enhanced documentation within test files to clarify testing procedures and expectations.
- Moved the `extend-unsafe-fixes` setting to the lint section in `ruff.toml` for better organization. - Updated per-file ignores to specify patterns for test files, enhancing linting accuracy. - Reformatted code in various files for consistency, including adjustments to whitespace and line breaks. - Improved readability of test functions and model definitions by standardizing formatting across the codebase.
- Updated `ruff.toml` to include additional linting rules for test files, improving code quality checks. - Reformatted multiple Python files to ensure consistent whitespace and line breaks, enhancing readability. - Adjusted function signatures and argument formatting across various test and model files for better clarity. - Improved overall code organization and maintainability through consistent formatting practices.
- Expanded per-file ignores in `ruff.toml` for test, example, script, and experimental files to include additional linting rules, enhancing code quality checks. - Adjusted formatting in `test_terminator_e2e.py` for improved readability by modifying argument placement in the `model.predict` call.
- Removed unnecessary whitespace in `__init__.py` and `autoencoder.py` to enhance code readability. - Ensured consistent formatting across files for better maintainability.
- Updated instance variable declarations in multiple layers to include type annotations for better clarity and type safety. - Added validation checks in various layers to ensure they are properly built before use, improving error handling and robustness. - Refactored the documentation and comments for clarity and consistency across the codebase.
- Upgraded Poetry version from 1.8.3 to 2.1.2 in poetry.lock. - Added 'plotly' dependency in pyproject.toml for enhanced visualization capabilities. - Modified GitHub Actions workflows to ensure documentation builds only on the main branch and streamlined PR preview conditions. - Improved documentation deployment configurations for better clarity and efficiency.
- Added write permissions for contents, pull-requests, pages, and id-token in the PR_PREVIEW.yml workflow to enhance deployment capabilities and streamline preview generation.
- Updated the documentation workflow to include caching for Poetry dependencies and MkDocs builds, improving efficiency. - Introduced a new pre-commit workflow to enforce code quality checks on pull requests, including title validation and pre-commit hooks. - Added a comprehensive testing workflow with linting, type checking, and unit/integration tests for multiple Python versions, ensuring robust code quality. - Refactored layer classes to ensure they are built before use, enhancing error handling and stability.
|
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.
…d Terminator models