-
Notifications
You must be signed in to change notification settings - Fork 27
Interpretation tests and pipeline updates #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 PR: