Skip to content

Add BinghamFilter and extend BinghamDistribution#1582

Open
Copilot wants to merge 4 commits intomainfrom
copilot/task-6773539-619802082-182b67f4-5e48-4bb6-856d-357c58b7edba
Open

Add BinghamFilter and extend BinghamDistribution#1582
Copilot wants to merge 4 commits intomainfrom
copilot/task-6773539-619802082-182b67f4-5e48-4bb6-856d-357c58b7edba

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

  • Implement mode() method in BinghamDistribution
  • Implement sample_deterministic() method in BinghamDistribution
  • Implement _right_mult_matrix() static method in BinghamDistribution
  • Implement compose() method in BinghamDistribution
  • Implement fit_to_moment() static method in BinghamDistribution
  • Add 2D (circle S^1) support to calculate_F() in BinghamDistribution
  • Add BinghamFilter class with predict/update methods
  • Add BinghamFilter to filters/__init__.py
  • Add tests for BinghamFilter (2D and 4D)
  • Apply black formatting to all 3 new files
  • Fix pylint W0613: rename spread to _spread (unused-argument)
  • Verify CI passes (tests + linting)

Agent-Logs-Url: https://github.com/FlorianPfaff/PyRecEst/sessions/832598ea-6bc3-4b69-b462-9a82f62bd684

Co-authored-by: FlorianPfaff <6773539+FlorianPfaff@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 7.64s
✅ JSON prettier 2 0 0 0 0.45s
✅ JSON v8r 2 0 0 2.83s
✅ MARKDOWN markdownlint 1 0 0 0 0.67s
✅ MARKDOWN markdown-table-formatter 1 0 0 0 0.26s
✅ PYTHON bandit 249 0 0 3.02s
✅ PYTHON black 249 0 0 0 4.44s
✅ PYTHON flake8 249 0 0 1.71s
✅ PYTHON isort 249 2 0 0 0.49s
✅ PYTHON mypy 249 0 0 4.04s
✅ PYTHON pylint 249 0 0 71.82s
✅ PYTHON ruff 249 2 0 0 0.04s
✅ REPOSITORY checkov yes no no 21.84s
✅ REPOSITORY gitleaks yes no no 4.05s
✅ REPOSITORY git_diff yes no no 0.03s
✅ REPOSITORY secretlint yes no no 5.63s
✅ REPOSITORY syft yes no no 3.15s
✅ REPOSITORY trivy-sbom yes no no 1.7s
✅ REPOSITORY trufflehog yes no no 17.84s
✅ YAML prettier 4 0 0 0 0.49s
✅ YAML v8r 4 0 0 5.7s
✅ YAML yamllint 4 0 0 0.44s

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

auto-merge was automatically disabled March 31, 2026 19:23

Head branch was pushed to by a user without write access

@FlorianPfaff FlorianPfaff enabled auto-merge March 31, 2026 19:32
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 31, 2026

Test Results

0 files   -    12  0 suites   - 12   0s ⏱️ - 3h 6m 13s
0 tests  -   533  0 ✅  -   533  0 💤 ±    0  0 ❌ ±0 
0 runs   - 6 608  0 ✅  - 5 432  0 💤  - 1 176  0 ❌ ±0 

Results for commit c0c0b33. ± Comparison against base commit f5c0f75.

♻️ This comment has been updated with latest results.

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.

2 participants