Skip to content

Add sliding-window manifold mean smoother#1904

Merged
FlorianPfaff merged 7 commits intomainfrom
codex/sliding-window-manifold-mean-smoother
Apr 28, 2026
Merged

Add sliding-window manifold mean smoother#1904
FlorianPfaff merged 7 commits intomainfrom
codex/sliding-window-manifold-mean-smoother

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • add SlidingWindowManifoldMeanSmoother for local mean smoothing on PyRecEst manifolds
  • infer common manifold-aware Dirac distributions from distribution inputs, with an explicit factory hook for raw non-Euclidean samples
  • cover centered/trailing windows, circular wraparound, distribution-based manifold inference, and weighted edge windows

Validation

  • PYTHONPATH=src python -m pytest tests/smoothers/test_sliding_window_manifold_mean_smoother.py -q
  • PYTHONPATH=src python -m pytest tests/smoothers -q
  • python -m ruff check src/pyrecest/smoothers/sliding_window_manifold_mean_smoother.py tests/smoothers/test_sliding_window_manifold_mean_smoother.py

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 18.0s
✅ JSON prettier 2 0 0 0 0.63s
✅ JSON v8r 2 0 0 7.31s
✅ MARKDOWN markdownlint 16 0 0 0 1.13s
✅ MARKDOWN markdown-table-formatter 16 1 0 0 0.26s
✅ PYTHON bandit 425 0 0 6.46s
✅ PYTHON black 425 4 0 0 10.23s
✅ PYTHON flake8 425 0 0 3.73s
✅ PYTHON isort 425 7 0 0 0.8s
✅ PYTHON mypy 425 0 0 5.73s
✅ PYTHON pylint 425 0 0 134.39s
✅ PYTHON ruff 425 7 0 0 0.08s
✅ REPOSITORY checkov yes no no 24.3s
✅ REPOSITORY gitleaks yes no no 7.4s
✅ REPOSITORY git_diff yes no no 0.05s
✅ REPOSITORY secretlint yes no no 7.91s
✅ REPOSITORY syft yes no no 7.03s
✅ REPOSITORY trivy-sbom yes no no 3.6s
✅ REPOSITORY trufflehog yes no no 19.81s
✅ YAML prettier 5 0 0 0 0.51s
✅ YAML v8r 5 0 0 10.85s
✅ YAML yamllint 5 0 0 0.5s

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 April 28, 2026 11:51
@github-actions
Copy link
Copy Markdown
Contributor

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit fb3ed78.

@FlorianPfaff FlorianPfaff enabled auto-merge (squash) April 28, 2026 13:17
@FlorianPfaff FlorianPfaff merged commit 48b4243 into main Apr 28, 2026
19 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