Interpretation tests and pipeline updates#71
Merged
Conversation
This reverts commit 84c89c8.
Add pytest
…re-python-consistency test: ensure numba jit matches python
…re-python-consistency-qt0w9n test: ensure numba jit matches python
…re-python-consistency-urffdi test: ensure numba jit matches python
…h-coverage-in-_ground_rule test: expand _ground_rule coverage
Lab v2 main
Update FPO code
…rpretation.py-branches Add tests for interpretation branch coverage
Upd naming of old interp tests
Remove non-test related changes
…ation-methods Add tests for Interpretation neighbor init and start_fp wrapper
Remove unrelated changes
Add cache status back
…tation_functions.py Add annotation function tests with full coverage
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive unit tests for the interpretation modules and updates the testing pipeline to ensure consistent behavior between JIT and pure Python implementations.
- Adds unit tests for
interpretation.pyandinterpretation_fp.pytargeting 99% branch coverage - Introduces functional and unit tests to verify consistency between numba JIT and pure Python execution
- Reorganizes test structure with dedicated functional test directory
Reviewed Changes
Copilot reviewed 22 out of 29 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/unit/dont_disable_jit/test_numba_consistency.py | Tests JIT/Python consistency for core interpretation functions |
| tests/unit/disable_jit/test_annotation_functions.py | Unit tests for annotation functions module |
| tests/unit/disable_jit/interpretations/ | Comprehensive unit tests covering interpretation logic with high branch coverage |
| tests/functional/ | Existing tests moved to functional directory with updated paths |
| contributing.md | New contributor guide with setup and testing instructions |
| .pre-commit-config.yaml | Pre-commit hooks for automated testing |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Fix flake8 linting
Upd pytest unit tests
Add other test suites
Modify Open Command to be OS agnostic
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.
This PR: