Skip to content

Add Euclidean boxed particle filter#2023

Merged
FlorianPfaff merged 3 commits into
mainfrom
codex/add-boxed-particle-filter
May 11, 2026
Merged

Add Euclidean boxed particle filter#2023
FlorianPfaff merged 3 commits into
mainfrom
codex/add-boxed-particle-filter

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • Add EuclideanBoxedParticleFilter / BoxedParticleFilter as a point-particle boxed-PF variant, distinct from the existing box-particle filter.
  • Keep the filter state as a LinearDiracDistribution; boxes are used as proposal/support regions for generation, gating, and updates.
  • Support boxed generation via uniform sampling, accept/resample from in-box particles, upsampling from a proposal, inscribed Gaussian sampling, and reweighting by a box constraint.
  • Add tests covering point-particle state, uniform generation, accept/resample generation, proposal upsampling, inscribed Gaussian generation, identity-box gating, and nonlinear boxed prediction.

Validation

  • Syntax-checked the new module and test file locally with python -m py_compile.
  • Not run locally: full repository dependencies are not available in this execution environment.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 11, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 17.99s
✅ JSON prettier 2 0 0 0 0.44s
✅ JSON v8r 2 0 0 2.44s
✅ MARKDOWN markdownlint 28 0 0 0 1.25s
✅ MARKDOWN markdown-table-formatter 28 0 0 0 0.25s
✅ PYTHON bandit 521 0 0 7.83s
✅ PYTHON black 521 1 0 0 13.04s
✅ PYTHON flake8 521 0 0 4.58s
✅ PYTHON isort 521 1 0 0 0.81s
✅ PYTHON mypy 521 0 0 6.18s
✅ PYTHON pylint 521 0 0 107.58s
✅ PYTHON ruff 521 1 0 0 0.09s
✅ REPOSITORY checkov yes no no 19.51s
✅ REPOSITORY gitleaks yes no no 10.94s
✅ REPOSITORY git_diff yes no no 0.07s
✅ REPOSITORY secretlint yes no no 10.01s
✅ REPOSITORY syft yes no no 3.18s
✅ REPOSITORY trivy-sbom yes no no 3.44s
✅ REPOSITORY trufflehog yes no no 20.93s
✅ YAML prettier 5 0 0 0 0.49s
✅ YAML v8r 5 0 0 4.7s
✅ YAML yamllint 5 0 0 0.43s

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 merged commit 1d9a8a7 into main May 11, 2026
18 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