Skip to content

Add MEM-QKF batch update mode#2037

Merged
FlorianPfaff merged 3 commits into
mainfrom
codex/memqkf-batch-update
May 12, 2026
Merged

Add MEM-QKF batch update mode#2037
FlorianPfaff merged 3 commits into
mainfrom
codex/memqkf-batch-update

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • Adds update_mode="sequential"|"batch" to MEMQKFTracker.
  • Keeps sequential updates as the default to preserve existing behavior.
  • Adds a batch mode that performs one centroid-based kinematic update and then reuses the existing sequential quadratic extent updates.
  • Adds focused tests for invalid modes, centroid kinematic behavior, and multi-measurement behavior differences.

Validation

  • PYTHONPATH=src python -m pytest tests\filters\test_mem_qkf_tracker.py -> 15 passed
  • python -m ruff check src\pyrecest\filters\mem_qkf_tracker.py tests\filters\test_mem_qkf_tracker.py -> passed
  • git diff --check -> passed

Note

  • Full poetry install --with dev on Windows still fails on optional healpy native build dependencies (cfitsio/pkg-config), unrelated to this MEM-QKF change.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 27.97s
✅ JSON prettier 2 0 0 0 0.45s
✅ JSON v8r 2 0 0 2.35s
✅ MARKDOWN markdownlint 28 0 0 0 1.27s
✅ MARKDOWN markdown-table-formatter 28 0 0 0 0.34s
✅ PYTHON bandit 535 0 0 8.4s
✅ PYTHON black 535 0 0 0 12.12s
✅ PYTHON flake8 535 0 0 4.49s
✅ PYTHON isort 535 1 0 0 0.94s
✅ PYTHON mypy 535 0 0 6.49s
✅ PYTHON pylint 535 0 0 122.38s
✅ PYTHON ruff 535 1 0 0 0.08s
✅ REPOSITORY checkov yes no no 21.15s
✅ REPOSITORY gitleaks yes no no 9.3s
✅ REPOSITORY git_diff yes no no 0.03s
✅ REPOSITORY secretlint yes no no 9.48s
✅ REPOSITORY syft yes no no 4.49s
✅ REPOSITORY trivy-sbom yes no no 3.4s
✅ REPOSITORY trufflehog yes no no 21.64s
✅ YAML prettier 5 0 0 0 0.45s
✅ YAML v8r 5 0 0 4.91s
✅ YAML yamllint 5 0 0 0.53s

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_RUFF,COPYPASTE_JSCPD,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@FlorianPfaff FlorianPfaff marked this pull request as ready for review May 12, 2026 17:23
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

Test Results

    12 files  +     9      12 suites  +9   2h 24m 35s ⏱️ + 2h 10m 27s
 1 590 tests +     4   1 590 ✅ +     6      0 💤  -     2  0 ❌ ±0 
19 540 runs  +14 602  15 500 ✅ +10 568  4 040 💤 +4 034  0 ❌ ±0 

Results for commit 797acbe. ± Comparison against base commit 8aa7b80.

♻️ This comment has been updated with latest results.

@FlorianPfaff FlorianPfaff merged commit 6a8d865 into main May 12, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant