Skip to content

Add association hypothesis and gating helpers#2016

Merged
FlorianPfaff merged 8 commits intomainfrom
add-association-hypotheses
May 10, 2026
Merged

Add association hypothesis and gating helpers#2016
FlorianPfaff merged 8 commits intomainfrom
add-association-hypotheses

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • Add a small data-oriented AssociationHypothesis representation for track/measurement scores.
  • Add reusable NIS, cost-threshold, probability-threshold, and top-k gates.
  • Add linear-Gaussian hypothesis generation with innovation, innovation covariance, NIS, and log-likelihood diagnostics.
  • Add conversion helpers from hypotheses to cost, log-likelihood, and probability matrices.
  • Add a TrackManager-compatible linear-Gaussian hypothesis associator built on the existing global-nearest-neighbor assignment utility.
  • Export the helpers from pyrecest.filters and document them in the API overview.
  • Add focused regression tests for Gaussian hypotheses, gating, cost-matrix conversion, and assignment.

Validation

Not run locally in this connector environment.

Notes

This intentionally avoids a large tracking-framework hierarchy. The goal is to standardize hypothesis diagnostics and gating while reusing existing PyRecEst association and TrackManager machinery.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 10, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 33.52s
✅ JSON prettier 2 0 0 0 0.42s
✅ JSON v8r 2 0 0 2.48s
✅ MARKDOWN markdownlint 28 0 0 0 1.29s
✅ MARKDOWN markdown-table-formatter 28 0 0 0 0.39s
✅ PYTHON bandit 519 0 0 8.45s
✅ PYTHON black 519 8 0 0 14.02s
✅ PYTHON flake8 519 0 0 4.81s
✅ PYTHON isort 519 10 0 0 0.96s
✅ PYTHON mypy 519 0 0 6.38s
✅ PYTHON pylint 519 0 0 114.74s
✅ PYTHON ruff 519 10 0 0 0.1s
✅ REPOSITORY checkov yes no no 22.84s
✅ REPOSITORY gitleaks yes no no 7.81s
✅ REPOSITORY git_diff yes no no 0.07s
✅ REPOSITORY secretlint yes no no 9.77s
✅ REPOSITORY syft yes no no 4.35s
✅ REPOSITORY trivy-sbom yes no no 3.84s
✅ REPOSITORY trufflehog yes no no 21.04s
✅ YAML prettier 5 0 0 0 0.54s
✅ YAML v8r 5 0 0 5.0s
✅ YAML yamllint 5 0 0 0.47s

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 10, 2026

Test Results

     8 files  +     8       8 suites  +8   1h 9m 38s ⏱️ + 1h 9m 38s
 1 537 tests + 1 537   1 536 ✅ + 1 536      1 💤 +    1  0 ❌ ±0 
12 664 runs  +12 664  11 596 ✅ +11 596  1 068 💤 +1 068  0 ❌ ±0 

Results for commit f95ae9a. ± Comparison against base commit 6df9071.

♻️ This comment has been updated with latest results.

@FlorianPfaff FlorianPfaff merged commit 62d80eb into main May 10, 2026
16 of 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