Testing/kalman core - #125
Merged
Merged
Conversation
- Add pytest configuration with markers (unit, integration, slow, benchmark, property, numerical) - Add testing_utils package with: - fixtures.py: Reusable Kalman filter configurations (KF, EKF, UKF) - numerical.py: Analytical solutions (ConstantVelocity, ConstantAcceleration, LinearSystem) - helpers.py: Test assertion utilities (PSD, symmetry, stability, convergence) - Add conftest.py with fixture re-exports and pytest plugins - Update pyproject.toml with dev dependencies and coverage configuration - Add TESTING_PLAN.md with 6-branch testing strategy and 400-550 test goals - Add coverage and benchmark test infrastructure
- Add test-coverage.yml workflow for CI/CD with coverage reporting - Support testing on Python 3.9, 3.10, 3.11, 3.12 - Include performance benchmarking and code quality checks - Add TESTING.md user guide for running tests and using utilities
- Add 28 comprehensive tests for KalmanFilter covering: - Analytical solutions: constant velocity, acceleration, 2D tracking - Property-based invariants: covariance symmetry, PSD, finiteness - Edge cases: zero noise, outliers, dimension mismatches, extreme values - Numerical stability: 100/1000 iteration runs, ill-conditioned systems - Tests use Hypothesis for property-based testing with fixtures - All tests pass and validate filter correctness and robustness
…ts and use latest action versions - Update Python test matrix from 3.9-3.12 to 3.11-3.12 to match project's requires-python >= 3.11 - Upgrade actions/upload-artifact from v3 to v4 (fixes deprecation warning) - Upgrade codecov/codecov-action from v3 to v4 - Update all actions/setup-python from v4 to v5 for consistency and latest features - These changes resolve CI failures in the Test Coverage and Quality workflow
This setting allows coverage to properly handle file paths across different environments, resolving the 'No source for code' error in CI workflows.
Contributor
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||
Resolve conflicts by combining dev dependencies: - Keep testing-specific dependencies from testing/kalman-core (hypothesis, pytest-benchmark, pytest-xdist, pytest-mpl) - Add zuban from master for type checking support - Include TYPE_ANNOTATIONS.md guide from master - Remove UPSTREAM_ISSUES.md as done on master
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.
No description provided.