Skip to content

Add ellipse geometry utilities#2552

Merged
FlorianPfaff merged 3 commits into
mainfrom
codex/pyrecest-ellipse-geometry-utilities-20260606
Jun 7, 2026
Merged

Add ellipse geometry utilities#2552
FlorianPfaff merged 3 commits into
mainfrom
codex/pyrecest-ellipse-geometry-utilities-20260606

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

@FlorianPfaff FlorianPfaff commented Jun 6, 2026

Pull request

Summary

  • Added shared ellipse geometry conversion and canonicalization helpers.
  • Exported the new tracking utilities.
  • Added coverage for geometry conversion, canonicalization, and covariance projection.
  • Fixed CI test failures on PyTorch backends by updating the axis-swap test to pass a copied reversed array (axes[::-1].copy()), avoiding negative-stride array issues.

Checklist

  • Tests were added or updated.
  • Backend limitations were documented or added to src/pyrecest/_backend/capabilities.py.
  • Shape, dtype, and measurement-set conventions were checked against docs/conventions.md.
  • New user-facing failures use clear messages or shared exceptions from pyrecest.exceptions.
  • Public examples and docs were updated when relevant.
  • Performance-sensitive changes were checked against benchmarks/basic_regressions.py or a focused benchmark.
  • python scripts/check_release_consistency.py --local-only passes when release metadata changed.
  • The package smoke path still works: python -m build, twine check dist/*, install wheel, run a basic example.

@FlorianPfaff FlorianPfaff enabled auto-merge (squash) June 6, 2026 21:26
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 6, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 46.02s
✅ JSON prettier 7 0 0 0 0.94s
✅ JSON v8r 7 0 0 4.94s
✅ MARKDOWN markdownlint 68 0 0 0 1.77s
✅ MARKDOWN markdown-table-formatter 68 0 0 0 0.68s
✅ PYTHON black 826 4 0 0 47.17s
✅ PYTHON isort 826 6 0 0 2.2s
✅ REPOSITORY checkov yes no no 43.18s
✅ REPOSITORY gitleaks yes no no 13.54s
✅ REPOSITORY git_diff yes no no 0.12s
✅ REPOSITORY secretlint yes no no 25.8s
✅ REPOSITORY syft yes no no 5.52s
✅ REPOSITORY trivy-sbom yes no no 6.65s
✅ REPOSITORY trufflehog yes no no 23.17s
✅ YAML prettier 11 0 0 0 0.66s
✅ YAML v8r 11 0 0 10.29s
✅ YAML yamllint 11 0 0 0.48s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

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.5.0 --custom-flavor-setup --custom-flavor-linters PYTHON_BLACK,PYTHON_ISORT,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
Copy link
Copy Markdown
Owner Author

@copilot Fix CI/CD tests

auto-merge was automatically disabled June 7, 2026 07:20

Head branch was pushed to by a user without write access

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 7, 2026

@copilot Fix CI/CD tests

Fixed in 5f2651a. I updated the failing test to use axes[::-1].copy() so it no longer passes a negative-stride array to the pytorch backend conversion path.

@FlorianPfaff FlorianPfaff merged commit 25cbede into main Jun 7, 2026
26 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.

2 participants