Skip to content

Add Student-t covariance scaling helper#1988

Merged
FlorianPfaff merged 3 commits into
mainfrom
backport-student-t-covariance-scale
May 8, 2026
Merged

Add Student-t covariance scaling helper#1988
FlorianPfaff merged 3 commits into
mainfrom
backport-student-t-covariance-scale

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • add student_t_covariance_scale(...) next to the existing Huber covariance scaling helper
  • export the helper from pyrecest.filters
  • add focused tests for formula agreement, inlier clamping, vectorized NIS inputs, and argument validation

Notes

  • this is the minimal PyRecEst backport of the reusable Student-t covariance scaling used by the RaFT-UAV robust-update work
  • no RaFT-UAV-specific tracking, CLI, or experiment code is included

Tests

  • not run here; container DNS cannot reach GitHub to install/clone dependencies
  • intended targeted test: python -m pytest tests/test_linear_gaussian_robust.py

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 17.84s
✅ JSON prettier 2 0 0 0 0.47s
✅ JSON v8r 2 0 0 2.37s
✅ MARKDOWN markdownlint 28 0 0 0 1.37s
✅ MARKDOWN markdown-table-formatter 28 0 0 0 0.39s
✅ PYTHON bandit 496 0 0 7.63s
✅ PYTHON black 496 0 0 0 11.96s
✅ PYTHON flake8 496 0 0 4.38s
✅ PYTHON isort 496 2 0 0 0.92s
✅ PYTHON mypy 496 0 0 6.17s
✅ PYTHON pylint 496 0 0 108.68s
✅ PYTHON ruff 496 2 0 0 0.09s
✅ REPOSITORY checkov yes no no 24.63s
✅ REPOSITORY gitleaks yes no no 13.62s
✅ REPOSITORY git_diff yes no no 0.07s
✅ REPOSITORY secretlint yes no no 8.32s
✅ REPOSITORY syft yes no no 3.28s
✅ REPOSITORY trivy-sbom yes no no 3.75s
✅ REPOSITORY trufflehog yes no no 22.2s
✅ YAML prettier 5 0 0 0 0.57s
✅ YAML v8r 5 0 0 5.37s
✅ YAML yamllint 5 0 0 0.48s

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 enabled auto-merge (squash) May 8, 2026 19:46
@FlorianPfaff FlorianPfaff disabled auto-merge May 8, 2026 19:46
@FlorianPfaff FlorianPfaff merged commit d0b173b into main May 8, 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